Spaces:
Sleeping
Sleeping
Update pkgs/quota_manager.py
Browse files- pkgs/quota_manager.py +1 -1
pkgs/quota_manager.py
CHANGED
@@ -94,7 +94,7 @@ class QuotaManager(LangChainExecutor):
|
|
94 |
if "Resource has been exhausted" in str(e):
|
95 |
print(f"API key bị giới hạn: {self.api_key}. Đang chuyển sang API key khác...")
|
96 |
self.rotate_api_key()
|
97 |
-
return
|
98 |
prefix, infix, suffix, json_output)
|
99 |
else:
|
100 |
raise e
|
|
|
94 |
if "Resource has been exhausted" in str(e):
|
95 |
print(f"API key bị giới hạn: {self.api_key}. Đang chuyển sang API key khác...")
|
96 |
self.rotate_api_key()
|
97 |
+
return self().execute_with_image(model_input, user_input, base64_image, model_name, temperature,
|
98 |
prefix, infix, suffix, json_output)
|
99 |
else:
|
100 |
raise e
|