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

fix: Fix error message in SummaryAssistant class #2453

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

StanGirard
Copy link
Collaborator

@StanGirard StanGirard commented Apr 19, 2024

Description

Please include a summary of the changes and the related issue. Please also include relevant motivation and context.

Checklist before requesting a review

Please delete options that are not relevant.

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented hard-to-understand areas
  • I have ideally added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged

Screenshots (if appropriate):


🚀 This description was created by Ellipsis for commit 0310e8e

Summary:

This PR refines an error message in the check_input function of the SummaryAssistant class in /backend/modules/assistant/ito/summary.py to more accurately reflect the error condition.

Key points:

  • Modified error message in check_input function of SummaryAssistant class
  • Located in /backend/modules/assistant/ito/summary.py
  • Error message changed from 'No files were given in the input' to 'No files key were given in the input'

Generated with ❤️ by ellipsis.dev

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Apr 19, 2024
Copy link

vercel bot commented Apr 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
quivrapp 🔄 Building (Inspect) Visit Preview Apr 19, 2024 10:02am

@dosubot dosubot bot added the area: backend Related to backend functionality or under the /backend directory label Apr 19, 2024
@StanGirard StanGirard merged commit 9301cee into main Apr 19, 2024
2 of 3 checks passed
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 the entire pull request up to 0310e8e
  • Looked at 14 lines of code in 1 files
  • Took 37 seconds to review
More info
  • Skipped 0 files when reviewing.
  • Skipped posting 1 additional comments because they didn't meet confidence threshold of 50%.
1. /backend/modules/assistant/ito/summary.py:53:
  • Assessed confidence : 100%
  • Grade: 0%
  • Comment:
    The error message 'No files key were given in the input' is not clear. Consider changing it to 'No files were provided in the input'.
  • Reasoning:
    The error message 'No files key were given in the input' is not clear. It would be better to say 'No files were provided in the input'.

Workflow ID: wflow_c3hrJOFpELkO7jFu


Not what you expected? You can customize the content of the reviews using rules. Learn more here.

⌛ You have 5 hours remaining in your free trial. Upgrade at https://app.ellipsis.dev for $20/developer/month. If you have any questions, reach us at help@ellipsis.dev

StanGirard added a commit that referenced this pull request Apr 19, 2024
🤖 I have created a release *beep* *boop*
---


## 0.0.232 (2024-04-19)

## What's Changed
* Update CPU and memory settings in task definition files by @StanGirard
in #2450
* fix: Fix error message in SummaryAssistant class by @StanGirard in
#2453


**Full Changelog**:
v0.0.231...v0.0.232

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: backend Related to backend functionality or under the /backend directory size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant