Skip to content

Commit

Permalink
Do not enforce LLMType in the TaskGeneration schema (#451)
Browse files Browse the repository at this point in the history
  • Loading branch information
wintonzheng authored Jun 7, 2024
1 parent d18fc5b commit 037d869
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions skyvern/forge/sdk/schemas/task_generations.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
from datetime import datetime
from enum import StrEnum
from typing import Any

from pydantic import BaseModel, ConfigDict


class LLMType(StrEnum):
OPENAI_GPT4O = "OPENAI_GPT4O"


class TaskGenerationBase(BaseModel):
model_config = ConfigDict(from_attributes=True)

Expand All @@ -19,7 +14,7 @@ class TaskGenerationBase(BaseModel):
navigation_payload: dict[str, Any] | None = None
data_extraction_goal: str | None = None
extracted_information_schema: dict[str, Any] | None = None
llm: LLMType | None = None
llm: str | None = None
llm_prompt: str | None = None
llm_response: str | None = None

Expand Down

0 comments on commit 037d869

Please sign in to comment.