We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4cc3e0b commit 6a2735dCopy full SHA for 6a2735d
1 file changed
packages/mcp/examples/client_connection/main.py
@@ -10,7 +10,6 @@
10
- Tool calling on authenticated servers
11
"""
12
13
-import asyncio
14
import os
15
from contextlib import asynccontextmanager
16
@@ -116,13 +115,13 @@ async def homepage(request: Request) -> HTMLResponse:
116
115
</form>
117
118
elif session.is_failed:
119
- html += f"""
+ html += """
120
<h2>Connection Failed</h2>
121
<p>The connection to the MCP server failed.</p>
122
<p><a href="/reconnect">Try Reconnecting</a></p>
123
124
else:
125
126
<h2>Connecting...</h2>
127
<p>Connection in progress. <a href="/">Refresh</a> to check status.</p>
128
0 commit comments