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 multiple providers in addition to anthropic #531

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

Conversation

rrfaria
Copy link

@rrfaria rrfaria commented Oct 13, 2024

Hi, I would like to share a contribution

this MR allow project to work with multiple providers

now you can use gemini, openAi, ollama, anthropic and if you would like to add more providers you can fallow this docs:
https://sdk.vercel.ai/providers/ai-sdk-providers

@rrfaria
Copy link
Author

rrfaria commented Oct 13, 2024

this is a demo test using gemini api:

image

@Yoko-0x0
Copy link

Incredible, excellent contribution

@timoa
Copy link

timoa commented Oct 16, 2024

Great contribution! Maybe we can merge your code with the @coleam00 fork?

He had ability to select the LLM provider and model from the landing page and during the chat step:
Screenshot 2024-10-16 at 11 50 37

Repo: https://github.com/coleam00/bolt.new-any-llm

You can see it on his YouTube video:
https://www.youtube.com/watch?v=3PFcAu_oU80

@@ -60,6 +60,10 @@ pnpm install

```
ANTHROPIC_API_KEY=XXX
PROVIDER= gemini | antrophic | openai | ollama

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo - did you mean to spell anthropic ? @rrfaria

@Sunwood-ai-labs
Copy link

I implemented Bedrock based on https://github.com/coleam00/bolt.new-any-llm! (#689)

Copy link

@dustinwloring1988 dustinwloring1988 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Look good, thanks for adding this I will keep using it in my local instance

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.

6 participants