mirror of
https://github.com/temporal-community/temporal-ai-agent.git
synced 2026-03-15 05:58:08 +01:00
Use legacy queue for both train APIs.
This commit is contained in:
@@ -49,7 +49,7 @@ class ToolWorkflow:
|
||||
"""Execute a tool after confirmation and handle its result."""
|
||||
workflow.logger.info(f"Confirmed. Proceeding with tool: {current_tool}")
|
||||
|
||||
task_queue = TEMPORAL_LEGACY_TASK_QUEUE if current_tool == "BookTrain" else None
|
||||
task_queue = TEMPORAL_LEGACY_TASK_QUEUE if current_tool in ["SearchTrain", "BookTrain"] else None
|
||||
|
||||
try:
|
||||
dynamic_result = await workflow.execute_activity(
|
||||
|
||||
Reference in New Issue
Block a user