Skip to content

Commit

Permalink
🔄 synced local 'skyvern/' with remote 'skyvern/'
Browse files Browse the repository at this point in the history
<!-- ELLIPSIS_HIDDEN -->

> [!IMPORTANT]
> Rename dropdown items in `PromptBox.tsx` to `Skyvern 2.0 (Observer)` and `Skyvern 1.0 (Tasks)`.
>
>   - **UI Change**:
>     - In `PromptBox.tsx`, rename dropdown item from `Observer` to `Skyvern 2.0 (Observer)` for `CustomSelectItem` with value `v2`.
>     - Rename dropdown item from `Task` to `Skyvern 1.0 (Tasks)` for `CustomSelectItem` with value `v1`.
>
> <sup>This description was created by </sup>[<img alt="Ellipsis" src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=Skyvern-AI%2Fskyvern-cloud&utm_source=github&utm_medium=referral)<sup> for 02fe03a005aa95a80d60dcbf3d380e8607df7690. It will automatically update as commits are pushed.</sup>

<!-- ELLIPSIS_HIDDEN -->
  • Loading branch information
wintonzheng committed Dec 17, 2024
1 parent c97b261 commit 0f3174c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
6 changes: 0 additions & 6 deletions skyvern/forge/sdk/db/id.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
TASK_GENERATION_PREFIX = "tg"
OBSERVER_CRUISE_ID = "oc"
OBSERVER_THOUGHT_ID = "ot"
PERSISTENT_BROWSER_SESSION_ID = "pbs"


def generate_workflow_id() -> str:
Expand Down Expand Up @@ -154,11 +153,6 @@ def generate_observer_thought_id() -> str:
return f"{OBSERVER_THOUGHT_ID}_{int_id}"


def generate_persistent_browser_session_id() -> str:
int_id = generate_id()
return f"{PERSISTENT_BROWSER_SESSION_ID}_{int_id}"


def generate_id() -> int:
"""
generate a 64-bit int ID
Expand Down
13 changes: 0 additions & 13 deletions skyvern/forge/sdk/db/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
generate_org_id,
generate_organization_auth_token_id,
generate_output_parameter_id,
generate_persistent_browser_session_id,
generate_step_id,
generate_task_generation_id,
generate_task_id,
Expand Down Expand Up @@ -541,15 +540,3 @@ class ObserverThoughtModel(Base):

created_at = Column(DateTime, default=datetime.datetime.utcnow, nullable=False)
modified_at = Column(DateTime, default=datetime.datetime.utcnow, onupdate=datetime.datetime.utcnow, nullable=False)


class PersistentBrowserSessionModel(Base):
__tablename__ = "persistent_browser_sessions"

persistent_browser_session_id = Column(String, primary_key=True, default=generate_persistent_browser_session_id)
organization_id = Column(String, ForeignKey("organizations.organization_id"), nullable=False)
runnable_type = Column(String, nullable=False)
runnable_id = Column(String, nullable=False)
created_at = Column(DateTime, default=datetime.datetime.utcnow, nullable=False)
modified_at = Column(DateTime, default=datetime.datetime.utcnow, onupdate=datetime.datetime.utcnow, nullable=False)
deleted_at = Column(DateTime, nullable=True)

0 comments on commit 0f3174c

Please sign in to comment.