How can I add providers in the config file?
I see that I can interactively use the /login command to give it API keys, but it says in the manual I could also do this in the config file.
I've added openrouter to my config file, but I don't see any command to switch to it.
If I try /login, it just asks me for the key which is already in the config file.
Please check documentation, LMK if not clear
Yes, sorry, this is not clear
Once I manually add this to my config.json file, how does eca pick it up?
I mean, when I start eca, I just see claude in the header. If I type /login and then openrouter, it asks me for the API Key, even though I just typed it into config.json.
I'm not sure how I can tell it to select the openrouter from my config file.
/login is just an interactive way to configure the json for you, if you already configured it there it's done, you can:
- set
defaultModel:openrouter/your-modelto the header starts with your model - click on the model to select the model or call
eca-chat-select-model
eca-chat-select-model was it;) Thanks. If I go back to the homepage and search for this command, I don't see it there
@madorian the https://eca.dev is generic for eca server and its configuration, those specific emacs commands and variables live in eca-emacs README
ok, but there is no reference to eca-chat-select-model on that page.
Will add, thanks!