camel icon indicating copy to clipboard operation
camel copied to clipboard

fix: memory sort without system message

Open raywhoelse opened this issue 9 months ago • 1 comments

Description

Fixes #1762

Checklist

Go over all the following points, and put an x in all the boxes that apply.

  • [ ] I have read the CONTRIBUTION guide (required)
  • [ ] I have linked this PR to an issue using the Development section on the right sidebar or by adding Fixes #issue-number in the PR description (required)
  • [ ] I have checked if any dependencies need to be added or updated in pyproject.toml and uv lock
  • [ ] I have updated the tests accordingly (required for a bug fix or a new feature)
  • [ ] I have updated the documentation if needed:
  • [ ] I have added examples if this is a new feature

If you are unsure about any of these, don't hesitate to ask. We are here to help!

raywhoelse avatar Mar 11 '25 01:03 raywhoelse

Can you add some test cases in test_score_based.py?

https://github.com/camel-ai/camel/blob/master/test/memories/context_creators/test_score_based.py

coolbeevip avatar Mar 11 '25 01:03 coolbeevip