MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / __init__

Method __init__

paperflow/providers/llm.py:197–201  ·  view source on GitHub ↗
(self, model: str, api_key: str, base_url: Optional[str] = None, timeout: float = 60.0)

Source from the content-addressed store, hash-verified

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,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected