entropy-research / Devon

Devon: An open-source pair programmer
GNU Affero General Public License v3.0
3.28k stars 264 forks source link

Feature Request: OpenRouter Support #105

Open daun-io opened 3 months ago

daun-io commented 3 months ago

Hey Devon team!

I'm from OpenRouter, and we'd love to see Devon integrate our service. OpenRouter provides access to multiple AI models through a single OpenAI-style API, which could significantly enhance Devon's capabilities. As of this writing, integrating OpenRouter unlocks access to 192+ models.

Interested in exploring this?

Here's an example implementation from claude-dev:

https://github.com/saoudrizwan/claude-dev/blob/0316f49f076e6ed40ac96fdaaa15299df81021fe/src/api/openrouter.ts#L12

https://github.com/search?q=repo%3Asaoudrizwan%2Fclaude-dev%20openrouter&type=code