mirror of
https://github.com/hasso5703/alzeo.git
synced 2026-12-06 12:54:19 +01:00
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>