Skip to content

Commit aab810c

Browse files
lesebcdoernclaude
authored
fix: remove leftover post_training and toolgroups CLI commands (#333)
## Summary - Remove `post_training` CLI module which references removed `post_training` API types (`AlgorithmConfig`, `TrainingConfig`) and `client.post_training` resource - Remove `toolgroups` CLI module which references removed `toolgroup_register_params` type and `client.toolgroups` resource - These broken imports caused the entire CLI (`llama-stack-client`) to crash on any invocation ## Test plan - [x] Verified `llama-stack-client --help` runs successfully after the fix - [x] Verified all remaining CLI submodule imports succeed 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Charlie Doern <cdoern@redhat.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 02b3604 commit aab810c

5 files changed

Lines changed: 0 additions & 270 deletions

File tree

src/llama_stack_client/lib/cli/llama_stack_client.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,9 @@
2020
from .inference import inference
2121
from .inspect import inspect
2222
from .models import models
23-
from .post_training import post_training
2423
from .providers import providers
2524
from .scoring_functions import scoring_functions
2625
from .shields import shields
27-
from .toolgroups import toolgroups
2826
from .vector_stores import vector_stores
2927

3028

@@ -90,9 +88,7 @@ def llama_stack_client(ctx, endpoint: str, api_key: str, config: str | None):
9088
llama_stack_client.add_command(scoring_functions, "scoring_functions")
9189
llama_stack_client.add_command(eval, "eval")
9290
llama_stack_client.add_command(inference, "inference")
93-
llama_stack_client.add_command(post_training, "post_training")
9491
llama_stack_client.add_command(inspect, "inspect")
95-
llama_stack_client.add_command(toolgroups, "toolgroups")
9692

9793

9894
def main():

src/llama_stack_client/lib/cli/post_training/__init__.py

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/llama_stack_client/lib/cli/post_training/post_training.py

Lines changed: 0 additions & 118 deletions
This file was deleted.

src/llama_stack_client/lib/cli/toolgroups/__init__.py

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/llama_stack_client/lib/cli/toolgroups/toolgroups.py

Lines changed: 0 additions & 130 deletions
This file was deleted.

0 commit comments

Comments
 (0)