Module: Legion::Extensions::Llm::Fleet::Protocol
- Defined in:
- lib/legion/extensions/llm/fleet/protocol.rb
Constant Summary collapse
- VERSION =
2- REQUEST_TYPE =
'llm.fleet.request'- RESPONSE_TYPE =
'llm.fleet.response'- ERROR_TYPE =
'llm.fleet.error'- EXACT_EXECUTION_CONTRACT =
Additive exact-execution marker (phase-1-lex-llm-additive.md section 16.1). An exact request is protocol v2 plus execution_contract == this marker and a signed offering_id. Marker absence means legacy v2; an unknown nonempty marker is rejected.
'exact_offering_v1'- EXACT_REQUIRED_FIELDS =
%i[ execution_contract offering_id provider provider_instance model operation ].freeze
- EXACT_SIGNED_SCALAR_CLAIMS =
%i[ execution_contract offering_id ].freeze