fix: replace chinese comment with english version

This commit is contained in:
zhiyuanRen 2025-03-17 21:36:04 +08:00
parent 10ecc91e5e
commit 6dcd2ca064

View File

@ -27,7 +27,6 @@ from app.schema import (
ToolChoice,
)
REASONING_MODELS = ["o1", "o3-mini"]
@ -300,7 +299,7 @@ class LLM:
if not full_response:
raise ValueError("Empty response from streaming LLM")
# 对于流式响应估算completion tokens
# estimate completion tokens for streaming response
completion_tokens = self.count_tokens(completion_text)
logger.info(
f"Estimated completion tokens for streaming response: {completion_tokens}"