Skip to content

Commit

Permalink
fix: another patch for test_cli (#876)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpacker authored Jan 21, 2024
1 parent bb005b8 commit 10cbb38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion memgpt/cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 10cbb38

Please sign in to comment.