Small cleanups.

This commit is contained in:
Hemang
2025-05-27 22:43:06 +02:00
committed by Hemang Sarkar
parent ab3fb98b67
commit bfb57029e6
2 changed files with 1 additions and 4 deletions

View File

@@ -289,7 +289,7 @@ For SSE transport based MCP, here are the steps to point your MCP client to a lo
* Use the following configuration to connect to the local Gateway instance:
```python
await client.connect_to_sse_server(
server_url="http://localhost:8005/api/vs1/gateway/mcp/sse",
server_url="http://localhost:8005/api/v1/gateway/mcp/sse",
headers={
"MCP-SERVER-BASE-URL": "<The base URL to your MCP server>",
"INVARIANT-PROJECT-NAME": "<The Invariant dataset name>",

View File

@@ -240,9 +240,6 @@ class McpSession(BaseModel):
self.annotations.extend(deduplicated_annotations)
self.last_trace_length = len(self.messages)
except Exception as e: # pylint: disable=broad-except
import traceback
traceback.print_exc()
print(f"[MCP SSE] Error pushing trace for session {self.session_id}: {e}")
async def add_pending_error_message(self, error_message: dict) -> None: