Skip to content

llama-stack-client toolgroups unregister failes #247

@eranco74

Description

@eranco74

System Info

python -m "torch.utils.collect_env"
/usr/bin/python: Error while finding module specification for 'torch.utils.collect_env' (ModuleNotFoundError: No module named 'torch')

llama-stack-client --version
llama-stack-client, version 0.2.12

llama-stack-client toolgroups list
INFO:httpx:HTTP Request: GET http://127.0.0.1:8321/v1/toolgroups "HTTP/1.1 200 OK"
┏━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ identifier ┃ provider_id ┃ args ┃ mcp_endpoint ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ builtin::websearch │ tavily-search │ None │ None │
│ builtin::rag │ rag-runtime │ None │ None │
│ builtin::wolfram_alpha │ wolfram-alpha │ None │ None │
│ mcp::assisted │ model-context-protocol │ None │ McpEndpoint(uri='http://assisted-service-mcp-server:8000/sse') │
└────────────────────────┴────────────────────────┴──────┴────────────────────────────────────────────────────────────────┘

Information

  • The official example scripts
  • My own modified scripts

🐛 Describe the bug

When trying to unregister a toolgroup:

llama-stack-client  toolgroups unregister mcp::assisted

The command fails with this output:

│ Error Type: TypeError                                                                                                     │
│ Details: ToolgroupsResource.unregister() got an unexpected keyword argument 'tool_group_id'. Did you mean 'toolgroup_id'?

Error logs

llama-stack-client  toolgroups unregister mcp::assisted
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Failed to unregister toolgroup                                                                                            │
│                                                                                                                           │
│ Error Type: TypeError                                                                                                     │
│ Details: ToolgroupsResource.unregister() got an unexpected keyword argument 'tool_group_id'. Did you mean 'toolgroup_id'? │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Expected behavior

Expected the command to succeeed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions