1 parent 3c1c811 commit 19ebce4Copy full SHA for 19ebce4
1 file changed
coaching/src/api/routes/ai_execute.py
@@ -148,7 +148,7 @@ async def execute_ai(
148
)
149
150
# Step 1: Validate topic exists and is active
151
- endpoint = get_topic_by_topic_id(request.topic_id)
+ endpoint = get_endpoint_by_topic_id(request.topic_id)
152
if endpoint is None:
153
logger.warning("ai_execute.topic_not_found", topic_id=request.topic_id)
154
raise HTTPException(
0 commit comments