chore(log): 调整LLM相关日志级别为DEBUG

将LLM原始提示词和响应的日志级别从`INFO`调整为`DEBUG`。

此举旨在减少非调试模式下的日志输出,避免过长的模型交互内容刷屏,从而保持日志的整洁性,仅在需要时提供详细的调试信息。
This commit is contained in:
tt-P607
2025-10-23 20:07:51 +08:00
parent 5b29399d94
commit 10f56a8bc1
2 changed files with 3 additions and 2 deletions

View File

@@ -961,6 +961,7 @@ class LLMRequest:
)
await self._record_usage(model_info, response.usage, time.time() - start_time, "/chat/completions")
logger.debug(f"LLM原始响应: {response.content}")
if not response.content and not response.tool_calls:
if raise_when_empty: