This commit is contained in:
Timothy J. Baek 2024-08-02 17:45:30 +02:00
parent ed8c0b23a0
commit 546d442626
1 changed files with 1 additions and 3 deletions

View File

@ -1285,9 +1285,7 @@ async def chat_completed(form_data: dict, user=Depends(get_verified_user)):
@app.post("/api/chat/actions/{action_id}")
async def chat_completed(
action_id: str, form_data: dict, user=Depends(get_verified_user)
):
async def chat_action(action_id: str, form_data: dict, user=Depends(get_verified_user)):
if "." in action_id:
action_id, sub_action_id = action_id.split(".")
else: