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

Method __init__

paperflow/providers/llm.py:260–263  ·  view source on GitHub ↗
(self, model: str, base_url: str = "http://localhost:11434", timeout: float = 120.0)

Source from the content-addressed store, hash-verified

258 name = "ollama"
259
260 def __init__(self, model: str, base_url: str = "http://localhost:11434", timeout: float = 120.0) -> None:
261 self.model = model
262 self._base_url = base_url.rstrip("/")
263 self._timeout = timeout
264
265 def generate(
266 self,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected