docs: document API schema selection for custom inference endpoints - #438
Draft
hongyi-chen wants to merge 1 commit into
Draft
docs: document API schema selection for custom inference endpoints#438hongyi-chen wants to merge 1 commit into
hongyi-chen wants to merge 1 commit into
Conversation
Custom endpoints now support OpenAI Chat Completions, OpenAI Responses, and Anthropic Messages, selected per endpoint. The page still said an endpoint had to implement Chat Completions. Verified against CustomEndpointSchema in crates/ai/src/api_keys.rs and the unflagged schema dropdown in app/src/settings_view/custom_inference_modal.rs. Co-Authored-By: Oz <oz-agent@warp.dev>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Collaborator
Author
|
@szgupta is this correct? my agent discovered this change |
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.
Summary
Custom inference endpoints now let you choose the request/response protocol your endpoint speaks. The docs still claimed the endpoint had to implement OpenAI Chat Completions, which is no longer accurate.
Found by the
missing_docsdrift-watch audit (changelog item #13938) and verified againstCustomEndpointSchemaincrates/ai/src/api_keys.rsand the schema dropdown inapp/src/settings_view/custom_inference_modal.rs. The dropdown is not feature-flagged, so the capability is GA.Changes
src/content/docs/agent-platform/inference/custom-inference-endpoint.mdxsrc/content/docs/agent-platform/inference/bring-your-own-api-key.mdxVerification
npm run buildpasses.missing_docsaudit: no new findings.Deferred findings from this audit run
None specific to this page. Run-wide deferrals are listed in the companion audit-bookkeeping PR.
Conversation: https://staging.warp.dev/conversation/53c4f3f8-39bb-46c1-a5c0-66b467db0439
Run: https://oz.staging.warp.dev/runs/019fb91e-74a0-73f4-ac72-f2d88c32fab5
This PR was generated with Oz.
Co-Authored-By: Oz oz-agent@warp.dev