mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-16 18:29:40 +00:00
task v2 refactor part 10: ObserverTask -> TaskV2 in backend code (#1839)
This commit is contained in:
parent
5c5464b187
commit
14689b53e4
21 changed files with 313 additions and 332 deletions
|
@ -5,7 +5,7 @@ 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.task_v2 import ObserverTask, ObserverThought
|
||||
from skyvern.forge.sdk.schemas.task_v2 import TaskV2, Thought
|
||||
from skyvern.forge.sdk.settings_manager import SettingsManager
|
||||
|
||||
|
||||
|
@ -85,8 +85,8 @@ class LLMAPIHandler(Protocol):
|
|||
prompt: str,
|
||||
prompt_name: str,
|
||||
step: Step | None = None,
|
||||
task_v2: ObserverTask | None = None,
|
||||
observer_thought: ObserverThought | None = None,
|
||||
task_v2: TaskV2 | None = None,
|
||||
thought: Thought | None = None,
|
||||
ai_suggestion: AISuggestion | None = None,
|
||||
screenshots: list[bytes] | None = None,
|
||||
parameters: dict[str, Any] | None = None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue