yera.models.reasoning_lookup
Reasoning capability lookup for LLM models by provider and model ID.
Provides pattern-based matching to determine reasoning support, default levels, and budgets for different models across providers like Anthropic, OpenAI, Mistral, and AWS Bedrock.
Symbols
look_up_reasoning_spec
look_up_reasoning_spec(
provider: str,
author: str,
model_id: str,
) → ReasoningSpecLook up the reasoning specification for a given provider/author/model.
Parameters
provider
type: str
The LLM provider (e.g., "anthropic", "openai", "aws").
author
type: str
The model author or vendor (e.g., "anthropic", "amazon").
model_id
type: str
The exact model identifier to match against patterns.
Returns
type: ReasoningSpec
The matching reasoning spec, or a default none spec if no match found.
ReasoningSpec
Specification of reasoning capabilities for a model.