Skip to content

Conversation

yanxi0830
Copy link
Contributor

  • generate & sync evals/scoring/dataset/datasetio/scoring_functions api

@yanxi0830 yanxi0830 marked this pull request as ready for review October 30, 2024 23:47
@yanxi0830 yanxi0830 merged commit 6884cd1 into main Oct 30, 2024
3 checks passed
@yanxi0830 yanxi0830 deleted the stainless_sync_SWTBCkLn branch November 7, 2024 03:39
eranco74 pushed a commit to eranco74/llama-stack-client-python that referenced this pull request Jul 20, 2025
…amastack#11)

# 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:
```
Error Type: BadRequestError                                                                                                                                     │
│ Details: Error code: 400 - {'error': {'detail': {'errors': [{'loc': ['body', 'metadata'], 'msg': 'Input should be a valid dictionary', 'type': 'dict_type'}]}}}
```

Closes: llamastack#215
## Test Plan
Run the following commands
```
# Note a Llama Stack Server must be running
# Create a venv
uv sync --python 3.12
# Install the LSC with the new code changes
uv pip install -e .
# List the available models
llama-stack-client models list
# Register the granite-embedding-30m embedding model NOTE must have sentence-transformers as an inference provider
llama-stack-client models register granite-embedding-30m --provider-id "sentence-transformers" --provider-model-id ibm-granite/granite-embedding-30m-english --metadata '{"embedding_dimension": 384}' --model-type embedding
# Verify the embedding model added are present
llama-stack-client models list
```
cdoern pushed a commit to cdoern/llama-stack-client-python that referenced this pull request Aug 8, 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@9c69353))
* **api:** update via SDK Studio
([5f90b04](llamastack@5f90b04))
* **api:** update via SDK Studio
([6e26309](llamastack@6e26309))
* **api:** update via SDK Studio
([54ff3c4](llamastack@54ff3c4))
* **api:** update via SDK Studio
([a34c823](llamastack@a34c823))
* **api:** update via SDK Studio
([f6b80ca](llamastack@f6b80ca))
* **api:** update via SDK Studio
([2a4296d](llamastack@2a4296d))
* **api:** update via SDK Studio
([07691ac](llamastack@07691ac))
* **api:** update via SDK Studio
([585f9ce](llamastack@585f9ce))
* **api:** update via SDK Studio
([6d609e3](llamastack@6d609e3))
* **api:** update via SDK Studio
([3dbf2a4](llamastack@3dbf2a4))
* **api:** update via SDK Studio
([dd0ae96](llamastack@dd0ae96))
* **api:** update via SDK Studio
([80a2969](llamastack@80a2969))
* **api:** update via SDK Studio
([748e6db](llamastack@748e6db))
* **api:** update via SDK Studio
([b6fa2b1](llamastack@b6fa2b1))
* **api:** update via SDK Studio
([e97f870](llamastack@e97f870))
* **api:** update via SDK Studio
([489b54d](llamastack@489b54d))
* **api:** update via SDK Studio
([13cfa4a](llamastack@13cfa4a))
* **api:** update via SDK Studio
([25c1e49](llamastack@25c1e49))
* **api:** update via SDK Studio
([4a54d61](llamastack@4a54d61))
* **api:** update via SDK Studio
([ac4614a](llamastack@ac4614a))
* **api:** update via SDK Studio
([a201e22](llamastack@a201e22))
* **client:** support file upload requests
([e84459f](llamastack@e84459f))
* **client:** support file upload requests
([6c73da7](llamastack@6c73da7))


### Bug Fixes

* **ci:** correct conditional
([d7c2ab8](llamastack@d7c2ab8))
* **ci:** correct conditional
([4368fbd](llamastack@4368fbd))
* **client:** don't send Content-Type header on GET requests
([d6a80a5](llamastack@d6a80a5))
* **client:** don't send Content-Type header on GET requests
([c6e0026](llamastack@c6e0026))
* helptext for 'inspect version' and 'providers inspect'
([llamastack#8](llamastack#8))
([d79345e](llamastack@d79345e))
* kill requirements.txt
([a6bd44c](llamastack@a6bd44c))
* model register missing model-type and not accepting metadata
([llamastack#11](llamastack#11))
([f3f4515](llamastack@f3f4515))
* **parsing:** correctly handle nested discriminated unions
([9f95130](llamastack@9f95130))
* **parsing:** correctly handle nested discriminated unions
([8b7e9ba](llamastack@8b7e9ba))
* **parsing:** ignore empty metadata
([a8a398f](llamastack@a8a398f))
* **parsing:** ignore empty metadata
([264f24c](llamastack@264f24c))
* **parsing:** parse extra field types
([f981bdc](llamastack@f981bdc))
* **parsing:** parse extra field types
([d54c5db](llamastack@d54c5db))
* pre-commit formatting
([a83b1c3](llamastack@a83b1c3))
* update agent event logger
([llamastack#10](llamastack#10))
([0a10b70](llamastack@0a10b70))


### Chores

* **ci:** change upload type
([7827103](llamastack@7827103))
* **ci:** change upload type
([5febc13](llamastack@5febc13))
* **ci:** only run for pushes and fork pull requests
([03a7636](llamastack@03a7636))
* **ci:** only run for pushes and fork pull requests
([c05df66](llamastack@c05df66))
* **ci:** only run for pushes and fork pull requests
([87c9d01](llamastack@87c9d01))
* **ci:** only run for pushes and fork pull requests
([9d04993](llamastack@9d04993))
* **ci:** only run for pushes and fork pull requests
([4da7f49](llamastack@4da7f49))
* **ci:** only run for pushes and fork pull requests
([8b37cd3](llamastack@8b37cd3))
* **ci:** only run for pushes and fork pull requests
([3f0a4b9](llamastack@3f0a4b9))
* **ci:** only run for pushes and fork pull requests
([8a1efad](llamastack@8a1efad))
* delete unused scripts based on rye
([dae6506](llamastack@dae6506))
* **internal:** bump pinned h11 dep
([4a7073f](llamastack@4a7073f))
* **internal:** bump pinned h11 dep
([0568d6d](llamastack@0568d6d))
* **internal:** codegen related update
([4d4afec](llamastack@4d4afec))
* **internal:** codegen related update
([7cd543f](llamastack@7cd543f))
* **internal:** codegen related update
([3165cad](llamastack@3165cad))
* **internal:** codegen related update
([c27a701](llamastack@c27a701))
* **internal:** codegen related update
([aa45ba3](llamastack@aa45ba3))
* **internal:** codegen related update
([5d6ccb5](llamastack@5d6ccb5))
* **internal:** fix ruff target version
([c50a0e0](llamastack@c50a0e0))
* **internal:** version bump
([5af7869](llamastack@5af7869))
* **internal:** version bump
([148be8d](llamastack@148be8d))
* **internal:** version bump
([86a0766](llamastack@86a0766))
* **internal:** version bump
([5d6cc6b](llamastack@5d6cc6b))
* **internal:** version bump
([cc7a519](llamastack@cc7a519))
* **internal:** version bump
([8f15ef0](llamastack@8f15ef0))
* **internal:** version bump
([f52cb89](llamastack@f52cb89))
* **internal:** version bump
([2e1a629](llamastack@2e1a629))
* **internal:** version bump
([da26ed0](llamastack@da26ed0))
* **internal:** version bump
([3727fa5](llamastack@3727fa5))
* **internal:** version bump
([443ce02](llamastack@443ce02))
* **internal:** version bump
([b2875ec](llamastack@b2875ec))
* **internal:** version bump
([9a4320d](llamastack@9a4320d))
* **internal:** version bump
([39155e5](llamastack@39155e5))
* **internal:** version bump
([607c7be](llamastack@607c7be))
* **internal:** version bump
([62901e7](llamastack@62901e7))
* **internal:** version bump
([4132af9](llamastack@4132af9))
* **internal:** version bump
([e6ae920](llamastack@e6ae920))
* **internal:** version bump
([96768dc](llamastack@96768dc))
* **internal:** version bump
([74f7eda](llamastack@74f7eda))
* **internal:** version bump
([d59862a](llamastack@d59862a))
* **internal:** version bump
([ce98414](llamastack@ce98414))
* **internal:** version bump
([9746774](llamastack@9746774))
* **internal:** version bump
([6114dbf](llamastack@6114dbf))
* **internal:** version bump
([02c9953](llamastack@02c9953))
* **internal:** version bump
([16f2953](llamastack@16f2953))
* **internal:** version bump
([c32029b](llamastack@c32029b))
* **internal:** version bump
([aef5dee](llamastack@aef5dee))
* **internal:** version bump
([590de6d](llamastack@590de6d))
* **internal:** version bump
([072269f](llamastack@072269f))
* **internal:** version bump
([eee6f0b](llamastack@eee6f0b))
* **internal:** version bump
([e6a964e](llamastack@e6a964e))
* **package:** mark python 3.13 as supported
([2afc17b](llamastack@2afc17b))
* **package:** mark python 3.13 as supported
([d1a4e40](llamastack@d1a4e40))
* **project:** add settings file for vscode
([405febd](llamastack@405febd))
* **project:** add settings file for vscode
([1dd3e53](llamastack@1dd3e53))
* **readme:** fix version rendering on pypi
([ca89c7f](llamastack@ca89c7f))
* **readme:** fix version rendering on pypi
([193fb64](llamastack@193fb64))
* update SDK settings
([2d422f9](llamastack@2d422f9))
* update SDK settings
([59b933c](llamastack@59b933c))
* update version
([10ef53e](llamastack@10ef53e))


### Build System

* Bump version to 0.2.14
([745a94e](llamastack@745a94e))
* Bump version to 0.2.15
([8700dc6](llamastack@8700dc6))
* Bump version to 0.2.15
([4692024](llamastack@4692024))
* Bump version to 0.2.16
([6ce9b84](llamastack@6ce9b84))
* Bump version to 0.2.17
([69f67ef](llamastack@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:support@stainlessapi.com) for help or questions

---------

Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants