We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a8dd69 commit c4fa2eeCopy full SHA for c4fa2ee
packages/toolbox-langchain/src/toolbox_langchain/client.py
@@ -100,6 +100,9 @@ async def aload_tool(
100
asyncio.run_coroutine_threadsafe(coro, self.__core_sync_client._loop)
101
)
102
103
+ if not self.__core_sync_client._loop or not self.__core_sync_client._thread:
104
+ raise ValueError("Background loop or thread cannot be None.")
105
+
106
core_sync_tool = ToolboxSyncTool(
107
core_tool,
108
self.__core_sync_client._loop,
0 commit comments