lobe-chat
lobe-chat copied to clipboard
:sparkles: feat: add openrouter custom models env
💻 变更类型 | Change Type
- [x] ✨ feat
- [ ] 🐛 fix
- [ ] ♻️ refactor
- [ ] 💄 style
- [ ] 🔨 chore
- [ ] ⚡️ perf
- [ ] 📝 docs
🔀 变更说明 | Description of Change
Allow OPENROUTER_CUSTOM_MODELS
env var to define custom models for OpenRouter provider, together with its provider setting. It works similarly to the CUSTOM_MODELS
env var for OpenAI:
Fixed issue https://github.com/lobehub/lobe-chat/issues/1624.
📝 补充信息 | Additional Information
N/A