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

handle case where we don't get title suggested from LLM #726

Merged
merged 1 commit into from
Aug 25, 2024

Conversation

ykeremy
Copy link
Contributor

@ykeremy ykeremy commented Aug 25, 2024

🚀 This description was created by Ellipsis for commit c4bcd61

Summary:

Set default task title to "Untitled Task" and updated error messages in TaskTemplates.tsx.

Key points:

  • Set default task title to "Untitled Task" if suggested_title is missing.
  • Updated createTemplateTaskFromTaskGenerationParameters in TaskTemplates.tsx.
  • Updated label in workflow_definition.blocks to use "Untitled Task".
  • Changed error toast titles for clarity: "Error creating task from prompt" to "Error saving task" and "Error running task".

Generated with ❤️ by ellipsis.dev

…src/'

<!-- ELLIPSIS_HIDDEN -->

| 🚀 | This description was created by [Ellipsis](https://www.ellipsis.dev) for commit 218e5879f6e5c8fe84ea945f62b4524d7c4c1259  |
|--------|--------|

### Summary:
Updated default task title to "Untitled Task" and improved error messages in `TaskTemplates.tsx`.

**Key points**:
- Updated `createTemplateTaskFromTaskGenerationParameters` in `skyvern-frontend/src/routes/tasks/create/TaskTemplates.tsx` to use "Untitled Task" as default title if `suggested_title` is missing.
- Updated `label` in `workflow_definition.blocks` to use "Untitled Task" if `suggested_title` is missing.
- Changed error toast titles in `TaskTemplates` component for better clarity: "Error creating task from prompt" to "Error saving task" and "Error running task".

----
Generated with ❤️ by [ellipsis.dev](https://www.ellipsis.dev)

<!-- ELLIPSIS_HIDDEN -->
@ykeremy ykeremy added the sync label Aug 25, 2024
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 c4bcd61 in 9 seconds

More details
  • Looked at 41 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/TaskTemplates.tsx:156
  • Draft comment:
    The error toast title was updated to "Error saving task" in the PR. Ensure that this comment reflects the change for consistency.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The error toast title was updated in the PR, but the comment should reflect the change for consistency.

Workflow ID: wflow_V3i0OIMxld7TOOt0


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 c4bcd61 in 12 seconds

More details
  • Looked at 40 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/TaskTemplates.tsx:156
  • Draft comment:
    The error toast title was updated to "Error saving task" in the PR, but the comment should reflect this change for clarity.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The error toast title was updated in the PR, but the comment should reflect the change for clarity.

Workflow ID: wflow_BaMaknCuk7i5qZEQ


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

@msalihaltun msalihaltun merged commit 4c33c48 into main Aug 25, 2024
2 checks passed
@msalihaltun msalihaltun deleted the salih/fix-error-in-prompt-to-task branch August 25, 2024 15:59
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