mirror of
https://github.com/hwchase17/langchain.git
synced 2025-04-28 03:51:50 +00:00
_wait_for_run
calling fix for OpenAIAssistantRunnable
(#29927)
- **Description:** Fixed the `OpenAIAssistantRunnable` call of `_wait_for_run` - **Issue:** #29923
This commit is contained in:
parent
437fe6d216
commit
afa94e5bf7
@ -652,7 +652,7 @@ class OpenAIAssistantRunnable(RunnableSerializable[Dict, OutputType]):
|
||||
self, intermediate_steps: List[Tuple[OpenAIAssistantAction, str]]
|
||||
) -> dict:
|
||||
last_action, last_output = intermediate_steps[-1]
|
||||
run = await self._wait_for_run(last_action.run_id, last_action.thread_id)
|
||||
run = self._wait_for_run(last_action.run_id, last_action.thread_id)
|
||||
required_tool_call_ids = set()
|
||||
if run.required_action:
|
||||
required_tool_call_ids = {
|
||||
|
Loading…
Reference in New Issue
Block a user