Skip to content

[reopen]invalid_request_error没有触发failover #5035

Description

@hnyyghk

Client or integration

Codex CLI

Area

CLI

Summary

[reopen]invalid_request_error没有触发failover

Reproduction

#4903
之前上报过这个问题,现在alibaba-token-plan/deepseek-v4.1-flash模型已经没问题了,但是换了一个deepseek/deepseek-v4-pro还是存在相同的问题

组合使用deepseek/deepseek-v4-pro和deepseek/deepseek-flash等模型时,配置为5.6-luna的影子调用拦截模型,发起新对话生成线程标题时,deepseek/deepseek-v4-pro模型因为不支持response_format,会导致invalid_request_error,但是没有继续failover到deepseek/deepseek-flash等模型执行:
Provider error 400: {"error":{"message":"This response_format type is unavailable now","type":"invalid_request_error","param":null,"code":"invalid_request_error"}}

Image

另外,除了gpt-5.6-luna外,我发现codex还会调用gpt-5.6-terra模型,是不是也需要为gpt-5.6-terra配置影子调用拦截模型?

Image

Version

2.58.0

Operating system

macOS 13.5.1

Provider and model

No response

Logs or error output

Screenshots and supporting files

No response

Redacted configuration

Checks

  • I searched existing issues and documentation.
  • I removed secrets, tokens, account details, request credentials, and personal data.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    account-poolOAuth, credentials, Codex pool, quota, failover, plansbugSomething isn't workingcliCLI, config inject, packaging flags

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions