更新日志
This commit is contained in:
@@ -191,7 +191,7 @@ class Agent:
|
|||||||
should_retry = True
|
should_retry = True
|
||||||
# 专门捕获部分翻译错误(软错误)
|
# 专门捕获部分翻译错误(软错误)
|
||||||
except PartialAgentResultError as e:
|
except PartialAgentResultError as e:
|
||||||
print(f"【测试】\nprompt:\n{prompt}\nresp:\n{result}")
|
# print(f"【测试】\nprompt:\n{prompt}\nresp:\n{result}")
|
||||||
self.logger.error(f"收到部分返回结果,将尝试重试: {e}")
|
self.logger.error(f"收到部分返回结果,将尝试重试: {e}")
|
||||||
current_partial_result = e.partial_result
|
current_partial_result = e.partial_result
|
||||||
should_retry = True
|
should_retry = True
|
||||||
|
|||||||
Reference in New Issue
Block a user