MCPcopy Create free account
hub / github.com/PromtEngineer/localGPT / __init__

Method __init__

backend/server.py:37–39  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

35
36class ChatHandler(http.server.BaseHTTPRequestHandler):
37 def __init__(self, *args, **kwargs):
38 self.ollama_client = OllamaClient()
39 super().__init__(*args, **kwargs)
40
41 def do_OPTIONS(self):
42 """Handle CORS preflight requests"""

Callers

nothing calls this directly

Calls 1

OllamaClientClass · 0.90

Tested by

no test coverage detected