Compare commits
No commits in common. "1b49c353ecd9d2b7a8400029f1deed452b702e67" and "6befae11fb80b07d93271474e1729d2e9baea955" have entirely different histories.
1b49c353ec
...
6befae11fb
@ -66,7 +66,7 @@ class LoggingCallbackHandler(BaseCallbackHandler):
|
||||
tool_name = 'unknown_tool'
|
||||
else:
|
||||
tool_name = serialized.get('name', 'unknown_tool')
|
||||
self.logger.info(f"🔧 Tool Start - {tool_name} with input: {str(input_str)[:600]}")
|
||||
self.logger.info(f"🔧 Tool Start - {tool_name} with input: {str(input_str)[:300]}")
|
||||
|
||||
def on_tool_end(self, output: str, **kwargs: Any) -> None:
|
||||
"""当工具调用结束时调用"""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user