fix: enable tool forwarding by default and add config regression tests
Switch TOOL_FORWARD_ENABLED default to true in runtime config and .env.example, and add regression tests covering default-on and explicit false behavior. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -46,8 +46,8 @@ DEFAULT_MODEL=org_auto
|
||||
# 默认模式:chat 或 agent
|
||||
DEFAULT_ASK_MODE=chat
|
||||
|
||||
# 请求侧 tools/tool_choice 透传到 Lingma(默认关闭,开启后可支持工具写文件等场景)
|
||||
TOOL_FORWARD_ENABLED=false
|
||||
# 请求侧 tools/tool_choice 透传到 Lingma(默认开启,可显式关闭)
|
||||
TOOL_FORWARD_ENABLED=true
|
||||
# 可选:允许透传的工具名白名单,逗号分隔;为空表示不额外限制
|
||||
TOOL_ALLOWLIST=
|
||||
|
||||
|
||||
Reference in New Issue
Block a user