别用fork打缓存
Avoid /fork cache misses
要点
- Codex 的 /fork 和 /side 会换 session_id,prompt_cache_key 也跟着变。
- 官方文档写明:只有当你想故意避免命中缓存时才该用它们。
- 长会话里随手 fork 等于丢掉前缀缓存,下一轮按全价重算。
- 需要分支探索时,权衡缓存未命中的额度成本再决定。
- 主线继续聊应留在原 session,不要靠 fork 当普通新开话题。
原帖开头
DO NOT use /fork or /side in Codex, it will have a different session_id and thus different prompt_cache_key. the docs literally say you should only use it if you want to *prevent* cache hit. plz fix it @thsottiaux






