Skip to content

docs(ai-proxy): restore max_stream_duration_ms and max_response_bytes#13539

Open
AlinsRan wants to merge 1 commit into
apache:masterfrom
AlinsRan:docs/ai-proxy-restore-safeguard-fields
Open

docs(ai-proxy): restore max_stream_duration_ms and max_response_bytes#13539
AlinsRan wants to merge 1 commit into
apache:masterfrom
AlinsRan:docs/ai-proxy-restore-safeguard-fields

Conversation

@AlinsRan

@AlinsRan AlinsRan commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

What this fixes

The max_stream_duration_ms and max_response_bytes safeguards are implemented and present in the ai-proxy plugin schema, but they are undocumented — the attribute table in docs/{en,zh}/latest/plugins/ai-proxy.md does not list them.

Source

Change (docs only)

  • Restore the max_stream_duration_ms and max_response_bytes rows in both docs/en and docs/zh.
  • Restore the per-socket clarification on the timeout description ("Applied per socket operation … does not cap the total duration of a streaming response").

Checklist

  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change (N/A, docs only)
  • I have updated the documentation to reflect this change
  • I have verified that the changes pass the existing tests

These two streaming/response safeguard fields are defined in the plugin
schema but were dropped from the attribute table, leaving the guardrails
undocumented. Restore both rows (en + zh) and the per-socket clarification
on the `timeout` description.

Signed-off-by: AlinsRan <alinsran@apache.org>
@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. doc Documentation things labels Jun 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Documentation things size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant