After changing model_providers, the resume command cannot view the conversation history of the previous provider

Resolved 💬 6 comments Opened Jan 11, 2026 by NormanMises Closed Jan 11, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

v0.80.0

What subscription do you have?

After modifying model_providers, the resume command cannot view the conversation history of the previous provider

Which model were you using?

_No response_

What platform is your computer?

Linux 5.15.0-60-generic x86_64 x86_64

What issue are you seeing?

I am using the APIs of different model providers to use Codex. After switching to a different model provider, I want to resume the previous conversation, but I find that the output of the resume command does not contain my previous records. I have to switch back to the previous model provider to restore my conversation history.
Note: I used resume to view the conversation history in the same directory.

What steps can reproduce the bug?

Switch the model provider and then use the resume command to view previous chat history

What is the expected behavior?

I hope that all conversation records can be shared between different model providers rather than being bound to a single model provider

Additional information

_No response_

View original on GitHub ↗

6 Comments

github-actions[bot] contributor · 7 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #6927

Powered by Codex Action

NormanMises · 7 months ago
Potential duplicates detected. Please review them and close your issue if it is a duplicate. * Resume a previous session not working on WSL Ubuntu #6927 _Powered by Codex Action_

No, it's not the same.

etraut-openai contributor · 7 months ago

Conversations cannot generally be shared between model providers. This is by design. There are too many differences between models and their assumptions.

NormanMises · 7 months ago
Conversations cannot generally be shared between model providers. This is by design. There are too many differences between models and their assumptions.模型提供者之间通常无法共享对话。这是设计上的考虑。模型及其假设之间存在太多差异。

But are there options to export conversations and import them?

etraut-openai contributor · 7 months ago
But are there options to export conversations and import them?

No, that's not really practical. Conversations include details like CoT (chain of thought) tokens that do not transfer between models. You should stick to one model per thread. If you want to use a different model, create a new thread.

NormanMises · 7 months ago

Alright, thanks. ❤️