Update app.py
Browse files
app.py
CHANGED
@@ -71,7 +71,8 @@ def create_new_chat(user_id,cookie):
|
|
71 |
# Returns JSON of the newly created conversation information
|
72 |
return response.json()
|
73 |
|
74 |
-
def request_to_v2(message, cookie, user_id,context=[]):
|
|
|
75 |
|
76 |
response_json = create_new_chat(user_id,cookie)
|
77 |
channel_id = response_json.get('uuid',"")
|
|
|
71 |
# Returns JSON of the newly created conversation information
|
72 |
return response.json()
|
73 |
|
74 |
+
def request_to_v2(message, cookie, user_id,user_email,context=[]):
|
75 |
+
print(f"使用的账号为:【{user_email}】")
|
76 |
|
77 |
response_json = create_new_chat(user_id,cookie)
|
78 |
channel_id = response_json.get('uuid',"")
|