From ce4666a535d1d93f4e5e9b82e43a3016f97b6e3f Mon Sep 17 00:00:00 2001 From: Lars Date: Fri, 3 Apr 2026 21:33:09 +0200 Subject: [PATCH] fix: Import call_openrouter from routers.prompts instead of non-existent openrouter module --- backend/routers/workflows.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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