Module: Legion::Extensions::Llm::Vllm::TranslatorThinkingHelpers

Included in:
Translator
Defined in:
lib/legion/extensions/llm/vllm/translator.rb

Overview

Renders the canonical thinking state to the vLLM wire (V2). The canonical request is the SOLE authority on thinking intent (R4). A nil thinking config renders a silent wire; enabled: false renders enable_thinking:false (forcing a default-ON model off); enabled: true renders enable_thinking:true plus the resolved budget as the dialect's documented thinking_budget. The budget axis consults Thinking::Config#resolved_budget (the cross-axis derivation the canonical config exists for) — there is no params dual-home.