Module: Legion::Extensions::Llm::Vllm::ProviderCanonicalRequestBridge

Included in:
Provider
Defined in:
lib/legion/extensions/llm/vllm/provider.rb

Overview

Private helpers for building the vLLM Canonical::Request (the provider-native dialect shape with the folded system prompt) from the canonical values the base funnel delivers. Canonical normalization (messages/tools/params/thinking) is the Canonical::Request factory's job — this bridge only folds the vLLM dialect concerns (system extraction, schema into response_format, model into metadata).