AnthropicLLM
Anthropic (Claude) large language model provider. Creates a configured Anthropic LLM provider for use in a voice agent.Constructor
Anthropic API key. Falls back to the
ANTHROPIC_API_KEY env var.Model ID to use. Default:
'claude-sonnet-4-20250514'.Sampling temperature. Range
0-1. Default: 0.7.Maximum number of tokens to generate in the response. Default:
1024.Nucleus sampling probability mass. Default:
null (provider default).Top-K sampling cutoff. Default:
null (provider default).Sequence(s) that stop generation when produced. Default:
null.Extended-thinking token budget. Default:
null (disabled).