Module provider

Module provider 

Source
Expand description

Dynamic provider abstraction for rig-core 0.27+

This module provides runtime provider selection using enum dispatch, allowing git-iris to work with any supported provider based on config.

Enums§

ApiKeySource
Source of the resolved API key (for logging/debugging)
DynAgent
Dynamic agent that can be any provider’s agent type

Functions§

anthropic_builder
Create an Anthropic agent builder
gemini_builder
Create a Gemini agent builder
openai_builder
Create an OpenAI agent builder
resolve_api_key
Resolve API key from config or environment variable.

Type Aliases§

AnthropicBuilder
AnthropicModel
GeminiBuilder
GeminiModel
OpenAIBuilder
Agent builder types for each provider
OpenAIModel
Completion model types for each provider