Skip to content

Fix create_relations multiple add bug and linear command parser #29

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

KagaJiankui
Copy link

Refactoring for maintainability:

  • Replaced the extensive if-elif block in handle_call_tool with a dispatch table.
    • Implementation of table is lambda exp and dict.

Bug fix:

  • Fixed a bug in the create_relations function causes delete relation method not functional.
    • Use APOC to preserve intended use of dynamic rel-types

All test passed:

  • pytest
  • Cooperating with Claude 3.7 and DeepSeek R1 671B

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