Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change default option for observer #1411

Merged
merged 3 commits into from
Dec 17, 2024

Conversation

wintonzheng
Copy link
Contributor

@wintonzheng wintonzheng commented Dec 17, 2024

Important

Change default selection in PromptBox to v1, update UI descriptions, and remove PersistentBrowserSessionModel.

  • Behavior:
    • Change default selectValue in PromptBox from observerFeatureEnabled ? "v2" : "v1" to always "v1".
    • Swap positions and descriptions of CustomSelectItem for v1 and v2 in PromptBox.
  • UI:
    • Skyvern 1.0 (Tasks) is now the default and described as "best for simple tasks".
    • Skyvern 2.0 (Observer) is now secondary and described as "best for complex tasks".
  • Models:
    • Remove PersistentBrowserSessionModel and generate_persistent_browser_session_id() from id.py and models.py.

This description was created by Ellipsis for 0599892. It will automatically update as commits are pushed.

<!-- ELLIPSIS_HIDDEN -->

> [!IMPORTANT]
> Change default selection in `PromptBox` to `v1` and update UI descriptions for task options.
>
>   - **Behavior**:
>     - Change default `selectValue` in `PromptBox` from `observerFeatureEnabled ? "v2" : "v1"` to always `"v1"`.
>     - Swap positions and descriptions of `CustomSelectItem` for `v1` and `v2` in `PromptBox`.
>   - **UI**:
>     - `Skyvern 1.0 (Tasks)` is now the default and described as "best for simple tasks".
>     - `Skyvern 2.0 (Observer)` is now secondary and described as "best for complex tasks".
>
> <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 347154ed7e8811ef64e305b6071327c8d8edc351. It will automatically update as commits are pushed.</sup>

<!-- ELLIPSIS_HIDDEN -->
…src/'

<!-- ELLIPSIS_HIDDEN -->

> [!IMPORTANT]
> Change default selection in `PromptBox` to `v1` and update UI descriptions for task options.
>
>   - **Behavior**:
>     - Change default `selectValue` in `PromptBox` from `observerFeatureEnabled ? "v2" : "v1"` to always `"v1"`.
>     - Swap positions and descriptions of `CustomSelectItem` for `v1` and `v2` in `PromptBox`.
>   - **UI**:
>     - `Skyvern 1.0 (Tasks)` is now the default and described as "best for simple tasks".
>     - `Skyvern 2.0 (Observer)` is now secondary and described as "best for complex tasks".
>
> <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 347154ed7e8811ef64e305b6071327c8d8edc351. It will automatically update as commits are pushed.</sup>

<!-- ELLIPSIS_HIDDEN -->
Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Looks good to me! Incremental review on 25ca4b9 in 16 seconds

More details
  • Looked at 45 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. skyvern-frontend/src/routes/tasks/create/PromptBox.tsx:239
  • Draft comment:
    Consider removing the observerFeatureEnabled check around the Select component since the default behavior has changed to always use "v1". This check might be redundant now.
  • Reason this comment was not posted:
    Comment was not on a valid diff hunk.

Workflow ID: wflow_xKgYIjPIuLkUi5BV


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Looks good to me! Reviewed everything up to 25ca4b9 in 24 seconds

More details
  • Looked at 99 lines of code in 3 files
  • Skipped 0 files when reviewing.
  • Skipped posting 2 drafted comments based on config settings.
1. skyvern/forge/sdk/db/id.py:153
  • Draft comment:
    Ensure that generate_persistent_browser_session_id is not used elsewhere in the codebase before removing it.
  • Reason this comment was not posted:
    Comment did not seem useful.
2. skyvern/forge/sdk/db/models.py:540
  • Draft comment:
    Ensure that PersistentBrowserSessionModel is not used elsewhere in the codebase before removing it.
  • Reason this comment was not posted:
    Comment did not seem useful.

Workflow ID: wflow_7Ayp25ikkvpFt31o


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Looks good to me! Incremental review on 0599892 in 29 seconds

More details
  • Looked at 53 lines of code in 2 files
  • Skipped 0 files when reviewing.
  • Skipped posting 2 drafted comments based on config settings.
1. skyvern/forge/sdk/db/id.py:157
  • Draft comment:
    generate_persistent_browser_session_id() should be removed as per the PR description.
  • Reason this comment was not posted:
    Comment did not seem useful.
2. skyvern/forge/sdk/db/models.py:546
  • Draft comment:
    PersistentBrowserSessionModel should be removed as per the PR description.
  • Reason this comment was not posted:
    Comment did not seem useful.

Workflow ID: wflow_XIERydtnax2DDqpC


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

@msalihaltun msalihaltun merged commit 5e80b90 into main Dec 17, 2024
2 checks passed
@msalihaltun msalihaltun deleted the salih/change-default-observer-option branch December 17, 2024 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants