Skip to content

feat(perf): declare enable-thinking controls without changing legacy requests - #19

Merged
plotarmordev merged 1 commit into
mainfrom
feat/explicit-thinking-11
Sep 10, 2026
Merged

feat(perf): declare enable-thinking controls without changing legacy requests#19
plotarmordev merged 1 commit into
mainfrom
feat/explicit-thinking-11

Conversation

@plotarmordev

Copy link
Copy Markdown
Owner

Closes #11.

Adds an explicit, closed request.thinking_control declaration:
{"kind":"vllm-enable-thinking-v1","enabled":false} under vllm-fixed-v1.

It sends only chat_template_kwargs.enable_thinking. Existing request.thinking continues sending only chat_template_kwargs.thinking; old normalized workload hashes and regenerated request bytes remain unchanged. Two non-null declarations are rejected, including agreeing values. Unknown kinds/fields and provider-specific controls under portable-chat-v1 are rejected before dispatch.

Proposal reconciliation: portable-chat-v1 remains provider-neutral; this provides the requested recorded control via the explicit vLLM profile rather than weakening the portable contract. No generic extra_body or automatic model-name mapping. Declared thinking-off is not proof of provider compliance; the collector retains observed answer/reasoning evidence without inventing success.

Verified: independent SIX and HELP source reviews; exact-head fmt, Clippy -D warnings, full workspace tests and release build; real-CLI loopback request/identity/conflict regressions. Integrated smoke exercised the new field and old saved receipts. No inference-server call or new live template qualification occurred.

@plotarmordev
plotarmordev merged commit d998eaa into main Sep 10, 2026
2 checks passed
@plotarmordev
plotarmordev deleted the feat/explicit-thinking-11 branch September 10, 2026 07:16
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.

grill-perf: allow thinking/reasoning control in portable-chat-v1 (chat_template_kwargs)

1 participant