4 ms·
Was a fun idea and fun read. Thank you. Did you consider expanding the number of models by getting all calls through open router?
by cyrusradfar 1y ago
Was a fun idea and fun read. Thank you.
Did you consider expanding the number of models by getting all calls through open router?
- simonw 1y agoI haven't tried it myself yet, but it looks like OpenRouter is a supported feature of Codex already: https://github.com/openai/codex/blob/a47181e471b6efe55e95f9858c913fc89a3a44fa/codex-cli/README.md?plain=1#L407 https://github.com/openai/codex/blob/a47181e471b6efe55e95f98...
- eloycoto 1y agoIt's weird, tools are empty on the http request?
- NitpickLawyer 1y agoYou can already do that through the config file, you can define custom endpoints for any openai compatible API. So you can get openrouter, or even local models via vLLM or alternatives. I think someone even tried to get cheaper API pay-as-you-go usage by hitting their "bulk" API, for tasks that run over night (so no need for immediate responses).