diff --git a/backend/routers/workflows.py b/backend/routers/workflows.py index ec69ed9..3619e91 100644 --- a/backend/routers/workflows.py +++ b/backend/routers/workflows.py @@ -61,7 +61,7 @@ async def execute_workflow_endpoint( } """ from prompt_executor import execute_workflow_prompt - from openrouter import call_openrouter_async + from routers.prompts import call_openrouter profile_id = session["profile_id"] @@ -90,7 +90,7 @@ async def execute_workflow_endpoint( result = await execute_workflow_prompt( prompt=workflow_prompt, variables=variables, - openrouter_call_func=call_openrouter_async, + openrouter_call_func=call_openrouter, enable_debug=request.enable_debug ) return result