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

up #1966

Merged
merged 2 commits into from
Feb 11, 2025
Merged

up #1966

merged 2 commits into from
Feb 11, 2025

Conversation

emrgnt-cmplxty
Copy link
Contributor

@emrgnt-cmplxty emrgnt-cmplxty commented Feb 11, 2025

Important

Removed deprecated=True comment from completion field in RAGResponse class in responses.py.

  • Models:
    • In RAGResponse class, removed deprecated=True comment from completion field in responses.py.

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

@emrgnt-cmplxty emrgnt-cmplxty marked this pull request as ready for review February 11, 2025 07:53
@emrgnt-cmplxty emrgnt-cmplxty merged commit babb4bf into main Feb 11, 2025
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.

❌ Changes requested. Reviewed everything up to e4bb2d1 in 53 seconds

More details
  • Looked at 13 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. py/shared/api/models/retrieval/responses.py:127
  • Draft comment:
    Remove commented-out deprecation flag. If deprecation is no longer needed, delete it rather than commenting it out.
  • Reason this comment was not posted:
    Marked as duplicate.

Workflow ID: wflow_4A2ommPRCNrC0EGH


Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

@@ -124,7 +124,7 @@ class RAGResponse(BaseModel):
completion: str = Field(
...,
description="The generated completion from the RAG process",
deprecated=True,
# deprecated=True,
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove commented-out deprecation flag. If the field is no longer deprecated, delete the commented code entirely rather than leaving it, or add a clarifying comment.

Suggested change
# deprecated=True,

@emrgnt-cmplxty emrgnt-cmplxty deleted the patch/rm-deprecation-flag branch February 12, 2025 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant