针对微信小程序的后台经过5天测试,具备一定的稳定性,提交版本用于保存
This commit is contained in:
@@ -115,6 +115,7 @@ def update(tenant_id, chat_id, session_id):
|
||||
@token_required
|
||||
def completion(tenant_id, chat_id): # chat_id 和 别的文件中的dialog_id 应该是一个意思? cyx 2025-01-25
|
||||
req = request.json
|
||||
logging.info(f"/chats/{chat_id}/completions--0 req={req}") # cyx
|
||||
if not req.get("session_id"): # session_id 和 别的文件中的conversation_id 应该是一个意思? cyx 2025-01-25
|
||||
conv = {
|
||||
"id": get_uuid(),
|
||||
|
||||
Reference in New Issue
Block a user