fix: harden responses streaming and tool-call fallback
Ensure /v1/responses streams always terminate with response.completed and normalize Lingma tool_code fallbacks into structured tool calls, including single-argument forms. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -48,6 +48,8 @@ DEFAULT_ASK_MODE=chat
|
||||
|
||||
# 请求侧 tools/tool_choice 透传到 Lingma(默认关闭,开启后可支持工具写文件等场景)
|
||||
TOOL_FORWARD_ENABLED=false
|
||||
# 可选:允许透传的工具名白名单,逗号分隔;为空表示不额外限制
|
||||
TOOL_ALLOWLIST=
|
||||
|
||||
# 专属域(可选)
|
||||
DEDICATED_DOMAIN_URL=
|
||||
|
||||
Reference in New Issue
Block a user