Skip to content
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

(feat) add OpenRouter as provider #15

Closed
wants to merge 2 commits into from

Conversation

tobitege
Copy link

@tobitege tobitege commented Oct 16, 2024

Description ✏️

Add OpenRouter as model provider.

What changed? Feel free to be brief.

  • schemas/config.json: added openrouter to provider enum and corresponding entry in markdownEnumDescriptions; make apiKey required
  • index.d.ts, types.ts: added openrouter to ModelProvider
  • apparently my editor also removed a ton of trailing blanks

Checklist ✅

  • I have added screenshots (if UI changes are present).
  • I have done a self-review of my code.
  • I have manually tested my code (if applicable).

It's my first time looking into this codebase, I apologize if I'm missing requirements here. 😬

@charlwillia6
Copy link

@tobitege I cannot seem to get this to work. I even manually added my configuration, and it won't except it. If you have this working on your end, can you post a screenshot, or detail the steps as to how to setup an OpenRouter configuration?

image

@tobitege
Copy link
Author

Hey @charlwillia6
I'm sorry, I did the PR as a dry-run and couldn't test it live as I've got no experience with VS Code development. 😭

@tobitege
Copy link
Author

Closing this. I don't have the time to get this working, sorry.

@tobitege tobitege closed this Oct 22, 2024
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.

2 participants