Skip to content

Commit

Permalink
_wait_for_run calling fix for OpenAIAssistantRunnable (#29927)
Browse files Browse the repository at this point in the history
- **Description:** Fixed the `OpenAIAssistantRunnable` call of
`_wait_for_run`
- **Issue:**  #29923
  • Loading branch information
keenborder786 authored Feb 22, 2025
1 parent 437fe6d commit afa94e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/langchain/langchain/agents/openai_assistant/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ async def _aparse_intermediate_steps(
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 = {
Expand Down

0 comments on commit afa94e5

Please sign in to comment.