This commit is contained in:
yzlin 2024-03-30 21:35:15 +08:00
parent 61dd80d12f
commit 95dc1eebf2
2 changed files with 7 additions and 2 deletions

View file

@ -38,7 +38,7 @@ def log_llm_stream(msg):
def log_tool_output(output: dict, tool_name: str = ""):
"""interface for logging tool output, can be set to log tool output in different ways to different places with set_tool_output_logfunc"""
_tool_output_log(output)
_tool_output_log(output, tool_name)
def set_llm_stream_logfunc(func):