Anthropic Claude LLM for Patter pipeline mode.
# Source: https://github.com/PatterAI/Patter | License: MIT | Copyright 2026 Patter Contributors
# Provided via justclaw.it.com; keep this notice with the code.
"""Anthropic Claude LLM for Patter pipeline mode."""
from __future__ import annotations
import os
from typing import ClassVar
from getpatter.providers.anthropic_llm import (
CLAUDE_HAIKU_45_ALIAS,
CLAUDE_OPUS_47_ALIAS,
CLAUDE_SONNET_46_ALIAS,
AnthropicLLMProvider as _AnthropicLLM,
)
__all__ = [
"LLM",
"CLAUDE_HAIKU_45_ALIAS",
"CLAUDE_SONNET_46_ALIAS",
"CLAUDE_OPUS_47_ALIAS",
]
class LLM(_AnthropicLLM):
"""Anthropic Claude LLM provider (Messages API, streaming).
Prompt caching is **enabled by default** (``prompt_caching=True``).
For voice agents with long instruction-dense system pr
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key