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

Class UpstreamError

models/exceptions.py:130–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128
129# Upstream Errors
130class UpstreamError(AIStudioProxyError):
131 def __init__(self, message: str, http_status: int = 502, retry_after: int = 10, **kwargs):
132 super().__init__(message, http_status=http_status, retry_after=retry_after, **kwargs)
133
134class AIStudioError(UpstreamError):
135 def __init__(self, error_message: str, status_code: int, message: str = "AI Studio error", **kwargs):

Callers 2

use_stream_responseFunction · 0.90

Calls

no outgoing calls

Tested by 1