fix: enable anthropic agent mode for tooling requests
Use agent ask_mode for Anthropic messages with tooling context so tool/write flows are executed, and add regression coverage plus docs/env updates for TOOL_FORWARD_ENABLED. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -46,6 +46,9 @@ DEFAULT_MODEL=org_auto
|
||||
# 默认模式:chat 或 agent
|
||||
DEFAULT_ASK_MODE=chat
|
||||
|
||||
# 请求侧 tools/tool_choice 透传到 Lingma(默认关闭,开启后可支持工具写文件等场景)
|
||||
TOOL_FORWARD_ENABLED=false
|
||||
|
||||
# 专属域(可选)
|
||||
DEDICATED_DOMAIN_URL=
|
||||
|
||||
|
||||
Reference in New Issue
Block a user