docs: Document custom endpoint support in Vercel AI SDK#579
Open
promptless[bot] wants to merge 2 commits intomainfrom
Open
docs: Document custom endpoint support in Vercel AI SDK#579promptless[bot] wants to merge 2 commits intomainfrom
promptless[bot] wants to merge 2 commits intomainfrom
Conversation
| | `baseURL` | Base URL for API requests | `https://api.runpod.ai/v2` | | ||
| | `headers` | Custom HTTP headers to include with requests | `{}` | | ||
|
|
||
| ## Using custom endpoints |
Contributor
Author
There was a problem hiding this comment.
Citation: PR #61 fixes createImageModel to use the same fallback pattern as other model types. Changes in src/runpod-provider.ts show the new logic that supports endpoint IDs and Console URLs via parseRunpodConsoleEndpointId.
View source
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Open this suggestion in Promptless to view citations and reasoning process
Adds a new "Using custom endpoints" section to the Vercel AI SDK documentation. Users can now pass their own Serverless endpoint IDs or Console URLs directly as model identifiers, enabling the SDK to work with custom-deployed models.
Trigger Events
runpod/ai-sdk-provider PR #61: feat(image): accept aiApiId as valid model ID
Promptless Research (4 files, 1 GitHub PR)
.long_term_context/product_knowledge/product_overview.md.long_term_context/doc_workflow/client_instructions.mdpublic-endpoints/ai-sdk.mdx.long_term_context/style/client_style_guide.mdAgent Response
Tip: Tell your friends working on non-commercial open-source projects to apply for free Promptless access at promptless.ai/oss ❤️