get rid of observer_cruise in observer_service code (#1651)

This commit is contained in:
Shuchang Zheng
2025-01-27 12:53:23 +08:00
committed by GitHub
parent 4b2ea40947
commit 6215085a4e
2 changed files with 82 additions and 78 deletions

View File

@@ -571,3 +571,8 @@ class InteractWithDropdownContainer(SkyvernException):
class UrlGenerationFailure(SkyvernHTTPException):
def __init__(self) -> None:
super().__init__("Failed to generate the url for the prompt")
class ObserverCruiseNotFound(SkyvernHTTPException):
def __init__(self, observer_cruise_id: str) -> None:
super().__init__(f"Observer task {observer_cruise_id} not found")