Remix.run Logo
NitpickLawyer 21 hours ago

? Isn't lmstudio API openai compatible? Codex cli already supports 3rd party models, you have to edit the config yaml file, and you can add many model providers.

incomingpain 17 hours ago | parent [-]

I never managed to get it to work. I used chatgpt to try to do it for me :)

NitpickLawyer 12 hours ago | parent [-]

This is how I did it - https://github.com/openai/codex/blob/main/docs/config.md#mod...

I have it go to openrouter, and then you just export the API key and run codex, works smoothly.