fix: Import call_openrouter from routers.prompts instead of non-existent openrouter module
All checks were successful
Deploy Development / deploy (push) Successful in 47s
Build Test / lint-backend (push) Successful in 0s
Build Test / build-frontend (push) Successful in 14s

This commit is contained in:
Lars 2026-04-03 21:33:09 +02:00
parent 1f8791f4dd
commit ce4666a535

View File

@ -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