Skip to content

fix(gateway): increase Envoy buffer and extproc timeout for semantic router - #23

Merged
sojournerdev merged 1 commit into
mainfrom
gateway
Sep 30, 2026
Merged

sojournerdev merged 1 commit into
mainfrom
gateway

Conversation

@sojournerdev

Copy link
Copy Markdown
Owner

What

Increase the Envoy Gateway client buffer from its 32 KiB default to 4 MiB. Update the Semantic Router Envoy external-processing timeout from 10 seconds to the documented 60 seconds while retaining buffered request/response processing.

Why

Coding-agent requests include large system prompts and tool schemas that can exceed Envoy Gateway’s default 32 KiB buffer, causing HTTP 413 responses before requests reach Semantic Router or vLLM. The longer ext-proc timeout follows Semantic Router’s documented Envoy integration and provides sufficient time for request classification and processing.

Checklist

  • mise run ci passes

@sojournerdev
sojournerdev merged commit 1991bcf into main Sep 30, 2026
1 check passed
@sojournerdev
sojournerdev deleted the gateway branch September 30, 2026 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant