This repository was archived by the owner on Aug 14, 2025. It is now read-only.
-
Couldn't load subscription status.
- Fork 9
fix: model register missing model-type and not accepting metadata #11
Merged
Conversation
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
mattf
reviewed
Jul 8, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you! this fixes both llamastack/llama-stack-client-python#215 and llamastack/llama-stack-client-python#216
mattf
approved these changes
Jul 9, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
raghotham
approved these changes
Jul 11, 2025
Merged
ashwinb
pushed a commit
that referenced
this pull request
Aug 6, 2025
Automated Release PR --- ## 0.2.17 (2025-08-06) Full Changelog: [v0.2.15...v0.2.17](llamastack/llama-stack-client-python@v0.2.15...v0.2.17) ### Features * **api:** update via SDK Studio ([9c69353](llamastack/llama-stack-client-python@9c69353)) * **api:** update via SDK Studio ([5f90b04](llamastack/llama-stack-client-python@5f90b04)) * **api:** update via SDK Studio ([6e26309](llamastack/llama-stack-client-python@6e26309)) * **api:** update via SDK Studio ([54ff3c4](llamastack/llama-stack-client-python@54ff3c4)) * **api:** update via SDK Studio ([a34c823](llamastack/llama-stack-client-python@a34c823)) * **api:** update via SDK Studio ([f6b80ca](llamastack/llama-stack-client-python@f6b80ca)) * **api:** update via SDK Studio ([2a4296d](llamastack/llama-stack-client-python@2a4296d)) * **api:** update via SDK Studio ([07691ac](llamastack/llama-stack-client-python@07691ac)) * **api:** update via SDK Studio ([585f9ce](llamastack/llama-stack-client-python@585f9ce)) * **api:** update via SDK Studio ([6d609e3](llamastack/llama-stack-client-python@6d609e3)) * **api:** update via SDK Studio ([3dbf2a4](llamastack/llama-stack-client-python@3dbf2a4)) * **api:** update via SDK Studio ([dd0ae96](llamastack/llama-stack-client-python@dd0ae96)) * **api:** update via SDK Studio ([80a2969](llamastack/llama-stack-client-python@80a2969)) * **api:** update via SDK Studio ([748e6db](llamastack/llama-stack-client-python@748e6db)) * **api:** update via SDK Studio ([b6fa2b1](llamastack/llama-stack-client-python@b6fa2b1)) * **api:** update via SDK Studio ([e97f870](llamastack/llama-stack-client-python@e97f870)) * **api:** update via SDK Studio ([489b54d](llamastack/llama-stack-client-python@489b54d)) * **api:** update via SDK Studio ([13cfa4a](llamastack/llama-stack-client-python@13cfa4a)) * **api:** update via SDK Studio ([25c1e49](llamastack/llama-stack-client-python@25c1e49)) * **api:** update via SDK Studio ([4a54d61](llamastack/llama-stack-client-python@4a54d61)) * **api:** update via SDK Studio ([ac4614a](llamastack/llama-stack-client-python@ac4614a)) * **api:** update via SDK Studio ([a201e22](llamastack/llama-stack-client-python@a201e22)) * **client:** support file upload requests ([e84459f](llamastack/llama-stack-client-python@e84459f)) * **client:** support file upload requests ([6c73da7](llamastack/llama-stack-client-python@6c73da7)) ### Bug Fixes * **ci:** correct conditional ([d7c2ab8](llamastack/llama-stack-client-python@d7c2ab8)) * **ci:** correct conditional ([4368fbd](llamastack/llama-stack-client-python@4368fbd)) * **client:** don't send Content-Type header on GET requests ([d6a80a5](llamastack/llama-stack-client-python@d6a80a5)) * **client:** don't send Content-Type header on GET requests ([c6e0026](llamastack/llama-stack-client-python@c6e0026)) * helptext for 'inspect version' and 'providers inspect' ([#8](llamastack/llama-stack-client-python#8)) ([d79345e](llamastack/llama-stack-client-python@d79345e)) * kill requirements.txt ([a6bd44c](llamastack/llama-stack-client-python@a6bd44c)) * model register missing model-type and not accepting metadata ([#11](llamastack/llama-stack-client-python#11)) ([f3f4515](llamastack/llama-stack-client-python@f3f4515)) * **parsing:** correctly handle nested discriminated unions ([9f95130](llamastack/llama-stack-client-python@9f95130)) * **parsing:** correctly handle nested discriminated unions ([8b7e9ba](llamastack/llama-stack-client-python@8b7e9ba)) * **parsing:** ignore empty metadata ([a8a398f](llamastack/llama-stack-client-python@a8a398f)) * **parsing:** ignore empty metadata ([264f24c](llamastack/llama-stack-client-python@264f24c)) * **parsing:** parse extra field types ([f981bdc](llamastack/llama-stack-client-python@f981bdc)) * **parsing:** parse extra field types ([d54c5db](llamastack/llama-stack-client-python@d54c5db)) * pre-commit formatting ([a83b1c3](llamastack/llama-stack-client-python@a83b1c3)) * update agent event logger ([#10](llamastack/llama-stack-client-python#10)) ([0a10b70](llamastack/llama-stack-client-python@0a10b70)) ### Chores * **ci:** change upload type ([7827103](llamastack/llama-stack-client-python@7827103)) * **ci:** change upload type ([5febc13](llamastack/llama-stack-client-python@5febc13)) * **ci:** only run for pushes and fork pull requests ([03a7636](llamastack/llama-stack-client-python@03a7636)) * **ci:** only run for pushes and fork pull requests ([c05df66](llamastack/llama-stack-client-python@c05df66)) * **ci:** only run for pushes and fork pull requests ([87c9d01](llamastack/llama-stack-client-python@87c9d01)) * **ci:** only run for pushes and fork pull requests ([9d04993](llamastack/llama-stack-client-python@9d04993)) * **ci:** only run for pushes and fork pull requests ([4da7f49](llamastack/llama-stack-client-python@4da7f49)) * **ci:** only run for pushes and fork pull requests ([8b37cd3](llamastack/llama-stack-client-python@8b37cd3)) * **ci:** only run for pushes and fork pull requests ([3f0a4b9](llamastack/llama-stack-client-python@3f0a4b9)) * **ci:** only run for pushes and fork pull requests ([8a1efad](llamastack/llama-stack-client-python@8a1efad)) * delete unused scripts based on rye ([dae6506](llamastack/llama-stack-client-python@dae6506)) * **internal:** bump pinned h11 dep ([4a7073f](llamastack/llama-stack-client-python@4a7073f)) * **internal:** bump pinned h11 dep ([0568d6d](llamastack/llama-stack-client-python@0568d6d)) * **internal:** codegen related update ([4d4afec](llamastack/llama-stack-client-python@4d4afec)) * **internal:** codegen related update ([7cd543f](llamastack/llama-stack-client-python@7cd543f)) * **internal:** codegen related update ([3165cad](llamastack/llama-stack-client-python@3165cad)) * **internal:** codegen related update ([c27a701](llamastack/llama-stack-client-python@c27a701)) * **internal:** codegen related update ([aa45ba3](llamastack/llama-stack-client-python@aa45ba3)) * **internal:** codegen related update ([5d6ccb5](llamastack/llama-stack-client-python@5d6ccb5)) * **internal:** fix ruff target version ([c50a0e0](llamastack/llama-stack-client-python@c50a0e0)) * **internal:** version bump ([5af7869](llamastack/llama-stack-client-python@5af7869)) * **internal:** version bump ([148be8d](llamastack/llama-stack-client-python@148be8d)) * **internal:** version bump ([86a0766](llamastack/llama-stack-client-python@86a0766)) * **internal:** version bump ([5d6cc6b](llamastack/llama-stack-client-python@5d6cc6b)) * **internal:** version bump ([cc7a519](llamastack/llama-stack-client-python@cc7a519)) * **internal:** version bump ([8f15ef0](llamastack/llama-stack-client-python@8f15ef0)) * **internal:** version bump ([f52cb89](llamastack/llama-stack-client-python@f52cb89)) * **internal:** version bump ([2e1a629](llamastack/llama-stack-client-python@2e1a629)) * **internal:** version bump ([da26ed0](llamastack/llama-stack-client-python@da26ed0)) * **internal:** version bump ([3727fa5](llamastack/llama-stack-client-python@3727fa5)) * **internal:** version bump ([443ce02](llamastack/llama-stack-client-python@443ce02)) * **internal:** version bump ([b2875ec](llamastack/llama-stack-client-python@b2875ec)) * **internal:** version bump ([9a4320d](llamastack/llama-stack-client-python@9a4320d)) * **internal:** version bump ([39155e5](llamastack/llama-stack-client-python@39155e5)) * **internal:** version bump ([607c7be](llamastack/llama-stack-client-python@607c7be)) * **internal:** version bump ([62901e7](llamastack/llama-stack-client-python@62901e7)) * **internal:** version bump ([4132af9](llamastack/llama-stack-client-python@4132af9)) * **internal:** version bump ([e6ae920](llamastack/llama-stack-client-python@e6ae920)) * **internal:** version bump ([96768dc](llamastack/llama-stack-client-python@96768dc)) * **internal:** version bump ([74f7eda](llamastack/llama-stack-client-python@74f7eda)) * **internal:** version bump ([d59862a](llamastack/llama-stack-client-python@d59862a)) * **internal:** version bump ([ce98414](llamastack/llama-stack-client-python@ce98414)) * **internal:** version bump ([9746774](llamastack/llama-stack-client-python@9746774)) * **internal:** version bump ([6114dbf](llamastack/llama-stack-client-python@6114dbf)) * **internal:** version bump ([02c9953](llamastack/llama-stack-client-python@02c9953)) * **internal:** version bump ([16f2953](llamastack/llama-stack-client-python@16f2953)) * **internal:** version bump ([c32029b](llamastack/llama-stack-client-python@c32029b)) * **internal:** version bump ([aef5dee](llamastack/llama-stack-client-python@aef5dee)) * **internal:** version bump ([590de6d](llamastack/llama-stack-client-python@590de6d)) * **internal:** version bump ([072269f](llamastack/llama-stack-client-python@072269f)) * **internal:** version bump ([eee6f0b](llamastack/llama-stack-client-python@eee6f0b)) * **internal:** version bump ([e6a964e](llamastack/llama-stack-client-python@e6a964e)) * **package:** mark python 3.13 as supported ([2afc17b](llamastack/llama-stack-client-python@2afc17b)) * **package:** mark python 3.13 as supported ([d1a4e40](llamastack/llama-stack-client-python@d1a4e40)) * **project:** add settings file for vscode ([405febd](llamastack/llama-stack-client-python@405febd)) * **project:** add settings file for vscode ([1dd3e53](llamastack/llama-stack-client-python@1dd3e53)) * **readme:** fix version rendering on pypi ([ca89c7f](llamastack/llama-stack-client-python@ca89c7f)) * **readme:** fix version rendering on pypi ([193fb64](llamastack/llama-stack-client-python@193fb64)) * update SDK settings ([2d422f9](llamastack/llama-stack-client-python@2d422f9)) * update SDK settings ([59b933c](llamastack/llama-stack-client-python@59b933c)) * update version ([10ef53e](llamastack/llama-stack-client-python@10ef53e)) ### Build System * Bump version to 0.2.14 ([745a94e](llamastack/llama-stack-client-python@745a94e)) * Bump version to 0.2.15 ([8700dc6](llamastack/llama-stack-client-python@8700dc6)) * Bump version to 0.2.15 ([4692024](llamastack/llama-stack-client-python@4692024)) * Bump version to 0.2.16 ([6ce9b84](llamastack/llama-stack-client-python@6ce9b84)) * Bump version to 0.2.17 ([69f67ef](llamastack/llama-stack-client-python@69f67ef)) --- 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:[email protected]) for help or questions --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
What does this PR do?
Added the ability to specify the model type when registering models.
Also fixed a bug with passing metadata which would result in the following error:
Closes: #215
Test Plan
Run the following commands