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 #1697

Merged
merged 2 commits into from
Dec 16, 2024
Merged

up #1697

merged 2 commits into from
Dec 16, 2024

Conversation

emrgnt-cmplxty
Copy link
Contributor

@emrgnt-cmplxty emrgnt-cmplxty commented Dec 16, 2024

Important

This pull request removes the logs command and RunType class, updates service creation in R2RBuilder, and modifies routers to use the new service structure.

  • Behavior:
    • Remove logs command from system.py, simplifying the CLI interface.
    • Remove RunType class from base.py, run_manager.py, and logger/__init__.py, simplifying run management.
  • Services:
    • Update R2RBuilder to use R2RServices for service creation, improving service management.
  • Routers:
    • Update ChunksRouter, CollectionsRouter, ConversationsRouter, DocumentsRouter, GraphRouter, IndicesRouter, LogsRouter, PromptsRouter, RetrievalRouterV3, SystemRouter, and UsersRouter to use updated service structure.
  • Misc:
    • Remove RunType from LogResponse in responses.py.
    • Remove unused imports and variables across multiple files.

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

@emrgnt-cmplxty emrgnt-cmplxty marked this pull request as ready for review December 16, 2024 17:28
@emrgnt-cmplxty emrgnt-cmplxty merged commit 3e972c2 into main Dec 16, 2024
2 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 everything up to 37b1f8e in 1 minute and 50 seconds

More details
  • Looked at 2242 lines of code in 25 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. py/core/main/api/v3/system_router.py:302
  • Draft comment:
    The run_type_filter parameter is no longer used in the logs method of the management service. Ensure that this change is intentional and that the filtering logic is handled elsewhere if needed.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The PR removes the RunType enumeration and its usage across multiple files. This change is consistent throughout the codebase, ensuring that the run_type parameter is no longer used in function calls or class initializations. The removal of RunType from the RunInfoLog class and its related imports is also consistent. The PR also updates the manage_run function calls to remove the run_type parameter, which aligns with the removal of RunType. Overall, the changes are consistent and do not introduce any apparent issues.

Workflow ID: wflow_Flt0RvzpscsTQtnW


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

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