MCPcopy Index your code
hub / github.com/PromtEngineer/localGPT / do_GET

Method do_GET

rag_system/api_server.py:137–143  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

135 self.send_json_response({"error": "Not Found"}, status_code=404)
136
137 def do_GET(self):
138 parsed_path = urlparse(self.path)
139
140 if parsed_path.path == '/models':
141 self.handle_models()
142 else:
143 self.send_json_response({"error": "Not Found"}, status_code=404)
144
145 def handle_chat(self):
146 """Handles a chat query by calling the agentic RAG pipeline."""

Callers

nothing calls this directly

Calls 2

handle_modelsMethod · 0.95
send_json_responseMethod · 0.95

Tested by

no test coverage detected