Update documentation [local LLMs, presets] (#453)

* updated local llm documentation

* updated cli flags to be consistent with documentation

* added preset documentation

* update test to use new arg

* update test to use new arg
This commit is contained in:
Charles Packer
2023-11-15 01:02:57 -08:00
committed by GitHub
parent 2597ff2eb8
commit f63419c78b
11 changed files with 136 additions and 46 deletions

View File

@@ -14,7 +14,7 @@ def test_configure_memgpt():
def test_save_load():
# configure_memgpt() # rely on configure running first^
child = pexpect.spawn("memgpt run --agent test_save_load --first --strip_ui")
child = pexpect.spawn("memgpt run --agent test_save_load --first --strip-ui")
child.expect("Enter your message:", timeout=TIMEOUT)
child.sendline()
@@ -30,7 +30,7 @@ def test_save_load():
assert child.isalive() is False, "CLI should have terminated."
assert child.exitstatus == 0, "CLI did not exit cleanly."
child = pexpect.spawn("memgpt run --agent test_save_load --first --strip_ui")
child = pexpect.spawn("memgpt run --agent test_save_load --first --strip-ui")
child.expect("Using existing agent test_save_load", timeout=TIMEOUT)
child.expect("Enter your message:", timeout=TIMEOUT)
child.sendline("/exit")