mirror of
https://github.com/invariantlabs-ai/invariant-gateway.git
synced 2026-02-12 14:32:45 +00:00
Small cleanups.
This commit is contained in:
@@ -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>",
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user