Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
fix: patch bug where the contents of the persona/human files were not gett… (#1126)
Charles Packerc619b2c0484c
diff --git a/memgpt/cli/cli.py b/memgpt/cli/cli.pyindex 6fe7761d0..e08910ff6 100644--- a/memgpt/cli/cli.py+++ b/memgpt/cli/cli.py@@ -657,8 +657,8 @@ def run(sys.exit(1)# Overwrite fields in the preset if they were specified- preset_obj.human = human if human else config.human- preset_obj.persona = persona if persona else config.persona+ preset_obj.human = utils.get_human_text(human) if human else utils.get_human_text(config.human)+ preset_obj.persona = utils.get_persona_text(persona) if persona else utils.get_persona_text(config.persona)typer.secho(f"-> 🤖 Using persona profile '{preset_obj.persona}'", fg=typer.colors.WHITE)typer.secho(f"-> 🧑 Using human profile '{preset_obj.human}'", fg=typer.colors.WHITE)