jarvis_mcp/client.py aktualisiert
This commit is contained in:
1 parent
b80720ffca
commit
1b0adde674
1 file changed
+1
-4
@@ -11,10 +11,7 @@ class MCPClient:
|
||||
def __init__(self, url: str):
|
||||
# Entferne eventuelle doppelte /mcp und füge korrekt hinzu
|
||||
base = url.rstrip('/')
|
||||
if base.endswith('/mcp'):
|
||||
self.url = base
|
||||
else:
|
||||
self.url = base + "/mcp"
|
||||
|
||||
|
||||
self.session = None
|
||||
self._client_context = None
|
||||
|
||||
Reference in new issue
Block a user