Class: LLM::Alibaba::ErrorHandler Private
- Inherits:
-
OpenAI::ErrorHandler
- Object
- OpenAI::ErrorHandler
- LLM::Alibaba::ErrorHandler
- Defined in:
- lib/llm/providers/alibaba/error_handler.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Handles non-2XX responses from Alibaba Cloud Model Studio.
Falls back to the OpenAI-compatible error handling for
everything except Alibaba's insufficient_quota,
which is raised as InsufficientQuotaError (a tokens
per-minute rate limit).