mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-13 00:39:40 +00:00
Add AI suggestion endpoints (#1519)
This commit is contained in:
parent
f0ae840452
commit
5796de73d1
14 changed files with 248 additions and 0 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.ai_suggestions import AISuggestion
|
||||
from skyvern.forge.sdk.schemas.observers import ObserverCruise, ObserverThought
|
||||
from skyvern.forge.sdk.settings_manager import SettingsManager
|
||||
|
||||
|
@ -81,6 +82,7 @@ class LLMAPIHandler(Protocol):
|
|||
step: Step | None = None,
|
||||
observer_cruise: ObserverCruise | None = None,
|
||||
observer_thought: ObserverThought | None = None,
|
||||
ai_suggestion: AISuggestion | 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