mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-12 00:14:34 +00:00
create cruise related artifact in cruise api (#1355)
This commit is contained in:
parent
bda119027e
commit
5842bfc1fd
6 changed files with 209 additions and 75 deletions
|
@ -4,6 +4,7 @@ from typing import Any, Awaitable, Literal, Optional, Protocol, TypedDict
|
|||
from litellm import AllowedFailsPolicy
|
||||
|
||||
from skyvern.forge.sdk.models import Step
|
||||
from skyvern.forge.sdk.schemas.observers import ObserverCruise
|
||||
from skyvern.forge.sdk.settings_manager import SettingsManager
|
||||
|
||||
|
||||
|
@ -78,6 +79,8 @@ class LLMAPIHandler(Protocol):
|
|||
self,
|
||||
prompt: str,
|
||||
step: Step | None = None,
|
||||
observer_cruise: ObserverCruise | None = None,
|
||||
observer_thought: ObserverCruise | None = None,
|
||||
screenshots: list[bytes] | None = None,
|
||||
parameters: dict[str, Any] | None = None,
|
||||
) -> Awaitable[dict[str, Any]]: ...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue