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.78k stars 115 forks source link

Support for OpenRouter #66

Closed srajangarg closed 2 weeks ago

srajangarg commented 4 months ago

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

darrenburns commented 4 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>.