Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/dump causes crash #620

Closed
6 tasks
digitalw00t opened this issue Dec 15, 2023 · 1 comment
Closed
6 tasks

/dump causes crash #620

digitalw00t opened this issue Dec 15, 2023 · 1 comment
Assignees
Labels

Comments

@digitalw00t
Copy link

Describe the bug
When having a conversation and I issue /dump the client crashes.

Please describe your setup

  • MemGPT version
    • pymemgpt 0.2.7
  • How did you install memgpt?
    • pip install pymemgpt
  • Describe your setup
    • What's your OS (Windows/MacOS/Linux)? Linux
    • How are you running memgpt? (cmd.exe/Powershell/Anaconda Shell/Terminal)

Screenshots

Enter your message: /dump
[21] Traceback (most recent call last):
File "/home/draeician/.local/bin/memgpt", line 8, in
sys.exit(app())
File "/home/draeician/.local/lib/python3.10/site-packages/typer/main.py", line 328, in call
raise e
File "/home/draeician/.local/lib/python3.10/site-packages/typer/main.py", line 311, in call
return get_command(self)(*args, **kwargs)
File "/home/draeician/.local/lib/python3.10/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
File "/home/draeician/.local/lib/python3.10/site-packages/typer/core.py", line 778, in main
return _main(
File "/home/draeician/.local/lib/python3.10/site-packages/typer/core.py", line 216, in _main
rv = self.invoke(ctx)
File "/home/draeician/.local/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/draeician/.local/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/draeician/.local/lib/python3.10/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/home/draeician/.local/lib/python3.10/site-packages/typer/main.py", line 683, in wrapper
return callback(**use_params) # type: ignore
File "/home/draeician/.local/lib/python3.10/site-packages/memgpt/cli/cli.py", line 191, in run
run_agent_loop(memgpt_agent, first, no_verify, config) # TODO: add back no_verify
File "/home/draeician/.local/lib/python3.10/site-packages/memgpt/main.py", line 128, in run_agent_loop
interface.print_messages(memgpt_agent.messages, dump=True)
File "/home/draeician/.local/lib/python3.10/site-packages/memgpt/interface.py", line 214, in print_messages
CLIInterface.system_message(content)
File "/home/draeician/.local/lib/python3.10/site-packages/memgpt/interface.py", line 87, in system_message
print(fstr.format(msg=msg))
KeyError: 'Communication'

Additional context
Add any other context about the problem here.


If you're not using OpenAI, please provide additional information on your local LLM setup:

Local LLM details
I'm using ollama as the inference engine per the memgpt ollama guide on the web.

If you are trying to run MemGPT with local LLMs, please provide the following information:

  • The exact model you're trying to use (dolphin2.2-mistral:7b-q8_0)
  • The local LLM backend you are using (ollama)
  • Your hardware for the local LLM backend (popos 22, with nvidia 4060 ti 16gb and 3060 12gb)
@cpacker cpacker added the priority Merge ASAP label Dec 15, 2023
@cpacker cpacker self-assigned this Dec 18, 2023
Copy link

github-actions bot commented Dec 6, 2024

This issue has been automatically closed due to 60 days of inactivity.

@github-actions github-actions bot closed this as completed Dec 6, 2024
mattzh72 pushed a commit that referenced this issue Jan 16, 2025
Co-authored-by: Shubham Naik <shub@memgpt.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants