fix: Make OpenAI context window exceeded error more specific (#2624)
This commit is contained in:
@@ -88,10 +88,6 @@ class LLMPermissionDeniedError(LLMError):
|
||||
"""Error when permission is denied by LLM service"""
|
||||
|
||||
|
||||
class LLMContextWindowExceededError(LLMError):
|
||||
"""Error when the context length is exceeded."""
|
||||
|
||||
|
||||
class LLMNotFoundError(LLMError):
|
||||
"""Error when requested resource is not found"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user