分类: 代码 Agent 教程

Cline、Claude Code、Codex、Aider、Roo Code、Kilo Code 等代码 Agent 接入 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 中转站场景下的定位、修复和验证方法。

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 和工具结果回传排查方法。

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 兼容性排查方法。

Claude code deepai web search tool calling.png

Claude Code 接入 DeepAI API 中转站:正常对话可用但 Web Search 和工具调用失败怎么办Claude Code 接入 DeepAI API 中转站:正常对话可用但 Web Search 和工具调用失败怎么办

Claude Code 通过 API 中转站或兼容网关时,普通对话能用但 Web Search、MCP 或工具调用失败怎么办?本文结合 Bifrost GitHub 已关闭 Issue,整理 Base URL、Headers、模型能力和工具支持的排查方法。