From a9df5c84a11ff9b686e0d39497b1152b5ee71c97 Mon Sep 17 00:00:00 2001 From: Aman Rusia Date: Wed, 15 Jan 2025 20:11:02 +0530 Subject: [PATCH] Slight prompt change for failure cases --- src/wcgw/client/mcp_server/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wcgw/client/mcp_server/server.py b/src/wcgw/client/mcp_server/server.py index 903452a..b8ba0cd 100644 --- a/src/wcgw/client/mcp_server/server.py +++ b/src/wcgw/client/mcp_server/server.py @@ -279,7 +279,7 @@ def try_json(x: str) -> Any: output_or_done += """ - Additional important note: as soon as you encounter "The user has chosen to disallow the tool call.", immediately stop doing everything and ask user for the reason. -Initialize ran successfully. +Initialize call done. """ content.append(types.TextContent(type="text", text=output_or_done))