From b551707dcc76e2c72cc10de6c2d4de6f9aa31364 Mon Sep 17 00:00:00 2001 From: Kevin Hu Date: Tue, 3 Sep 2024 19:00:52 +0800 Subject: [PATCH] Update api/apps/conversation_app.py --- api/apps/conversation_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/apps/conversation_app.py b/api/apps/conversation_app.py index 1e07a0654a..c3e05e87ba 100644 --- a/api/apps/conversation_app.py +++ b/api/apps/conversation_app.py @@ -134,7 +134,7 @@ def list_convsersation(): @manager.route('/completion', methods=['POST']) @login_required -# @validate_request("conversation_id", "messages") +@validate_request("conversation_id", "messages") def completion(): req = request.json # req = {"conversation_id": "9aaaca4c11d311efa461fa163e197198", "messages": [