Skip to content

Commit e323739

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 81661e7 + 6a87171 commit e323739

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/src/main/kotlin/cc/unitmesh/devti/llm2/LLMProvider2.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ abstract class LLMProvider2 protected constructor(
137137
return SessionMessageItem(Message("system", "response body is null"))
138138
} else {
139139
val content = body.string()
140-
println("response: $content")
140+
logger.info("response: $content")
141141
val result: String = runCatching<String> {
142142
val result: String? = JsonPath.parse(content)?.read(responseResolver)
143143
result ?: throw java.lang.IllegalStateException("cannot parse with responseResolver: ${responseResolver}, ori data: $content")

core/src/main/kotlin/cc/unitmesh/devti/llm2/model/CopilotModels.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ data class CopilotModel(
3939
"temperature": 0.0,
4040
"stream": true,
4141
"headers": {
42-
"Editor-Version": "Zed/Unknow",
42+
"Editor-Version": "Zed/Unknown",
4343
"Copilot-Integration-Id": "vscode-chat"
4444
}
4545
}

0 commit comments

Comments
 (0)