feat(cli): wire up ogx-client CLI entrypoint#341
Merged
franciscojavierarceo merged 3 commits intoogx-ai:mainfrom May 1, 2026
Merged
feat(cli): wire up ogx-client CLI entrypoint#341franciscojavierarceo merged 3 commits intoogx-ai:mainfrom
franciscojavierarceo merged 3 commits intoogx-ai:mainfrom
Conversation
- Register ogx-client 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 (Stainless client doesn't take provider_data); pack provider keys into X-OGX-Provider-Data header - Fix stale 'from llama_stack_client...' import in configure.py - Move client config dir from ~/.llama/client to ~/.ogx/client; rename CONFIG_DIR constant - Replace remaining 'Llama Stack' / 'llama-stack-client' / 'llama models' strings in CLI command help and messages with OGX / ogx-client - Update AsyncLlamaStackClient docstring reference in lib/agents/agent.py Signed-off-by: Charlie Doern <cdoern@redhat.com>
Signed-off-by: Charlie Doern <cdoern@redhat.com>
63f9659 to
3cdf3b9
Compare
Resolve merge with main (license header removal in 7a863d3). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
franciscojavierarceo
approved these changes
May 1, 2026
franciscojavierarceo
approved these changes
May 1, 2026
Merged
cdoern
pushed a commit
that referenced
this pull request
May 2, 2026
Automated Release PR --- ## 0.8.0-alpha.1 (2026-05-01) Full Changelog: [v0.7.2-alpha.4...v0.8.0-alpha.1](v0.7.2-alpha.4...v0.8.0-alpha.1) ### Features * **cli:** wire up ogx-client CLI entrypoint ([#341](#341)) ([d67b7f3](d67b7f3)) ### Bug Fixes * restore deps, ignores, and lazy lib init after rename ([#339](#339)) ([b36f998](b36f998)) ### Chores * drop Meta licensing (hook + headers) ([#342](#342)) ([7a863d3](7a863d3)) * **internal:** reformat pyproject.toml ([2e4bf09](2e4bf09)) --- This pull request is managed by Stainless's [GitHub App](https://github.com/apps/stainless-app). The [semver version number](https://semver.org/#semantic-versioning-specification-semver) is based on included [commit messages](https://www.conventionalcommits.org/en/v1.0.0/). Alternatively, you can manually set the version number in the title of this pull request. For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request. 🔗 Stainless [website](https://www.stainlessapi.com) 📚 Read the [docs](https://app.stainlessapi.com/docs) 🙋 [Reach out](mailto:support@stainlessapi.com) for help or questions --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ogx-clientas a console script inpyproject.tomllib/cli/llama_stack_client.py→ogx_client.py; rename group, prog_name, and help textOgxClientwithapi_key/default_headers(the Stainless-generated client no longer acceptsprovider_data); pack provider keys into theX-OGX-Provider-Dataheaderfrom llama_stack_client...import inconfigure.pythat crashed every CLI invocation~/.llama/clientto~/.ogx/client; renameLLAMA_STACK_CLIENT_CONFIG_DIR→OGX_CLIENT_CONFIG_DIRLlama Stack/llama-stack-client/llama modelsstrings in CLI command help and messages withOGX/ogx-clientAsyncLlamaStackClientreference inlib/agents/agent.pydocstringStainless covers the SDK types and resources but doesn't generate the CLI, so this stitches the renamed CLI back together so
ogx-clientactually works.Test plan