File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
core/src/main/kotlin/cc/unitmesh/devti/llm2 Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ abstract class LLMProvider2 protected constructor(
137
137
return SessionMessageItem (Message (" system" , " response body is null" ))
138
138
} else {
139
139
val content = body.string()
140
- println (" response: $content " )
140
+ logger.info (" response: $content " )
141
141
val result: String = runCatching<String > {
142
142
val result: String? = JsonPath .parse(content)?.read(responseResolver)
143
143
result ? : throw java.lang.IllegalStateException (" cannot parse with responseResolver: ${responseResolver} , ori data: $content " )
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ data class CopilotModel(
39
39
"temperature": 0.0,
40
40
"stream": true,
41
41
"headers": {
42
- "Editor-Version": "Zed/Unknow ",
42
+ "Editor-Version": "Zed/Unknown ",
43
43
"Copilot-Integration-Id": "vscode-chat"
44
44
}
45
45
}
You can’t perform that action at this time.
0 commit comments