(self)
| 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.""" |
nothing calls this directly
no test coverage detected