Skip to content

Commit

Permalink
fix: KeyError _mood_imitation_dialogs_processed
Browse files Browse the repository at this point in the history
  • Loading branch information
Soulter committed Feb 5, 2025
1 parent 71a02b1 commit b4c9fa7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions astrbot/core/provider/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ def __init__(self, config: AstrBotConfig, db_helper: BaseDatabase):
self.selected_default_persona = Personality(
prompt="You are a helpful and friendly assistant.",
name="default",
_begin_dialogs_processed=[],
_mood_imitation_dialogs_processed=""
)
self.personas.append(self.selected_default_persona)

Expand Down

0 comments on commit b4c9fa7

Please sign in to comment.