MCPcopy Create free account
hub / github.com/SensAI-PT/RAGMeUp / get_documents

Function get_documents

server/server.py:159–162  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

157 yield f"event: done\ndata: {safe_json_dumps(done_data)}\n\n"
158 except Exception as e:
159 logger.error(f"Streaming error: {e}", exc_info=True)
160 yield f"event: error\ndata: {safe_json_dumps({'error': str(e)})}\n\n"
161
162 return Response(generate(), mimetype='text/event-stream', headers={
163 'Cache-Control': 'no-cache',
164 'X-Accel-Buffering': 'no',
165 'Connection': 'keep-alive',

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected