Q: can you integrate with openrouter please?
it's what i use for all my ai apps.
91598d6d6a264b79b1a291d2dffba254PLUSJul 3, 2024
Founder Team

overment
Jul 5, 2024A: Hey there 👋
Sure! In the next update (2.1.4) OpenRouter will be available with Custom AI feature. As far as I can see, their API does not support streaming so it has to be disabled when using their models.
I'll release 2.1.4 after this weekend (2024-07-08). Then you'll need Tier 3. In Settings -> Custom AI, add:
Local Server URL: https://openrouter.ai/api/v1/chat/completions
Stream the response: Uncheck
Authorization Header: Bearer YOUR_OPEN_ROUTER_API_KEY
Local Model: openai/gpt-3.5-turbo (or your preferred model)
When you set this, a "Custom AI" section will appear in the model list, and within it, the name of the model you've set.
🙂
Share
Helpful?
Log in to join the conversation