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

Broken letta delete-agent #1854

Closed
2 tasks done
ffpy opened this issue Oct 9, 2024 · 0 comments · Fixed by #1940
Closed
2 tasks done

Broken letta delete-agent #1854

ffpy opened this issue Oct 9, 2024 · 0 comments · Fixed by #1940
Assignees

Comments

@ffpy
Copy link

ffpy commented Oct 9, 2024

Describe the bug

letta delete-agent --agent-name ExquisiteYellowhammer --user-id user-00000000
Traceback (most recent call last):
  File "/home/dtsw/program/memgpt/.venv/bin/letta", line 8, in <module>
    sys.exit(app())
  File "/home/dtsw/program/memgpt/.venv/lib/python3.10/site-packages/typer/main.py", line 328, in __call__
    raise e
  File "/home/dtsw/program/memgpt/.venv/lib/python3.10/site-packages/typer/main.py", line 311, in __call__
    return get_command(self)(*args, **kwargs)
  File "/home/dtsw/program/memgpt/.venv/lib/python3.10/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/home/dtsw/program/memgpt/.venv/lib/python3.10/site-packages/typer/core.py", line 783, in main
    return _main(
  File "/home/dtsw/program/memgpt/.venv/lib/python3.10/site-packages/typer/core.py", line 225, in _main
    rv = self.invoke(ctx)
  File "/home/dtsw/program/memgpt/.venv/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/dtsw/program/memgpt/.venv/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/dtsw/program/memgpt/.venv/lib/python3.10/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/home/dtsw/program/memgpt/.venv/lib/python3.10/site-packages/typer/main.py", line 683, in wrapper
    return callback(**use_params)  # type: ignore
  File "/home/dtsw/program/memgpt/.venv/lib/python3.10/site-packages/letta/cli/cli.py", line 663, in delete_agent
    client = create_client(user_id=user_id)
TypeError: create_client() got an unexpected keyword argument 'user_id'

Please describe your setup

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

Letta Config
Please attach your ~/.letta/config file or copy past it below.

[defaults]
preset = memgpt_chat
persona = sam_pov
human = basic

[model]
model = gpt-4o
model_endpoint = xxx
model_endpoint_type = openai
context_window = 128000

[embedding]
embedding_endpoint_type = openai
embedding_endpoint = xxx
embedding_model = text-embedding-ada-002
embedding_dim = 1536
embedding_chunk_size = 300

[archival_storage]
type = chroma
path = /home/xxx/.letta/chroma

[recall_storage]
type = sqlite
path = /home/xxx/.letta

[metadata_storage]
type = sqlite
path = /home/xxx/.letta

[version]
letta_version = 0.4.1

[client]
anon_clientid = user-00000000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants