From a759c4264d4be855b70d9e9c35d55e7f142d1d06 Mon Sep 17 00:00:00 2001 From: Charles Packer Date: Sat, 20 Jan 2024 17:00:40 -0800 Subject: [PATCH] fix: another patch for test_cli (#876) --- memgpt/cli/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memgpt/cli/cli.py b/memgpt/cli/cli.py index 8c35f02989..8b4a395de7 100644 --- a/memgpt/cli/cli.py +++ b/memgpt/cli/cli.py @@ -482,7 +482,7 @@ def run( if agent and ms.get_agent(agent_name=agent, user_id=user.id): # use existing agent typer.secho(f"\nšŸ” Using existing agent {agent}", fg=typer.colors.GREEN) # agent_config = AgentConfig.load(agent) - agent_state = ms.get_agent(agent_name=agent, user_id=user_id) + agent_state = ms.get_agent(agent_name=agent, user_id=user.id) printd("Loading agent state:", agent_state.id) printd("Agent state:", agent_state.state) # printd("State path:", agent_config.save_state_dir())