Skip to content

[AI Gateway] Simplify docs to use default gateway and improve changelog#28709

Open
ethulia wants to merge 5 commits intoproductionfrom
changelog-fixes
Open

[AI Gateway] Simplify docs to use default gateway and improve changelog#28709
ethulia wants to merge 5 commits intoproductionfrom
changelog-fixes

Conversation

@ethulia
Copy link
Contributor

@ethulia ethulia commented Mar 2, 2026

Summary

Screenshots (optional)

Documentation checklist

  • Is there a changelog entry (guidelines)? If you don't add one for something awesome and new (however small) — how will our customers find out? Changelogs are automatically posted to RSS feeds, the Discord, and X.
  • The change adheres to the documentation style guide.
  • If a larger change - such as adding a new page- an issue has been opened in relation to any incorrect or out of date information that this PR fixes.
  • Files which have changed name or location have been allocated redirects.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 2, 2026

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
/src/content/changelog/ @cloudflare/pm-changelogs, @cloudflare/pcx-technical-writing
/src/content/docs/ai-gateway/ @abhishekkankani, @palashgo, @thebongy, @roerohan, @kathayl, @mchenco, @zeke, @superhighfives, @bfirsh, @cloudflare/pcx-technical-writing

@mchenco
Copy link
Contributor

mchenco commented Mar 2, 2026

/lilbonk review this PR

@ask-bonk
Copy link
Contributor

ask-bonk bot commented Mar 2, 2026

Review Summary

No critical issues found. 3 style consistency items to address.

Issues

MEDIUM - Inconsistent environment variable formatting:

  • src/content/docs/ai-gateway/features/unified-billing.mdx:57-58 — Uses {account_id} and {CLOUDFLARE_TOKEN} instead of $CLOUDFLARE_ACCOUNT_ID and $CLOUDFLARE_API_TOKEN
  • src/content/docs/ai-gateway/features/unified-billing.mdx:118-119 — Same issue in the ZDR example
  • src/content/docs/ai-gateway/usage/chat-completion.mdx:22 — Uses {account_id} instead of $CLOUDFLARE_ACCOUNT_ID

These should use shell-style variable names to match the style used in get-started.mdx and the changelog.

Notes

The PR simplifies the getting started flow effectively by removing manual gateway creation steps and emphasizing the default gateway. All MDX syntax is correct, imports are present, and the changelog entry follows the proper format.

github run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:ai-gateway AI Gateway: https://developers.cloudflare.com/ai-gateway/ product:changelog size/s

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants