MCPcopy Create free account
hub / github.com/CJackHwang/AIstudioProxyAPI / QuotaExceededError

Class QuotaExceededError

models/exceptions.py:138–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136 super().__init__(f"{message}: {error_message} (Status: {status_code})", ai_studio_status=status_code, error_message=error_message, **kwargs)
137
138class QuotaExceededError(UpstreamError):
139 def __init__(self, message: str = "Quota exceeded", retry_after: int = 3600, **kwargs):
140 super().__init__(message, retry_after=retry_after, **kwargs)
141
142class EmptyResponseError(UpstreamError):
143 def __init__(self, message: str = "Received empty response", **kwargs):

Callers 4

check_quota_limitFunction · 0.90
use_stream_responseFunction · 0.90
increment_token_countMethod · 0.90

Calls

no outgoing calls

Tested by 1