feat: add OpenRouter LLM provider support
- Add openrouter.ts with streamOpenRouter and completeOpenRouterText - Add OPENROUTER_MAIN/MID/LOW_MODELS constants to models.ts - Update providerForModel() to detect openrouter/ prefix - Expand ALL_MODELS set to include OpenRouter model IDs - Add "openrouter" to Provider union type in types.ts - Wire OpenRouter into streamChatWithTools and completeText in index.ts
| Repository | mdelias/mike |
|---|---|
| Author | railway-app[bot] <68434857+railway-app[bot]@users.noreply.github.com> |
| Authored | |
| Parents | 61c9dcef |
| Stats | 4 files changed , +427 , -1 |
| Part of | OpenRouter LLM provider support |
Capture this commit into my fork
Download a Markdown prompt that tells Claude how to port this
exact commit into your working tree. Run it via
claude -p < capture-commit-438b6f08.md
from inside the repo you want the change in.