[AI Gateway] Clarify Guardrails streaming evaluation behavior - #32964
Open
superhighfives wants to merge 6 commits into
Open
[AI Gateway] Clarify Guardrails streaming evaluation behavior#32964superhighfives wants to merge 6 commits into
superhighfives wants to merge 6 commits into
Conversation
superhighfives
requested review from
a team,
aninibread,
ethulia,
kathayl,
kflansburg,
mattrothenberg,
mchenco,
palashgo,
roerohan,
shridhar-cf and
zeke
as code owners
August 24, 2026 17:51
Contributor
Review✅ No issues found in commit Code ReviewThis code review is in beta and may not always be helpful — use your judgment. No code review issues found. ConventionsNo convention issues found. Style Guide ReviewNo style-guide issues found. CommandsOnly codeowners can run commands. Post a comment with the command to trigger it.
|
superhighfives
force-pushed
the
fix/ai-gateway-guardrails-streaming-docs
branch
from
August 24, 2026 17:52
148148a to
a58b9b4
Compare
Contributor
|
This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:
|
🚀 Deploying Preview to Cloudflare 🚀Preview URL: https://fix-ai-gateway-guardrails-streaming-docs.previews.developers.cloudflare.com (commit 2d4d035)This URL reflects your latest Preview deploymentPreview Deployments by commit
|
Contributor
…icated streaming note
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
Replaces two inaccurate statements about Guardrails and streaming with precise, behavior-matched documentation. Behavior confirmed by the AI Gateway team from source code review.
What was wrong:
usage-considerations.mdx: "Streaming is not supported when using Guardrails" — misleading because prompt evaluation still runs and the transport still streams.supported-model-types.mdx: "Guardrails does not yet support streaming responses" — same problem, plus an ambiguous "planned for a future update" phrase.What is true:
stream: falsestream: trueChanges:
usage-considerations.mdx: Removes the streaming bullet from the "Additional considerations" list and replaces it with a dedicated### Streaming behaviorsubsection containing the table above.supported-model-types.mdx: Replaces the note with accurate text; removes redundant[Note]label; fixes a pre-existing subject–verb agreement error ("bypass" → "bypasses").Documentation checklist