日期: 2026年5月31日

Cline deepai tool use xml context error.png

Cline 接入 DeepAI API 中转站:You did not use a tool 工具调用错误怎么排查Cline 接入 DeepAI API 中转站:You did not use a tool 工具调用错误怎么排查

Cline / Roo Code 类代码 Agent 通过 OpenAI-compatible Provider 接入中转站时,如果提示 You did not use a tool in your previous response,常见根因不是 Base URL,而是模型没有按 XML 工具格式输出、项目上下文过大或本地模型 context 太小。本文结合 Cline Issue #735,整理 DeepAI

Continue dev deepai openai compatible legacy completions.png

Continue.dev 接入 DeepAI API 中转站:Edit 和 Autocomplete 误走 /completions 怎么修Continue.dev 接入 DeepAI API 中转站:Edit 和 Autocomplete 误走 /completions 怎么修

Continue.dev 通过 OpenAI Provider 接入 API 中转站时,Chat 能正常请求 /chat/completions,但 Edit 和 Autocomplete 却请求旧 /completions 导致 405/404。本文结合 Continue Issue #3620,说明如何用 useLegacyCompletionsEndpoint:false 强制走 /chat/completions,并整理 DeepAI API 中转站场景下的排查方法。

N8n deepai tools agent cannot use tools with stream.png

n8n 接入 DeepAI API 中转站:Tools Agent 报 Cannot use tools with stream 怎么排查n8n 接入 DeepAI API 中转站:Tools Agent 报 Cannot use tools with stream 怎么排查

n8n AI Agent / Tools Agent 通过 OpenAI-compatible Chat Model 接入 API 中转站时,如果后端返回 Cannot use tools with stream,根因通常是工具调用链路带了 stream:true。本文结合 n8n Issue #13112 和 PR #16888,整理 DeepAI API 中转站场景下的定位、修复和验证方法。

Cherry studio deepai gpt image 2 response format error.png

Cherry Studio 接入 DeepAI API 中转站:gpt-image-2 报 Unknown parameter response_format 怎么修Cherry Studio 接入 DeepAI API 中转站:gpt-image-2 报 Unknown parameter response_format 怎么修

Cherry Studio 使用 OpenAI-compatible Provider 调用 gpt-image-2、gpt-image-1.5 等图像模型时,如果返回 400 Unknown parameter: response_format,通常不是 Key 或 Base URL 错,而是客户端给新图像模型多传了 response_format。本文结合 Cherry Studio Issue #14485 和 PR #14578,整理 DeepAI API 中转站场景下的排查和修复方法。

Cline cli deepai openai compatible base url.png

Cline CLI 接入 DeepAI API 中转站:OpenAI Compatible Base URL 怎么修改Cline CLI 接入 DeepAI API 中转站:OpenAI Compatible Base URL 怎么修改

Cline CLI 选择 OpenAI Compatible 后找不到入口修改 Base URL 怎么办?本文结合 Cline GitHub Issue #9656,整理 cline auth 修改 base_url、模型 ID、API Key 的实操命令,并说明接入 DeepAI API 中转站时如何验证路由、日志与常见 401/404 问题。

Dify deepai tool calling array schema missing items.png

Dify 接入 DeepAI API 中转站:Tool Calling 报 array schema missing items 怎么排查Dify 接入 DeepAI API 中转站:Tool Calling 报 array schema missing items 怎么排查

Dify 自定义工具接入 OpenAI 插件或 API 中转站时,如果 Tool Calling 报 invalid_function_parameters:array schema missing items,根因通常不是 Key 或 Base URL,而是工具 JSON Schema 的 array 参数缺少 items。本文结合 Dify GitHub Issue #32894 和 PR #33137,整理排查步骤、修复示例与

Openclaw deepai gemini tool call thought signature.png

OpenClaw 接入 DeepAI API 中转站:Gemini 工具调用 400 与 thought_signature 透传OpenClaw 接入 DeepAI API 中转站:Gemini 工具调用 400 与 thought_signature 透传

OpenClaw 通过 OpenAI-compatible 网关调用 Gemini 工具时,第一次 tool call 成功但回传 tool result 后 400,提示缺少 thought_signature 怎么办?本文结合 OpenClaw GitHub 已关闭 Issue,整理 DeepAI API 中转站、provider-specific metadata、tool_calls 和工具结果回传排查方法。

Hermes agent deepai max tokens context compression.png

Hermes Agent 接入 DeepAI API 中转站:max_tokens 400 与上下文压缩失败排查Hermes Agent 接入 DeepAI API 中转站:max_tokens 400 与上下文压缩失败排查

Hermes Agent 自动上下文压缩时,辅助模型请求因 max_tokens 参数被新模型拒绝并返回 400,导致 fallback context marker 和上下文丢失怎么办?本文结合 Hermes Agent GitHub 已关闭 Issue,整理 DeepAI API 中转站、多模型路由、max_completion_tokens 和辅助任务参数兼容排查方法。

N8n deepai tools agent bindtools tool calling.png

n8n 接入 DeepAI API 中转站:Tools Agent 提示模型不支持工具调用怎么排查n8n 接入 DeepAI API 中转站:Tools Agent 提示模型不支持工具调用怎么排查

n8n Tools Agent 使用 OpenAI-compatible Provider 时,模型明明支持 tool calling 却提示不支持 bindTools 怎么办?本文结合 n8n GitHub 已关闭 Issue,整理 DeepAI API 中转站、Chat Model、Base URL、多轮工具历史和 provider 兼容性排查方法。

Dify deepai custom embedding knowledge base empty.png

Dify 接入 DeepAI API 中转站:自定义 Embedding 后知识库为空怎么排查Dify 接入 DeepAI API 中转站:自定义 Embedding 后知识库为空怎么排查

Dify 自托管使用 OpenAI-compatible Embedding Provider 时,API 手动测试成功但知识库处理后为空怎么办?本文结合 Dify GitHub 已关闭 Issue,整理 DeepAI API 中转站、Docker 网络、默认 LLM、分段长度和 documents 表错误排查方法。

Cherry studio deepai pdf file data base64.png

Cherry Studio 接入 DeepAI API 中转站:PDF file_data 的 Data URL 前缀与 Base64 解码排查Cherry Studio 接入 DeepAI API 中转站:PDF file_data 的 Data URL 前缀与 Base64 解码排查

Cherry Studio 通过 OpenAI-compatible API 上传 PDF 后文件损坏怎么办?本文结合 Cherry Studio GitHub 已关闭 Issue,说明 Data URL 前缀、纯 Base64、file_data 解码、SHA256 校验和 DeepAI API 中转站文件处理最佳实践。

Openclaw deepai stream options include usage.png

OpenClaw 接入 DeepAI API 中转站:流式请求 Token 用量为 0 与 include_usage 排查OpenClaw 接入 DeepAI API 中转站:流式请求 Token 用量为 0 与 include_usage 排查

OpenClaw 使用自定义 OpenAI-compatible Provider 流式调用时,转录和仪表盘 Token 用量为 0 怎么办?本文结合 OpenClaw GitHub 已关闭 Issue,整理 stream_options.include_usage、DeepAI API 中转站日志和成本控制排查方法。