extensions property

Map<String, dynamic> extensions
final

Provider-specific configuration extensions

This map allows providers to store their unique configuration without polluting the common interface. Examples:

  • OpenAI: {'reasoningEffort': 'medium', 'voice': 'alloy'}
  • Anthropic: {'reasoning': true, 'thinkingBudgetTokens': 16000}
  • Ollama: {'keepAlive': '5m', 'numCtx': 4096}

Implementation

final Map<String, dynamic> extensions;