Spaces:
Runtime error
Runtime error
Update query.py
Browse files
query.py
CHANGED
@@ -86,7 +86,7 @@ class VectaraQuery():
|
|
86 |
if st_code == 'RESOURCE_EXHAUSTED':
|
87 |
self.conv_id = None
|
88 |
return 'Sorry, chat turns exceeds plan limit.'
|
89 |
-
return
|
90 |
|
91 |
self.conv_id = res['responseSet'][0]['summary'][0]['chat']['conversationId']
|
92 |
|
|
|
86 |
if st_code == 'RESOURCE_EXHAUSTED':
|
87 |
self.conv_id = None
|
88 |
return 'Sorry, chat turns exceeds plan limit.'
|
89 |
+
return "Sorry, I'm experiencing an error. Please report this and try again later."
|
90 |
|
91 |
self.conv_id = res['responseSet'][0]['summary'][0]['chat']['conversationId']
|
92 |
|