Skip to content

Commit

Permalink
chore: Remove unnecessary assertion in create_modification_report fun…
Browse files Browse the repository at this point in the history
…ction (#3329)

# 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):
  • Loading branch information
StanGirard authored Oct 7, 2024
1 parent 3d9cbe5 commit 7e4be00
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion backend/worker/quivr_worker/assistants/cdp_use_case_3.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ async def create_modification_report(
logger.debug(after_text.page_content)
text_after_sections = before_text.page_content.split("\n# ")
text_before_sections = after_text.page_content.split("\n# ")
assert len(text_after_sections) == len(text_before_sections)

if use_llm_comparator:
logger.debug("using llm comparator")
Expand Down

0 comments on commit 7e4be00

Please sign in to comment.