Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
99057fd
feat!: improve consistency of post-training API endpoints
stainless-app[bot] Feb 5, 2026
612291e
chore(internal): bump dependencies
stainless-app[bot] Feb 10, 2026
a712f33
codegen metadata
stainless-app[bot] Feb 11, 2026
17a2705
chore(api): minor updates
stainless-app[bot] Feb 11, 2026
ea58fd8
fix(vector_io): align Protocol signatures with request models
stainless-app[bot] Feb 11, 2026
a0f6975
chore(internal): fix lint error on Python 3.14
stainless-app[bot] Feb 12, 2026
7501365
feat: Add truncation parameter support
stainless-app[bot] Feb 12, 2026
6b45699
feat: Add prompt_cache_key parameter support
stainless-app[bot] Feb 12, 2026
0e3e262
chore: format all `api.md` files
stainless-app[bot] Feb 13, 2026
e58e2e4
fix(inference): use flat response message model for chat/completions
stainless-app[bot] Feb 13, 2026
784dfa2
codegen metadata
stainless-app[bot] Feb 13, 2026
3974d5d
fix: align chat completion usage schema with OpenAI spec
stainless-app[bot] Feb 18, 2026
c0bea05
codegen metadata
stainless-app[bot] Feb 19, 2026
4f8bf45
feat: add support for /responses background parameter
stainless-app[bot] Feb 19, 2026
89ec5a7
feat(vector_io): Implement Contextual Retrieval for improved RAG sear…
stainless-app[bot] Feb 19, 2026
92cb087
chore: update mock server docs
stainless-app[bot] Feb 19, 2026
2ecc682
chore(internal): add request options to SSE classes
stainless-app[bot] Feb 23, 2026
6bc2bb4
chore(internal): make `test_proxy_environment_variables` more resilient
stainless-app[bot] Feb 23, 2026
23e3b9f
feat: add top_p parameter support to responses API
stainless-app[bot] Feb 24, 2026
44bbae1
chore(internal): make `test_proxy_environment_variables` more resilie…
stainless-app[bot] Feb 24, 2026
2196986
feat: Add top_logprobs parameter support
stainless-app[bot] Feb 25, 2026
56d39cc
feat: add support for 'frequency_penalty' param to Responses API
stainless-app[bot] Feb 25, 2026
4f57d15
feat: add support for 'presence_penalty' param to Responses API
stainless-app[bot] Feb 25, 2026
631ab2c
fix(responses): achieve full OpenResponses conformance — 6/6 tests pa…
stainless-app[bot] Feb 25, 2026
f6f1fc3
feat: accept list content blocks in Responses API function_call_output
stainless-app[bot] Feb 26, 2026
f014d4c
chore(ci): bump uv version
stainless-app[bot] Feb 26, 2026
f1a093b
chore(docs): add missing descriptions
stainless-app[bot] Feb 27, 2026
06862c6
release: 0.5.0-alpha.3
stainless-app[bot] Feb 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
version: '0.9.13'
version: '0.10.2'

- name: Install dependencies
run: uv sync --all-extras
Expand All @@ -47,7 +47,7 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
version: '0.9.13'
version: '0.10.2'

- name: Install dependencies
run: uv sync --all-extras
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
version: '0.9.13'
version: '0.10.2'

- name: Bootstrap
run: ./scripts/bootstrap
Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.5.0-alpha.2"
".": "0.5.0-alpha.3"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 108
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/llamastack%2Fllama-stack-client-958e990011d6b4c27513743a151ec4c80c3103650a80027380d15f1d6b108e32.yml
openapi_spec_hash: 5b49d825dbc2a26726ca752914a65114
config_hash: 19b84a0a93d566334ae134dafc71991f
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/llamastack%2Fllama-stack-client-ef864e1fd05e4fda60d0c67ea0f8d49db03efcfaddb0b28c561962a695510f6e.yml
openapi_spec_hash: fd0140251c983c3788c9da642426f1ba
config_hash: 6aa61d4143c3e3df785972c0287d1370
44 changes: 44 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,49 @@
# Changelog

## 0.5.0-alpha.3 (2026-02-27)

Full Changelog: [v0.5.0-alpha.2...v0.5.0-alpha.3](https://github.com/llamastack/llama-stack-client-python/compare/v0.5.0-alpha.2...v0.5.0-alpha.3)

### ⚠ BREAKING CHANGES

* improve consistency of post-training API endpoints

### Features

* accept list content blocks in Responses API function_call_output ([f6f1fc3](https://github.com/llamastack/llama-stack-client-python/commit/f6f1fc36008f4fdb7af19aa2aabfcd2482d4a1bc))
* Add prompt_cache_key parameter support ([6b45699](https://github.com/llamastack/llama-stack-client-python/commit/6b45699185d934a5f8395c5cc3046f6c5aceb770))
* add support for 'frequency_penalty' param to Responses API ([56d39cc](https://github.com/llamastack/llama-stack-client-python/commit/56d39cc9ff9d6f54e303fc377d605ae17bac9584))
* add support for 'presence_penalty' param to Responses API ([4f57d15](https://github.com/llamastack/llama-stack-client-python/commit/4f57d159caba431676dced864f8f0871c3692f7b))
* add support for /responses background parameter ([4f8bf45](https://github.com/llamastack/llama-stack-client-python/commit/4f8bf4526e529a74b9c53cac6df8e4beb2808d60))
* Add top_logprobs parameter support ([2196986](https://github.com/llamastack/llama-stack-client-python/commit/21969867a82596e8be0aeeddbb6d8ccedf3e0f8b))
* add top_p parameter support to responses API ([23e3b9f](https://github.com/llamastack/llama-stack-client-python/commit/23e3b9fcf7a23378c200604d0f57dc5a9e6a8527))
* Add truncation parameter support ([7501365](https://github.com/llamastack/llama-stack-client-python/commit/7501365fe89795e87accfb6b1f2329da25d0efeb))
* improve consistency of post-training API endpoints ([99057fd](https://github.com/llamastack/llama-stack-client-python/commit/99057fdc74bafdf54479674ba75b447cd4681cb6))
* **vector_io:** Implement Contextual Retrieval for improved RAG search quality ([89ec5a7](https://github.com/llamastack/llama-stack-client-python/commit/89ec5a7bf405e688bd404877e49ab1ee9b49bf7e))


### Bug Fixes

* align chat completion usage schema with OpenAI spec ([3974d5d](https://github.com/llamastack/llama-stack-client-python/commit/3974d5db8270e2548d0cdd54204c1603ca7a84a8))
* Enabled models list works ([#314](https://github.com/llamastack/llama-stack-client-python/issues/314)) ([acd5e64](https://github.com/llamastack/llama-stack-client-python/commit/acd5e64a9e82083192a31f85f9c810291cabcadb))
* **inference:** use flat response message model for chat/completions ([e58e2e4](https://github.com/llamastack/llama-stack-client-python/commit/e58e2e4dee9c9bbb72e4903e30f169991d10e545))
* **responses:** achieve full OpenResponses conformance — 6/6 tests passing ([631ab2c](https://github.com/llamastack/llama-stack-client-python/commit/631ab2c19c7cd33ac81598a795ae8be93bdd5a4b))
* **vector_io:** align Protocol signatures with request models ([ea58fd8](https://github.com/llamastack/llama-stack-client-python/commit/ea58fd88201ef59e580443688100cafe45f305c0))


### Chores

* **api:** minor updates ([17a2705](https://github.com/llamastack/llama-stack-client-python/commit/17a270528b503591de15f9e9fcbc378007b75eda))
* **ci:** bump uv version ([f014d4c](https://github.com/llamastack/llama-stack-client-python/commit/f014d4ca0301a48078c4692cfa828016cb92c52e))
* **docs:** add missing descriptions ([f1a093b](https://github.com/llamastack/llama-stack-client-python/commit/f1a093b71b5ae56f23143268ab68d851b6336ae9))
* format all `api.md` files ([0e3e262](https://github.com/llamastack/llama-stack-client-python/commit/0e3e2626081ca9268297742990368c7ed6493b40))
* **internal:** add request options to SSE classes ([2ecc682](https://github.com/llamastack/llama-stack-client-python/commit/2ecc682c1fccc86c643ad3da40e5134352745525))
* **internal:** bump dependencies ([612291e](https://github.com/llamastack/llama-stack-client-python/commit/612291e2142b710cdd643af16bbe83e514f7a44e))
* **internal:** fix lint error on Python 3.14 ([a0f6975](https://github.com/llamastack/llama-stack-client-python/commit/a0f69750827b016bb27a52bdd77fcbbacd311020))
* **internal:** make `test_proxy_environment_variables` more resilient ([6bc2bb4](https://github.com/llamastack/llama-stack-client-python/commit/6bc2bb4e81b16d23e20090f45dbd8a53a63c158d))
* **internal:** make `test_proxy_environment_variables` more resilient to env ([44bbae1](https://github.com/llamastack/llama-stack-client-python/commit/44bbae12bb8b4f72d1fb50db29bedd69f30340b7))
* update mock server docs ([92cb087](https://github.com/llamastack/llama-stack-client-python/commit/92cb087355ffa1fd50e3a35b8e888853784c9fe9))

## 0.5.0-alpha.2 (2026-02-05)

Full Changelog: [v0.5.0-alpha.1...v0.5.0-alpha.2](https://github.com/llamastack/llama-stack-client-python/compare/v0.5.0-alpha.1...v0.5.0-alpha.2)
Expand Down
3 changes: 1 addition & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ $ pip install ./path-to-wheel-file.whl
Most tests require you to [set up a mock server](https://github.com/stoplightio/prism) against the OpenAPI spec to run the tests.

```sh
# you will need npm installed
$ npx prism mock path/to/your/openapi.yml
$ ./scripts/mock
```

```sh
Expand Down
6 changes: 3 additions & 3 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -474,9 +474,9 @@ from llama_stack_client.types.alpha.post_training import (
Methods:

- <code title="get /v1alpha/post-training/jobs">client.alpha.post_training.job.<a href="./src/llama_stack_client/resources/alpha/post_training/job.py">list</a>() -> <a href="./src/llama_stack_client/types/alpha/post_training/job_list_response.py">JobListResponse</a></code>
- <code title="get /v1alpha/post-training/job/artifacts">client.alpha.post_training.job.<a href="./src/llama_stack_client/resources/alpha/post_training/job.py">artifacts</a>() -> <a href="./src/llama_stack_client/types/alpha/post_training/job_artifacts_response.py">JobArtifactsResponse</a></code>
- <code title="post /v1alpha/post-training/job/cancel">client.alpha.post_training.job.<a href="./src/llama_stack_client/resources/alpha/post_training/job.py">cancel</a>() -> None</code>
- <code title="get /v1alpha/post-training/job/status">client.alpha.post_training.job.<a href="./src/llama_stack_client/resources/alpha/post_training/job.py">status</a>() -> <a href="./src/llama_stack_client/types/alpha/post_training/job_status_response.py">JobStatusResponse</a></code>
- <code title="get /v1alpha/post-training/jobs/{job_uuid}/artifacts">client.alpha.post_training.job.<a href="./src/llama_stack_client/resources/alpha/post_training/job.py">artifacts</a>(job_uuid) -> <a href="./src/llama_stack_client/types/alpha/post_training/job_artifacts_response.py">JobArtifactsResponse</a></code>
- <code title="post /v1alpha/post-training/jobs/{job_uuid}/cancel">client.alpha.post_training.job.<a href="./src/llama_stack_client/resources/alpha/post_training/job.py">cancel</a>(job_uuid) -> None</code>
- <code title="get /v1alpha/post-training/jobs/{job_uuid}/status">client.alpha.post_training.job.<a href="./src/llama_stack_client/resources/alpha/post_training/job.py">status</a>(job_uuid) -> <a href="./src/llama_stack_client/types/alpha/post_training/job_status_response.py">JobStatusResponse</a></code>

## Benchmarks

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "llama_stack_client"
version = "0.5.0-alpha.2"
version = "0.5.0-alpha.3"
description = "The official Python library for the llama-stack-client API"
dynamic = ["readme"]
license = "MIT"
Expand Down
24 changes: 12 additions & 12 deletions requirements-dev.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
-e .
annotated-types==0.7.0
# via pydantic
anyio==4.12.0
anyio==4.12.1
# via
# httpx
# llama-stack-client
black==26.1.0
certifi==2025.11.12
certifi==2026.1.4
# via
# httpcore
# httpx
Expand Down Expand Up @@ -52,7 +52,7 @@ idna==3.11
# anyio
# httpx
# requests
importlib-metadata==8.7.0
importlib-metadata==8.7.1
iniconfig==2.3.0
# via pytest
markdown-it-py==4.0.0
Expand All @@ -64,11 +64,11 @@ mypy-extensions==1.1.0
# via
# black
# mypy
nodeenv==1.9.1
nodeenv==1.10.0
# via
# pre-commit
# pyright
numpy==2.4.1
numpy==2.4.2
# via pandas
packaging==25.0
# via
Expand All @@ -89,7 +89,7 @@ pluggy==1.6.0
pre-commit==4.5.1
prompt-toolkit==3.0.52
# via llama-stack-client
pyaml==25.7.0
pyaml==26.2.1
# via llama-stack-client
pydantic==2.12.5
# via llama-stack-client
Expand All @@ -100,15 +100,15 @@ pygments==2.19.2
# pytest
# rich
pyright==1.1.399
pytest==9.0.1
pytest==9.0.2
# via
# pytest-asyncio
# pytest-xdist
pytest-asyncio==1.3.0
pytest-xdist==3.8.0
python-dateutil==2.9.0.post0
# via pandas
pytokens==0.4.0
pytokens==0.4.1
# via black
pyyaml==6.0.3
# via
Expand All @@ -119,7 +119,7 @@ requests==2.32.5
respx==0.22.0
rich==14.2.0
# via llama-stack-client
ruff==0.14.7
ruff==0.14.13
six==1.17.0
# via python-dateutil
sniffio==1.3.1
Expand All @@ -128,8 +128,8 @@ termcolor==3.3.0
# via
# fire
# llama-stack-client
time-machine==3.1.0
tqdm==4.67.1
time-machine==3.2.0
tqdm==4.67.3
# via llama-stack-client
typing-extensions==4.15.0
# via
Expand All @@ -149,7 +149,7 @@ urllib3==2.6.3
# via requests
virtualenv==20.36.1
# via pre-commit
wcwidth==0.3.1
wcwidth==0.6.0
# via prompt-toolkit
zipp==3.23.0
# via importlib-metadata
2 changes: 1 addition & 1 deletion scripts/format
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ uv run ruff check --fix .
uv run ruff format

echo "==> Formatting docs"
uv run python scripts/utils/ruffen-docs.py README.md api.md
uv run python scripts/utils/ruffen-docs.py README.md $(find . -type f -name api.md)
Loading
Loading