Skip to content

Commit

Permalink
Update orchestrator.py
Browse files Browse the repository at this point in the history
return streaming based on selected agent streaming configuration
  • Loading branch information
brnaba-aws authored Oct 8, 2024
1 parent 697226d commit c64babf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/src/multi_agent_orchestrator/orchestrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ async def route_request(self,
return AgentResponse(
metadata=metadata,
output=agent_response,
streaming=False
streaming=classifier_result.selected_agent.is_streaming_enabled()
)

except Exception as error:
Expand Down

0 comments on commit c64babf

Please sign in to comment.