Skip to content

ctx_pool模式有问题 #2139

@kk1181958464

Description

@kk1181958464
  • Codex 走 WS 做 tool call
  • sub2api 在 ctx_pool 下复用/恢复上游连接
  • 一旦上游 ping/pong 异常,它会触发:
    drop_previous_response_id_retry
  • 这一步把原来那轮对话的 previous_response_id 丢了
  • 后面 Codex 再回传 function_call_output 时,上游就找不到对应的 call_id
  • 最终报错:
    No tool call found for function call output with call_id ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions