(self, model: str, api_key: str, base_url: Optional[str] = None, timeout: float = 60.0)
| 195 | name = "anthropic" |
| 196 | |
| 197 | def __init__(self, model: str, api_key: str, base_url: Optional[str] = None, timeout: float = 60.0) -> None: |
| 198 | from anthropic import Anthropic # local import keeps dependency optional |
| 199 | |
| 200 | self.model = model |
| 201 | self._client = Anthropic(api_key=api_key, base_url=base_url, timeout=timeout) |
| 202 | |
| 203 | def generate( |
| 204 | self, |
nothing calls this directly
no outgoing calls
no test coverage detected