Skip to content

Improve memory - #227

Merged
galshubeli merged 13 commits into
stagingfrom
improve-memory
Sep 10, 2025
Merged

Improve memory#227
galshubeli merged 13 commits into
stagingfrom
improve-memory

Conversation

@galshubeli

Copy link
Copy Markdown
Collaborator

No description provided.

@galshubeli
galshubeli requested a review from Copilot September 7, 2025 15:15
@coderabbitai

coderabbitai Bot commented Sep 7, 2025

Copy link
Copy Markdown
Contributor

Note

Other AI code review bot(s) detected

CodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review.

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch improve-memory

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

This comment was marked as outdated.

@galshubeli
galshubeli requested a review from Copilot September 8, 2025 10:53

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

This PR improves memory functionality by enhancing user information management, conversation history handling, and database fact extraction in the QueryWeaver application. The changes focus on more comprehensive context preservation and personalized query processing.

  • Enhanced memory tool to update user information and handle conversation history
  • Modified analysis agent to handle personal queries more robustly with missing information checks
  • Improved database facts search with episode content extraction

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
api/routes/graphs.py Modified memory tool call to include conversation history
api/memory/graphiti_tool.py Major refactoring of memory management with new user information updates, conversation history handling, and improved database facts search
api/agents/analysis_agent.py Enhanced personal query handling with stricter validation for missing user information
Comments suppressed due to low confidence (1)

api/memory/graphiti_tool.py:1

  • This query parameter references f\"User {self.user_id}\" but based on line 85, the user node name format was changed to just f\"{user_id}\" without the "User " prefix. This inconsistency will cause the pinned user condition to not match any existing user nodes.
"""

Comment thread api/memory/graphiti_tool.py Outdated
Comment thread api/memory/graphiti_tool.py
Comment thread api/memory/graphiti_tool.py Outdated
galshubeli and others added 4 commits September 8, 2025 14:01
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@galshubeli
galshubeli merged commit e8aacf1 into staging Sep 10, 2025
9 checks passed
@galshubeli
galshubeli deleted the improve-memory branch September 10, 2025 06:39
gkorland pushed a commit that referenced this pull request Feb 22, 2026
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.

3 participants