MCPcopy
hub / github.com/PromtEngineer/localGPT / handle_get_indexes

Method handle_get_indexes

backend/server.py:784–789  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

782 }, status_code=500)
783
784 def handle_get_indexes(self):
785 try:
786 data = db.list_indexes()
787 self.send_json_response({'indexes': data, 'total': len(data)})
788 except Exception as e:
789 self.send_json_response({'error': str(e)}, status_code=500)
790
791 def handle_get_index(self, index_id: str):
792 try:

Callers 1

do_GETMethod · 0.95

Calls 2

send_json_responseMethod · 0.95
list_indexesMethod · 0.80

Tested by

no test coverage detected