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 agent bug, remove aliases #1661

Merged
merged 1 commit into from
Dec 5, 2024
Merged

Fix agent bug, remove aliases #1661

merged 1 commit into from
Dec 5, 2024

Conversation

NolanTrem
Copy link
Collaborator

@NolanTrem NolanTrem commented Dec 5, 2024

Important

This PR removes deprecated aliases, refactors search and agent handling, and updates versioning.

  • Behavior:
    • Removed deprecated aliases in graph.py, kg.py, llm.py, search.py, and user.py.
    • Updated agent() in retrieval_service.py to handle message and messages input more robustly.
    • Enhanced error handling for invalid message formats in retrieval_service.py.
  • Refactoring:
    • Moved IndexMeasure enum from models.tsx to types.ts.
    • Moved ChunkSearchSettings, GenerationConfig, and HybridSearchSettings from models.tsx to types.ts.
    • Updated r2rClient.ts to use Record<string, any> for search settings.
  • Versioning:
    • Updated version in package.json from 0.4.4 to 0.4.5.

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

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 6471a79 in 49 seconds

More details
  • Looked at 794 lines of code in 11 files
  • Skipped 1 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. py/shared/abstractions/kg.py:173
  • Draft comment:
    The alias for graphrag_communities is still present. Consider removing it if aliases are no longer used.
  • Reason this comment was not posted:
    Comment looked like it was already resolved.

Workflow ID: wflow_HeIm3gY520ukbgRp


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

@NolanTrem NolanTrem changed the base branch from main to dev-minor December 5, 2024 20:05
@NolanTrem NolanTrem merged commit ab1d205 into dev-minor Dec 5, 2024
11 of 31 checks passed
emrgnt-cmplxty added a commit that referenced this pull request Dec 6, 2024
* Feature/add web search (#1662)

* add web search to rag agent

* add web search to rag agent

* Fix agent bug, remove alias (#1661)

* Log Streaming (#1663)

* Fix agent bug, remove alias

* Allow ws on logs

* up (#1664)

* up

* add ingestion settings too

* up

* up

* up

* up

---------

Co-authored-by: Nolan Tremelling <[email protected]>
@NolanTrem NolanTrem deleted the Nolan/Agent branch December 6, 2024 20:35
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