#7285·sub2api

[错误] DeepSeek 的 /responses 接受但静默忽略 input[].additional_tools,Codex(Responses Lite)工具调用变成 DSML 文本

作者: ranxi2001创建于 2026年9月17日更新于 2026年9月17日
  1. Why does the traffic go this way? shouldForwardOpenAIResponsesViaRawChatCompletions() only looks at openai_compat.ShouldUseResponsesAPI(account.Extra) for accounts with platform=OpenAI, and the latter is derived from the account detection marker openai_responses_supported. Detection only verifies whether /responses is available (HTTP status), and does not detect the semantic difference of "accepting but not parsing additional_tools". As a result, the account is judged to support Responses, and requests go through the original Responses path, where additional_tools is forwarded to the upstream, and then silently discarded.

内容来源: Wei-Shaw/sub2api