Skip to content

feat: Integrate OpenRouter as an LLM provider #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ArmDaniel
Copy link

  • Adds OpenRouter as a selectable LLM provider alongside OpenAI.
  • Users can choose the provider and select specific models from OpenRouter.
  • Includes UI for managing OpenRouter API keys, similar to Firecrawl keys.
  • Updates backend API to handle requests to OpenRouter.
  • Modifies API key checking to include OpenRouter keys.
  • Updates README with new features and environment variables.

- Adds OpenRouter as a selectable LLM provider alongside OpenAI.
- Users can choose the provider and select specific models from OpenRouter.
- Includes UI for managing OpenRouter API keys, similar to Firecrawl keys.
- Updates backend API to handle requests to OpenRouter.
- Modifies API key checking to include OpenRouter keys.
- Updates README with new features and environment variables.
- Adds `components/ui/select.tsx` and `components/ui/label.tsx` to resolve compilation errors.
- These components were used by the new OpenRouter configuration UI but were not explicitly added to the project.
- Replaces OpenRouter model selection dropdown with a searchable Combobox.
- Removes client-side 'chat' model filtering, displaying all models from OpenRouter.
- Adds `cmdk` and necessary Shadcn UI components (Combobox, Command, Popover) for the new model selector.
- Updates UI for theme consistency: configuration section and search input now use light backgrounds (bg-gray-50 and bg-white respectively) with dark text, removing specific dark-mode styling for these elements to align with the overall light theme.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant