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

New knowledge not being ingested into agent memory after first run #614

Closed
yoniebans opened this issue Nov 26, 2024 · 0 comments
Closed
Labels
bug Something isn't working

Comments

@yoniebans
Copy link
Contributor

Describe the bug

When adding a knowledge section in the character profile, these pieces of knowledge are taken and added to the agent memory. Once this is done, appending new knowledge to profile has no effect as the processCharacterKnowledge() method in /packages/core/src/runtime.ts breaks out of the knowledge adding loop as soon as it finds a piece of knowledge that already exists in memory.

To Reproduce

Add a knowledge section to your character, start the character up for the first time. Stop the agent, update the knowledge and restart the agent. Check db.sqlite and you will see that no new knowledge has been added.

Expected behavior

I would expect the agent should be able to absorb new knowledge that is added to the character file on each startup. There is potentially an argument for memories associated to knowledge that no longer exist in the character file should be removed but that is more subjective.

Screenshots

Screenshot 2024-11-26 at 2 44 37 PM

Additional context

N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants