Repository navigation
[skills] Sync ai-gateway with current docs - #345
Merged
Merged
Conversation
<!-- vercel-plugin-drift-agent -->
/docs/ai-gateway/modalities/evaluation now 308-redirects to /modalities/decision.
molebox
approved these changes
Oct 19, 2026
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.
SKILL.mdCLI table,rulesrow: "REST CRUD exists under/v1/ai-gateway/rules" is wrong. The routing-rules REST endpoints have no/v1prefix. Changed it tohttps://api.vercel.com/ai-gateway/rules. Source: https://vercel.com/docs/rest-api/ai-gateway/list-rules (last_updated 2026-10-19): "GET /ai-gateway/rules", with examplecurl -X GET 'https://api.vercel.com/ai-gateway/rules?...'. The create-rule (POST /ai-gateway/rules), update-rule (PATCH), and delete-rule (DELETE) pages use the same path. The shipped Vercel CLI (vercel@64.5.0) callsclient.fetch("/ai-gateway/rules", ...)for create, list, update, and delete. Unauthenticated probes return404 not_found("The requested API endpoint was not found.") forhttps://api.vercel.com/v1/ai-gateway/rulesand403 forbidden(missing token) forhttps://api.vercel.com/ai-gateway/rules.Verification
run_plugin_checkspassed every step: build (0 updated, 7 unchanged), typecheck, validate (all checks OK), and test (1099 pass, 0 fail).Test updates
None.
Not changed
metadata.docsstill citeshttps://vercel.com/docs/ai-gateway/modalities/evaluation. That URL redirects to/docs/ai-gateway/modalities/decision, which covers the same product. I left the frontmatter alone because it is not citing the wrong product.check_linksflagged the API base URLs (https://ai-gateway.vercel.sh/v1,/typesafe,/coding-agent,/claude-code) as not-a-page. These are API endpoints, not docs pages, so they are not drift.--limit/--default(59.13+), the deprecated--budgetonapi-keys create,experimental_decideinai7.0.128+, Node.js 22+, Python 3.12+, 90-second Logs ingestion and 30/36-day windows, 12-hour OIDC tokens, the 64-character safety identifier limit, budget roles and refresh periods, and service-tier providers.Opened automatically by the vercel-plugin drift agent. Review before merge.
Update (@molebox)
Also updated
metadata.docsfrom/docs/ai-gateway/modalities/evaluation(308 redirect) to/docs/ai-gateway/modalities/decision, so the frontmatter matches the page the body already links. Confirmed the REST path change against the CLI source:packages/cli/src/util/ai-gateway/rules.tsand therules-*commands in vercel/vercel call/ai-gateway/rules;GET https://api.vercel.com/v1/ai-gateway/rulesreturns 404.