Add error message for contextexceedederror (#1866)

This commit is contained in:
Shuchang Zheng
2025-03-02 23:27:20 -05:00
committed by GitHub
parent b3b548ed38
commit d271a84eff
2 changed files with 21 additions and 0 deletions

View File

@@ -655,3 +655,9 @@ class NoTOTPVerificationCodeFound(SkyvernHTTPException):
if totp_identifier:
msg += f" totp_identifier={totp_identifier}"
super().__init__(msg)
class SkyvernContextWindowExceededError(SkyvernException):
def __init__(self) -> None:
message = "Context window exceeded. Please contact support@skyvern.com for help."
super().__init__(message)