Files
alzeo/tests
Hasan BasbunarandClaude Opus 5.5 0a3fec7e8d proxy v6.30: a refused top-level effort beside a chat_template_kwargs one is dropped
omp's default dialect sends the effort twice, at the top of the request
and in chat_template_kwargs. SGLang takes the chat_template_kwargs copy
first (serving_chat.py pops it and sets request.reasoning_effort when it
is not None), but validates the top-level one against its own enum, so
the template's lean, omp's default level here, was a 400 on every
request (omp 18.4.9, 2026-10-01). The proxy now drops the top-level copy
when SGLang would refuse it and chat_template_kwargs names a level: the
level that applies is the one that would have applied. A null there,
which SGLang skips, is filled as an absent one is (the v6.18 move), and
a top-level level SGLang accepts is left alone.

Checked against the flash lane, streamed and not: a top-level lean beside
a chat_template_kwargs lean, high or null, and a value SGLang refuses
beside lean, were a 400 through v6.29 and are answered through v6.30;
the five other shapes (lean alone, at the top or in chat_template_kwargs;
high beside lean or null; a refused value alone) answer the same through
both. omp 18.4.9 in its default dialect: a 400 through v6.29, "pong"
through v6.30.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-02 15:41:25 +02:00
..