mirror of
https://github.com/7836246/cursor2api.git
synced 2026-09-03 07:20:02 +08:00
docs: add passthrough option to config.yaml.example
This commit is contained in:
@@ -106,6 +106,14 @@ tools:
|
||||
# exclude:
|
||||
# - "some_mcp_tool"
|
||||
|
||||
# ★ 透传模式(推荐 Roo Code / Cline 等非 Claude Code 客户端开启)
|
||||
# true: 跳过 few-shot 注入和工具格式改写,直接将工具定义以原始 JSON 嵌入系统提示词
|
||||
# 减少与 Cursor 内建身份的提示词冲突,解决「只有 read_file/read_dir」的错误
|
||||
# 工具调用仍使用 ```json action``` 格式,响应解析不受影响
|
||||
# false: [默认] 使用标准模式(buildToolInstructions + 多类别 few-shot 注入)
|
||||
# Claude Code 推荐此模式,兼容性和工具调用覆盖率更好
|
||||
# passthrough: true
|
||||
|
||||
# ==================== 响应内容清洗(可选,默认关闭) ====================
|
||||
# 开启后,会将响应中 Cursor 相关的身份引用替换为 Claude
|
||||
# 例如 "I am Cursor's support assistant" → "I am Claude, an AI assistant by Anthropic"
|
||||
|
||||
Reference in New Issue
Block a user