yera.setup.model_discovery.anthropic

Discover models available through an Anthropic connection.

Symbols

class AnthropicModelSetup — Discover models and capabilities available through Anthropic.

AnthropicModelSetup

Discover models and capabilities available through Anthropic.

The discovery operation lists models exposed to the configured Anthropic account and converts them into typed Yera language-model configuration. Models without capability metadata are retained with conservative capabilities and an accompanying warning.

Attributes

provider_type

Provider identifier used by Yera configuration.

Methods

get_config — Obtain model configuration from the configured Anthropic account.

AnthropicModelSetup.get_config

get_config() → SetupResult[list[BaseModelConfig]]

Obtain model configuration from the configured Anthropic account.

Models without capability metadata are retained with conservative capabilities and an accompanying warning. Expected credential and Anthropic client failures are returned as blocking errors.

Returns

type: SetupResult[list[BaseModelConfig]]

Anthropic language-model configuration and discovery diagnostics.