codexfast icon indicating copy to clipboard operation
codexfast copied to clipboard

Speed option appears but cannot be selected after running npx codexfast launch

Open moonclock opened this issue 5 months ago • 9 comments

感谢您开发了这款软件, 它是一个很棒的工具, 但是我发现, 使用npx codexfast launch后, 虽然速度选项可以出来, 但是无法选中, 新会话和历史会话中行为一样, 都点击没有反应, 如图(设置中也是一样的情况, 无法勾选, 对话框中 /fast 输入后也没有反应). 请问这是正常现象么?

具体的信息如下:

Action: launch Resources: /Applications/Codex.app/Contents/Resources Detected version: 26.623.70822 Detected build: 4559 Compatibility: supported (Codex.app 26.623.70822 build 4559) Mode: self-contained single file Patched targets: Disable automatic updates schema Composer Intelligence Speed menu Fast slash command Speed service tier allowance Speed service tier conversation fallback Speed service tier request allowance Runtime launch completed. Keep this codexfast launch process running while you use Codex. Quit Codex to end the runtime patch session.

Image

moonclock avatar Jul 01 '26 02:07 moonclock

因为没有复现,所以只尝试性修复。 重新运行最新版 codexfast 试试。

如果问题依旧存在,尝试下用账号登录(GPT 已订阅的账号),切换一下 fast 选项,然后再切换api key 看 fast 是否有问题。

Veath avatar Jul 01 '26 03:07 Veath

因为没有复现,所以只尝试性修复。 重新运行最新版 codexfast 试试。

如果问题依旧存在,尝试下用账号登录(GPT 已订阅的账号),切换一下 fast 选项,然后再切换api key 看 fast 是否有问题。

最新版 codexfast 问题依旧, 请问这个现象跟 cc-switch 配置的中转站有关系么? 没有已订阅的GPT, 暂时还没发尝试官方的, 抱歉啊

moonclock avatar Jul 01 '26 06:07 moonclock

咱试试排查法,退出 cc-switch 软件,然后再运行 codexfast

Veath avatar Jul 01 '26 10:07 Veath

咱试试排查法,退出 cc-switch 软件,然后再运行 codexfast

额, 排查了好几个小时, 终于找到了, 确认跟config.toml中, 中转配置有关系.

如果是如下这样, 就无法选中 1.5 倍速:

model = "gpt-5.5"
model_provider = "sky_router"

[model_providers.sky_router]
base_url = "https://xxxx.com/xxxx/ccp"
name = "xxxxx"

[model_providers.sky_router.http_headers]
Authorization = "Bearer gpt-xxxxxx"

这样的话, codexfast是不是就无法兼容了呀?

moonclock avatar Jul 01 '26 14:07 moonclock

哦哦 我们是公司自己搭建的中转, 不知道运维是不是包装的其他中转商? 我在 config.toml 看到了 service_tier = "priority", 写入应该是成功了, 就是 APP UI 上不知道为啥没展示 1.5x 图标

moonclock avatar Jul 02 '26 02:07 moonclock

嗯嗯,复现了,有办法解决,稍等哈

Veath avatar Jul 02 '26 02:07 Veath

已在 [email protected] 修复并发布。

根因是纯 custom model_provider 配置下 Codex 的账号 authMethod 可能是 null,之前补丁的非 ChatGPT 分支仍要求 authMethod != null,导致 service_tier = "priority" 虽然写入成功,但 UI/请求层又把 Fast 当成不可用。新版本保留官方 ChatGPT fast_mode 检查,同时允许 custom provider / null authMethod 路径使用已配置的 Fast tier。

可以重新运行:

npx [email protected] launch

或等 npm latest 镜像同步后使用 npx codexfast launch。

Veath avatar Jul 02 '26 03:07 Veath

npx codexfast launch

感谢大佬快速响应, 一个大大的赞, 等 npm latest 镜像同步后试一下, 再次感谢

moonclock avatar Jul 02 '26 03:07 moonclock

已经正常展示 牛!

moonclock avatar Jul 02 '26 03:07 moonclock