Skip to content

Using streamText with a custom API instead of a known model provider #4070

Answered by lgrammel
samihamine asked this question in Help
Discussion options

You must be logged in to vote

If your endpoint is fully OpenAI compatible, you can use the openai provider and set a custom baseURL. See https://sdk.vercel.ai/providers/openai-compatible-providers

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@samihamine
Comment options

Answer selected by samihamine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants