darrenburns / elia

A snappy, keyboard-centric terminal user interface for interacting with large language models. Chat with ChatGPT, Claude, Llama 3, Phi 3, Mistral, Gemma and more.
Apache License 2.0
1.88k stars 116 forks source link

Support for OpenRouter #66

Closed srajangarg closed 2 months ago

srajangarg commented 6 months ago

OpenRouter is a unified backend interface for LLMs. Are there any plans to support it in elia?

darrenburns commented 6 months ago

It should work if you set your API key as an environment variable OPENROUTER_API_KEY, then add a model with then name openrouter/<your-openrouter-model>.