Module: Legion::Extensions::Llm::Openai::DiscoveryEvidenceBuilders

Included in:
Actor::DiscoveryRefresh
Defined in:
lib/legion/extensions/llm/openai/discovery_evidence_builders.rb

Overview

Evidence-building helpers for DiscoveryRefresh. Extracted to keep the main class within Metrics/ClassLength limits.

Constant Summary collapse

STANDARD_CAPABILITY_CHECKS =

Standard capability symbols mapped to their evidence key. Reasoning maps to the :thinking evidence capability key. Defined here (not on the actor class): constant lookup from a module method uses this module's lexical scope, so the consumer must find it here or build_offering_draft raises NameError.

{
  completion: :completion,
  streaming: :streaming,
  vision: :vision,
  reasoning: :thinking,
  embedding: :embedding,
  structured_output: :structured_output
}.freeze