Update app.py
Browse files
app.py
CHANGED
@@ -119,7 +119,7 @@ def upload_attachment(cookie ,organization_id,file_path):
|
|
119 |
|
120 |
|
121 |
|
122 |
-
def request_to_v2(message, cookie, user_id,context=[]):
|
123 |
## 是否加入文件
|
124 |
# Upload attachment if provided
|
125 |
attachment = attachment.name
|
|
|
119 |
|
120 |
|
121 |
|
122 |
+
def request_to_v2(message, cookie, user_id,attachment=None,context=[]):
|
123 |
## 是否加入文件
|
124 |
# Upload attachment if provided
|
125 |
attachment = attachment.name
|