Codex 会话经 GitHub Copilot 供应商首条消息即失败:Chat Completions bridge 不支持 Responses 结构化 content(unsupported_feature: input[0].content)

Open
#9,934 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
typescript

Research direction

Trace the Codex request through Cindy's Responses-to-Chat Completions bridge and locate the handling of input[0].content; the issue names no source files or tests. Reproduce with a plain text message using Codex and a Chat Completions-only provider, then inspect how structured text parts and unsupported content are handled. Done means text input works or the unsupported provider and engine combination is clearly rejected before sending a message.

Written by the indexing model from the issue text.

Description

feature

现象

新建 Codex 会话,发送最普通的文本消息("Hello"),回复立即失败,界面提示「回复未完成」。任何消息内容都会同样失败,且客户端不重试。

错误信息

{"error":{"type":"invalid_request_error","code":"unsupported_feature","message":"Responses feature is not supported by the Chat Completions bridge: input[0].content"}}

环境 / 触发组合

  • Cindy 运行于 Ubuntu Linux(6.8.0-147-generic),桌面客户端
  • 执行引擎:Codex(原生使用 OpenAI Responses API,input 为结构化 content 块)
  • 模型:gpt-5.6-luna
  • 供应商:GitHub Copilot(providerId: github-copilot-7015bb69,仅有 Chat Completions 接口)
  • 路由:Cindy 网关桥接(modelProvider: cindy_gateway),effort: medium,fastMode: off
  • 会话:303bc43d-e0fc-4191-8ccf-8b11f44b6301(本地日志:~/.config/Cindy/logs/sessions/.../2026-11-11.ndjson,2026-11-11)

日志时间线

  1. startSession(Codex,model=gpt-5.6-luna,provider=github-copilot)
  2. thread/start ok(threadId: 01a1c99c-9529-79b3-a120-d6d70a7935c8)
  3. 约 55ms 后 codex turn error:上述 unsupported_feature 错误,willRetry: false
    • turnId: 01a1c99c-9621-7040-84cb-12931c5a4409

分析

请求尚未到达模型即被「Responses → Chat Completions」桥接层拒绝:桥接层不支持 input[0].content 这种结构化内容块(Codex 即使正文是纯文本,输入也是 content parts 格式)。因此 Codex 引擎 + 仅有 Chat Completions 接口的供应商 这一组合在当前版本下完全不可用。

期望

  • 桥接层支持结构化 content 块的降级转换(纯文本 parts 拼接为字符串;图片等确实不支持的内容给出明确能力提示),或
  • 在选择模型/供应商组合时提前校验并阻止该组合,而不是首条消息静默失败。

复现步骤

  1. 添加 GitHub Copilot 作为 Codex 的模型供应商
  2. 新建 Codex 会话,模型选 gpt-5.6-luna
  3. 发送任意文本消息 → 必现
Dominant language
TypeScript
Stars
2.8k
Forks
412
Avg merge
12h 7m
Merged PRs (30d)
671

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from makecindy/cindy

All issues in makecindy/cindy

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.