gpt-5.4自动路由到gpt-5.1-codex-mini?

2026-04-11 14:551阅读0评论SEO资讯
  • 内容介绍
  • 文章标签
  • 相关推荐
问题描述:

image1826×795 87 KB
首先感谢佬友提供的 Token Atlas,自己本地codex使用gpt-5.4的时候发现调用失败了,但是后台调用的gpt-5.1-codex-mini,如图

网友解答:
--【壹】--:

这个是codex app的问题,他会先用这个模型给你的会话起个名字。不影响你后续使用。你用codex cli就没有了


--【贰】--:

感觉还是codex自己改了模型路由


--【叁】--:

好的,感谢佬友


--【肆】--:

CPA能收到并记录为gpt-5.1-codex-mini,就说明发送的请求就是gpt-5.1-codex-mini (
如果奥特曼真杀千刀地给你5.4路由降智,CPA也会显示5.4的


--【伍】--:

这个不是降智,你哪里没调好


--【陆】--:

抓了一下 request,确实是给 session 起名字时候调用的 5.1-codex-mini

You are a helpful assistant. You will be presented with a user prompt, and your job is to provide a short title for a task that will be created from that prompt.The tasks typically have to do with coding-related tasks, for example requests for bug fixes or questions about a codebase. The title you generate will be shown in the UI to represent the prompt.

Generate a concise UI title (18-36 characters) for this task.
Return only the title. No quotes or trailing punctuation.
Do not use markdown or formatting characters.
If the task includes a ticket reference (e.g. ABC-123), include it verbatim.

然后在 Github 搜索了一下,多次换用不同关键词搜索后定位到了一个奇怪的项目

github.com/sanogueralorenzo/sanogueralorenzo.github.io

codex/codex-core/src/sessions/commands/title_generation.rs

466041fc2

  1. let raw = fs::read_to_string(&output_file)
  2. .with_context(|| format!("failed reading {}", output_file.display()))?;
  3. let _ = fs::remove_file(&output_file);
  4. parse_generated_title(&raw)
  5. .ok_or_else(|| anyhow::anyhow!("title generation returned an invalid title"))
  6. }
  7. fn build_title_generation_prompt(first_user_prompt: &str) -> String {
  8. [
  9. "You are a helpful assistant. You will be presented with a user prompt, and your job is to provide a short title for a task that will be created from that prompt.",
  10. "The tasks typically have to do with coding-related tasks, for example requests for bug fixes or questions about a codebase. The title you generate will be shown in the UI to represent the prompt.",
  11. "Generate a concise UI title (18-36 characters) for this task.",
  12. "Return only the title. No quotes or trailing punctuation.",
  13. "Do not use markdown or formatting characters.",
  14. "If the task includes a ticket reference (e.g. ABC-123), include it verbatim.",
  15. "",
  16. "Generate a clear, informative task title based solely on the prompt provided. Follow the rules below to ensure consistency, readability, and usefulness.",
  17. "",
  18. "How to write a good title:",
  19. "Generate a single-line title that captures the question or core change requested. The title should be easy to scan and useful in changelogs or review queues.",

这个仓库是 copy codex 吗?


--【柒】--:

这个是app的子代理路由。


--【捌】--:

看图不像


--【玖】--:

哦哦,我找一找看看呢


--【拾】--:

看一下配置文件,然后重启cli或者插件,有时候没有同步


--【拾壹】--:

看下是不是用子代理了,子代理默认是 gpt-5.1-codex-mini


--【拾贰】--:

image1257×739 84.3 KB
codex自己说的,可能是oai搞的鬼


--【拾叁】--:

好的,感谢佬友,我看看