Skip to content

Commit 6a87171

Browse files
ipttonCopilot
andauthored
fix: logger info
Co-authored-by: Copilot <[email protected]>
1 parent 2f7a555 commit 6a87171

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
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")

0 commit comments

Comments
 (0)