Skip to content

Commit ef34de1

Browse files
committed
fix: Return invoke result
1 parent c272f06 commit ef34de1

File tree

1 file changed

+1
-1
lines changed
  • packages/toolbox-langchain/src/toolbox_langchain

1 file changed

+1
-1
lines changed

packages/toolbox-langchain/src/toolbox_langchain/tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ async def _arun(self, **kwargs: Any) -> dict[str, Any]:
5757
return await coro
5858

5959
# Otherwise, run in the background thread.
60-
await asyncio.wrap_future(
60+
return await asyncio.wrap_future(
6161
asyncio.run_coroutine_threadsafe(coro, self.__core_sync_tool._ToolboxSyncTool__loop)
6262
)
6363

0 commit comments

Comments
 (0)