Codex 降智?来试试我的方法

mingmenmama 2026-07-07 21:24 1


Codex 降智?来试试我的方法


最近感觉 Codex 有点“降智”:同样的问题,有时候能认真推理,有时候很快就结束,答案也不太对。


我参考了这个 issue 的思路:


https://github.com/haowang02/codex-candy-eval/issues/10


感谢作者和评论区提供的测试方向。


我自己用 codex-candy-eval 测了一下:


python codex_candy_eval.py -m gpt-5.5 -r high -n 5

我的结果:


修改前:1/5,20%
只加短补丁:9/10,90%

方法:加一个短补丁文件


改之前建议先备份配置。


Linux / macOS:


cp ~/.codex/config.toml ~/.codex/config.toml.before

Windows:


Copy-Item "$env:USERPROFILE\.codex\config.toml" "$env:USERPROFILE\.codex\config.toml.before" -Force

新建文件:


Windows:


C:\你的用户名\.codex\instructions\codex-reasoning-patch.md

Linux:


~/.codex/instructions/codex-reasoning-patch.md

macOS:


/Users/你的用户名/.codex/instructions/codex-reasoning-patch.md

文件内容:


For difficult coding, debugging, configuration, and reasoning tasks, prioritize completing the reasoning and verification loop before producing a final answer.

Do not shorten analysis or stop early merely to provide optional progress updates.

Progress updates should be brief and useful, but they must not interrupt deep reasoning, tool-based verification, or task completion.

然后在 ~/.codex/config.toml 里加:


Windows 示例:


model_instructions_file = 'C:\你的用户名\.codex\instructions\codex-reasoning-patch.md'

Linux 示例:


model_instructions_file = "/home/你的用户名/.codex/instructions/codex-reasoning-patch.md"

macOS 示例:


model_instructions_file = "/Users/你的用户名/.codex/instructions/codex-reasoning-patch.md"

如果效果不好,把这一行删掉即可回滚:


model_instructions_file = "..."

这套方法不保证每个人都能复现,但我这里短补丁确实有明显提升。

如果你本地还有插件、skill、AGENTS.md 噪声,继续清理配置可能还会更稳。


最新回复 (16)
  • 电报 07-07 21:24
    1

    👍🏻👍🏻赞

  • op77888 07-07 21:25
    2

    cy

  • six 07-07 21:26
    3

    cy

  • taffymeow 07-07 21:27
    4

    cy是啥 ^-^

  • zyxisme 07-07 21:28
    5

    @taffymeow #4 插眼

  • taffymeow 07-07 21:29
    6

    ^-^ @zyxisme #5

  • jasonxie 07-07 21:43
    7

    cy

  • 麦-mcdull6 07-07 21:56
    8

    @mingmenmama #0 cy

  • 80hou 07-07 22:01
    9

    cy

  • DJBGSN 07-07 22:08
    10

    cy

  • deen 07-07 22:10
    11

    cy

  • barry66688 07-07 22:40
    12

    cy

  • moyu05 07-08 00:15
    13

    cy

  • JustDooo 07-08 00:18
    14

    别都cy了 有老哥试试有用没?

  • mingmenmama 楼主 07-08 10:30
    15

    追加一个最新的测试结果


  • Pluto731 07-08 10:33
    16

    cy

* 帖子来源NodeSeek
返回