patch bug (#221)

This commit is contained in:
Charles Packer
2023-10-31 11:43:38 -07:00
committed by GitHub
parent d00032d1d1
commit 4e440404ff
2 changed files with 2 additions and 2 deletions

View File

@@ -229,7 +229,7 @@ async def main(
memgpt_persona = persona
if memgpt_persona is None:
memgpt_persona = (
personas.GPT35_DEFAULT if "gpt-3.5" in model else personas.DEFAULT_PRESET,
personas.GPT35_DEFAULT if "gpt-3.5" in model else personas.DEFAULT,
None, # represents the personas dir in pymemgpt package
)
else:

View File

@@ -100,7 +100,7 @@ def test_load_database():
# create agents with defaults
agent_config = AgentConfig(
persona=personas.DEFAULT_PRESET,
persona=personas.DEFAULT,
human=humans.DEFAULT,
model=DEFAULT_MEMGPT_MODEL,
data_source="tmp_hf_dataset",