Skip to content

Commit

Permalink
disable plugin(tool) log printing
Browse files Browse the repository at this point in the history
  • Loading branch information
goldfishh committed Mar 10, 2024
1 parent 07e10a7 commit 283ad48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/tool/tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def _build_tool_kwargs(self, kwargs: dict):

return {
# 全局配置相关
"log": True, # tool 日志开关
"log": False, # tool 日志开关
"debug": kwargs.get("debug", False), # 输出更多日志
"no_default": kwargs.get("no_default", False), # 不要默认的工具,只加载自己导入的工具
"think_depth": kwargs.get("think_depth", 2), # 一个问题最多使用多少次工具
Expand Down

0 comments on commit 283ad48

Please sign in to comment.