fix: Make OpenAI context window exceeded error more specific (#2624)

This commit is contained in:
Matthew Zhou
2025-06-04 12:57:51 -07:00
committed by GitHub
parent bd2b7dc6d4
commit 82b3222a52
3 changed files with 6 additions and 12 deletions

View File

@@ -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"""