fix embed pdf frame bug (#4613)

This commit is contained in:
LawyZheng
2026-02-03 14:50:08 +08:00
committed by GitHub
parent 5fc16b6a5f
commit fcbb3daddd
3 changed files with 18 additions and 42 deletions

View File

@@ -113,14 +113,6 @@ class ImaginaryFileUrl(SkyvernException):
super().__init__(f"File url {file_url} is imaginary.")
class DownloadedFileNotFound(SkyvernException):
def __init__(self, downloaded_path: str, download_url: str | None = None) -> None:
message = f"Downloaded file does not exist at path: {downloaded_path}. This may indicate the download failed silently or the file was removed."
if download_url:
message += f" Download URL: {download_url}"
super().__init__(message)
class MissingBrowserState(SkyvernException):
def __init__(self, task_id: str | None = None, workflow_run_id: str | None = None) -> None:
task_str = f"task_id={task_id}" if task_id else ""