Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Mirrored from https://github.com/Camo67/composio.git
Synced Nov 22, 23:15 UTC
fix: connected account circular reference bug
angrybayblade committed
Jun 30, 2025 at 14:13 UTC
f1fbb123f2b092c3c4243ffa84c77315f5f20792
1 file changed
+2
-2
python/composio/core/models/connected_accounts.py
+2
-2
@@ -325,10 +325,10 @@ class ConnectedAccounts:
325
"""
326
connection: dict[str, t.Any] = {"user_id": user_id}
327
if callback_url is not None:
328
- connection["callback_url"] = connection
328
+ connection["callback_url"] = callback_url
329
330
if config is not None:
331
- connection["state"] = connection
331
+ connection["state"] = config
332
333
response = self._client.connected_accounts.create(
334
auth_config={"id": auth_config_id},