Skip to content

Commit cbd6d46

Browse files
committed
Adds RPC endpoints and updates RPC response and error handling (#746)
* Fix rpc endpoints Signed-off-by: Madhav Kandukuri <madhav165@gmail.com> * Remove commented code Signed-off-by: Madhav Kandukuri <madhav165@gmail.com> * remove duplicate code in session registry Signed-off-by: Madhav Kandukuri <madhav165@gmail.com> * Linting fixes Signed-off-by: Madhav Kandukuri <madhav165@gmail.com> * Fix tests Signed-off-by: Madhav Kandukuri <madhav165@gmail.com> --------- Signed-off-by: Madhav Kandukuri <madhav165@gmail.com>
1 parent 5d2b78a commit cbd6d46

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mcpgateway/cache/session_registry.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1277,6 +1277,7 @@ async def generate_response(self, message: Dict[str, Any], transport: SSETranspo
12771277
>>> # Response: {}
12781278
"""
12791279
result = {}
1280+
12801281
if "method" in message and "id" in message:
12811282
try:
12821283
method = message["method"]

0 commit comments

Comments
 (0)