You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(cli): wire up ogx-client CLI entrypoint (#341)
## Summary
- Register `ogx-client` as a console script in `pyproject.toml`
- Rename `lib/cli/llama_stack_client.py` → `ogx_client.py`; rename
group, prog_name, and help text
- Construct `OgxClient` with `api_key`/`default_headers` (the
Stainless-generated client no longer accepts `provider_data`); pack
provider keys into the `X-OGX-Provider-Data` header
- Fix stale `from llama_stack_client...` import in `configure.py` that
crashed every CLI invocation
- Move client config dir from `~/.llama/client` to `~/.ogx/client`;
rename `LLAMA_STACK_CLIENT_CONFIG_DIR` → `OGX_CLIENT_CONFIG_DIR`
- Replace remaining `Llama Stack` / `llama-stack-client` / `llama
models` strings in CLI command help and messages with `OGX` /
`ogx-client`
- Update stray `AsyncLlamaStackClient` reference in
`lib/agents/agent.py` docstring
Stainless covers the SDK types and resources but doesn't generate the
CLI, so this stitches the renamed CLI back together so `ogx-client`
actually works.
## Test plan
- [x] \`pip install -e .\` succeeds
- [x] \`ogx-client --help\` lists subcommands and shows \`OGX\` branding
- [x] \`ogx-client --version\` returns the package version
- [x] \`ogx-client configure --help\`, \`models --help\`, \`inspect
--help\` load without import errors
- [ ] End-to-end smoke against a running OGX server
---------
Signed-off-by: Charlie Doern <cdoern@redhat.com>
Co-authored-by: Francisco Javier Arceo <farceo@redhat.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments