Revert "Remove code generation deletion confirmation prompt" (#4639)

Co-authored-by: Suchintan Singh <suchintan@skyvern.com>
This commit is contained in:
Suchintan
2026-02-05 07:40:44 -05:00
committed by GitHub
parent 54c795bf1b
commit a664ef50d5
5 changed files with 138 additions and 3 deletions

View File

@@ -837,6 +837,11 @@ class BrowserProfileNotFound(SkyvernHTTPException):
super().__init__(message, status_code=status.HTTP_404_NOT_FOUND)
class CannotUpdateWorkflowDueToCodeCache(SkyvernException):
def __init__(self, workflow_permanent_id: str) -> None:
super().__init__(f"No confirmation for code cache deletion on {workflow_permanent_id}.")
class APIKeyNotFound(SkyvernHTTPException):
def __init__(self, organization_id: str) -> None:
super().__init__(f"No valid API key token found for organization {organization_id}")