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

Can't Update Character Personality After Modifications in defaultCharacter.ts #95

Closed
SotoAlt opened this issue Oct 30, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@SotoAlt
Copy link

SotoAlt commented Oct 30, 2024

Describe the bug
After modifying the character personality in defaultCharacter.ts, the AI responses remain unchanged and continue using the old personality settings in both Discord and Twitter interactions. However, the Twitter post creation functionality correctly reflects the new personality changes.

To Reproduce

  1. Navigate to defaultCharacter.ts
  2. Modify the character personality settings/prompt
  3. Save the changes and restart the application
  4. Test interactions on Discord - responses use old personality
  5. Test interactions on Twitter - responses use old personality
  6. Test Twitter post creation - correctly uses new personality

Expected behavior

  • When defaultCharacter.ts is modified, all AI interactions (Discord responses, Twitter replies, and Twitter posts) should reflect the new personality settings immediately after application restart.
  • The character should consistently maintain the new personality across all platforms and interaction types.

Screenshots

Additional context

  • The inconsistency between Twitter post creation and response behavior suggests a possible caching issue or incomplete personality update propagation across different modules
  • The issue persists across application restarts
  • Twitter post creation working correctly with new personality indicates that the character file is being read properly in some contexts but not others
@SotoAlt SotoAlt added the bug Something isn't working label Oct 30, 2024
@SotoAlt
Copy link
Author

SotoAlt commented Oct 30, 2024

found a workaround this issue,
deleting db.sqlite on every change on the character personality/style, restart app, and it works with the updated personality

@sirkitree sirkitree added this to Eliza Nov 1, 2024
@lalalune
Copy link
Member

lalalune commented Nov 1, 2024

Yeah. The issue is that the agent's conversations are still there. We could make a script to delete a character's conversations?

@lalalune
Copy link
Member

lalalune commented Nov 4, 2024

Closing this because I think it's a feature, not a bug. We'll need a script to clear agent memory or something.

@lalalune lalalune closed this as completed Nov 4, 2024
@github-project-automation github-project-automation bot moved this to Done in Eliza Nov 4, 2024
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
Status: Done
Development

No branches or pull requests

2 participants