Skip to content

Commit

Permalink
Fixed edge condition in orchestrator schedule method (opea-project#403)
Browse files Browse the repository at this point in the history
Signed-off-by: Sanket Nayak <[email protected]>
Co-authored-by: Sanket Nayak <[email protected]>
Co-authored-by: lvliang-intel <[email protected]>
Signed-off-by: sharanshirodkar7 <[email protected]>
  • Loading branch information
3 people authored and sharanshirodkar7 committed Aug 7, 2024
1 parent ada09b6 commit 7d33cee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion comps/cores/mega/orchestrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ async def schedule(self, initial_inputs: Dict, llm_parameters: LLMParams = LLMPa
timeout = aiohttp.ClientTimeout(total=1000)
async with aiohttp.ClientSession(trust_env=True, timeout=timeout) as session:
pending = {
asyncio.create_task(self.execute(session, node, initial_inputs, runtime_graph))
asyncio.create_task(self.execute(session, node, initial_inputs, runtime_graph, llm_parameters))
for node in self.ind_nodes()
}
ind_nodes = self.ind_nodes()
Expand Down

0 comments on commit 7d33cee

Please sign in to comment.