MCPcopy Index your code
hub / github.com/github/copilot-sdk / _send_response

Method _send_response

python/copilot/_jsonrpc.py:458–464  ·  view source on GitHub ↗
(self, request_id: str, result: Any)

Source from the content-addressed store, hash-verified

456 await self._send_error_response(message["id"], -32603, str(exc), None)
457
458 async def _send_response(self, request_id: str, result: Any):
459 response = {
460 "jsonrpc": "2.0",
461 "id": request_id,
462 "result": result,
463 }
464 await self._send_message(response)
465
466 async def _send_error_response(
467 self, request_id: str, code: int, message: str, data: dict | None

Callers 1

_dispatch_requestMethod · 0.95

Calls 1

_send_messageMethod · 0.95

Tested by

no test coverage detected