Skip to content

Commit e932a74

Browse files
release: 1.1.0-alpha.3 (#345)
Automated Release PR --- ## 1.1.0-alpha.3 (2026-06-11) Full Changelog: [v0.8.0-alpha.2...v1.1.0-alpha.3](v0.8.0-alpha.2...v1.1.0-alpha.3) ### ⚠ BREAKING CHANGES * **api:** add post-generation schema transforms for Responses API conformance ### Features * **responses:** add WebSocket transport and fix OpenResponses conformance gaps ([e470f35](e470f35)) ### Bug Fixes * **api:** add post-generation schema transforms for Responses API conformance ([96d1529](96d1529)) * **api:** eliminate schema mismatches in Responses compact endpoint ([28931c4](28931c4)) * **api:** fix field-level schema mismatches in Responses models ([aa50fe9](aa50fe9)) * **brave-search:** align result slicing with search_context_size count ([40f7162](40f7162)) --- 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>
1 parent 71df524 commit e932a74

22 files changed

Lines changed: 1147 additions & 79 deletions

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
runs-on: ${{ github.repository == 'stainless-sdks/llama-stack-client-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
2323
if: (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
2424
steps:
25-
- uses: actions/checkout@v6
25+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2626

2727
- name: Install uv
28-
uses: astral-sh/setup-uv@v5
28+
uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5.4.2
2929
with:
3030
version: '0.10.2'
3131

@@ -44,10 +44,10 @@ jobs:
4444
id-token: write
4545
runs-on: ${{ github.repository == 'stainless-sdks/llama-stack-client-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
4646
steps:
47-
- uses: actions/checkout@v6
47+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4848

4949
- name: Install uv
50-
uses: astral-sh/setup-uv@v5
50+
uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5.4.2
5151
with:
5252
version: '0.10.2'
5353

@@ -62,7 +62,7 @@ jobs:
6262
github.repository == 'stainless-sdks/llama-stack-client-python' &&
6363
!startsWith(github.ref, 'refs/heads/stl/')
6464
id: github-oidc
65-
uses: actions/github-script@v8
65+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
6666
with:
6767
script: core.setOutput('github_token', await core.getIDToken());
6868

@@ -82,10 +82,10 @@ jobs:
8282
runs-on: ${{ github.repository == 'stainless-sdks/llama-stack-client-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
8383
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
8484
steps:
85-
- uses: actions/checkout@v6
85+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
8686

8787
- name: Install uv
88-
uses: astral-sh/setup-uv@v5
88+
uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5.4.2
8989
with:
9090
version: '0.10.2'
9191

.github/workflows/publish-pypi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v6
17+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1818

1919
- name: Install uv
20-
uses: astral-sh/setup-uv@v5
20+
uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5.4.2
2121
with:
2222
version: '0.9.13'
2323

.github/workflows/release-doctor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
if: github.repository == 'ogx-ai/ogx-client-python' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')
1313

1414
steps:
15-
- uses: actions/checkout@v6
15+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1616

1717
- name: Check release environment
1818
run: |

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.8.0-alpha.2"
2+
".": "1.1.0-alpha.3"
33
}

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 67
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/llamastack/llama-stack-client-0a1c852eda740c79412d2aa642e24f7ed057e69e472885e8fb9463e3d5515b55.yml
3-
openapi_spec_hash: 36c10a2fd3d75032e220697bd5b30b7f
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/llamastack/llama-stack-client-7f49892b4f9f8b421343f703c14da6fd5a93bba1baada52c1fe72da0e79fcf8e.yml
3+
openapi_spec_hash: 9c2a6e9e73f135654d42469299b01daa
44
config_hash: 3d294831d7b8066ba59a8934b980a943

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# Changelog
22

3+
## 1.1.0-alpha.3 (2026-06-11)
4+
5+
Full Changelog: [v0.8.0-alpha.2...v1.1.0-alpha.3](https://github.com/ogx-ai/ogx-client-python/compare/v0.8.0-alpha.2...v1.1.0-alpha.3)
6+
7+
### ⚠ BREAKING CHANGES
8+
9+
* **api:** add post-generation schema transforms for Responses API conformance
10+
11+
### Features
12+
13+
* **responses:** add WebSocket transport and fix OpenResponses conformance gaps ([e470f35](https://github.com/ogx-ai/ogx-client-python/commit/e470f354f25f09fc3400a9b66657f3f077dce95b))
14+
15+
16+
### Bug Fixes
17+
18+
* **api:** add post-generation schema transforms for Responses API conformance ([96d1529](https://github.com/ogx-ai/ogx-client-python/commit/96d1529b8003b26fd016974140f6eb9618037cc8))
19+
* **api:** eliminate schema mismatches in Responses compact endpoint ([28931c4](https://github.com/ogx-ai/ogx-client-python/commit/28931c4593e69479179de766e9419bd092e603af))
20+
* **api:** fix field-level schema mismatches in Responses models ([aa50fe9](https://github.com/ogx-ai/ogx-client-python/commit/aa50fe9861d4642231fc4ea2d3925220b7bc25ac))
21+
* **brave-search:** align result slicing with search_context_size count ([40f7162](https://github.com/ogx-ai/ogx-client-python/commit/40f71628597b92ed14c6ae3445e09ffb2927da53))
22+
323
## 0.8.0-alpha.2 (2026-05-12)
424

525
Full Changelog: [v0.8.0-alpha.1...v0.8.0-alpha.2](https://github.com/ogx-ai/ogx-client-python/compare/v0.8.0-alpha.1...v0.8.0-alpha.2)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "ogx_client"
3-
version = "0.8.0-alpha.2"
3+
version = "1.1.0-alpha.3"
44
description = "The official Python library for the ogx-client API"
55
dynamic = ["readme"]
66
license = "MIT"

src/ogx_client/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "ogx_client"
4-
__version__ = "0.8.0-alpha.2" # x-release-please-version
4+
__version__ = "1.1.0-alpha.3" # x-release-please-version

src/ogx_client/resources/responses/responses.py

Lines changed: 40 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ def create(
107107
prompt: Optional[response_create_params.Prompt] | Omit = omit,
108108
prompt_cache_key: Optional[str] | Omit = omit,
109109
reasoning: Optional[response_create_params.Reasoning] | Omit = omit,
110+
safety_identifier: Optional[str] | Omit = omit,
110111
service_tier: Optional[Literal["auto", "default", "flex", "priority"]] | Omit = omit,
111112
store: bool | Omit = omit,
112113
stream: Literal[False] | Omit = omit,
@@ -117,7 +118,7 @@ def create(
117118
tools: Optional[Iterable[response_create_params.Tool]] | Omit = omit,
118119
top_logprobs: Optional[int] | Omit = omit,
119120
top_p: Optional[float] | Omit = omit,
120-
truncation: Optional[Literal["auto", "disabled"]] | Omit = omit,
121+
truncation: Literal["auto", "disabled"] | Omit = omit,
121122
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
122123
# The extra values given here take precedence over values defined on the client or passed to this method.
123124
extra_headers: Headers | None = None,
@@ -169,6 +170,9 @@ def create(
169170
170171
Controls how much reasoning the model performs before generating a response.
171172
173+
safety_identifier: A stable identifier used to associate the request with an end user, for safety
174+
monitoring. Echoed back on the response.
175+
172176
service_tier: The service tier for the request.
173177
174178
store: Whether to store the response in the database.
@@ -243,6 +247,7 @@ def create(
243247
prompt: Optional[response_create_params.Prompt] | Omit = omit,
244248
prompt_cache_key: Optional[str] | Omit = omit,
245249
reasoning: Optional[response_create_params.Reasoning] | Omit = omit,
250+
safety_identifier: Optional[str] | Omit = omit,
246251
service_tier: Optional[Literal["auto", "default", "flex", "priority"]] | Omit = omit,
247252
store: bool | Omit = omit,
248253
stream_options: Optional[response_create_params.StreamOptions] | Omit = omit,
@@ -252,7 +257,7 @@ def create(
252257
tools: Optional[Iterable[response_create_params.Tool]] | Omit = omit,
253258
top_logprobs: Optional[int] | Omit = omit,
254259
top_p: Optional[float] | Omit = omit,
255-
truncation: Optional[Literal["auto", "disabled"]] | Omit = omit,
260+
truncation: Literal["auto", "disabled"] | Omit = omit,
256261
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
257262
# The extra values given here take precedence over values defined on the client or passed to this method.
258263
extra_headers: Headers | None = None,
@@ -306,6 +311,9 @@ def create(
306311
307312
Controls how much reasoning the model performs before generating a response.
308313
314+
safety_identifier: A stable identifier used to associate the request with an end user, for safety
315+
monitoring. Echoed back on the response.
316+
309317
service_tier: The service tier for the request.
310318
311319
store: Whether to store the response in the database.
@@ -378,6 +386,7 @@ def create(
378386
prompt: Optional[response_create_params.Prompt] | Omit = omit,
379387
prompt_cache_key: Optional[str] | Omit = omit,
380388
reasoning: Optional[response_create_params.Reasoning] | Omit = omit,
389+
safety_identifier: Optional[str] | Omit = omit,
381390
service_tier: Optional[Literal["auto", "default", "flex", "priority"]] | Omit = omit,
382391
store: bool | Omit = omit,
383392
stream_options: Optional[response_create_params.StreamOptions] | Omit = omit,
@@ -387,7 +396,7 @@ def create(
387396
tools: Optional[Iterable[response_create_params.Tool]] | Omit = omit,
388397
top_logprobs: Optional[int] | Omit = omit,
389398
top_p: Optional[float] | Omit = omit,
390-
truncation: Optional[Literal["auto", "disabled"]] | Omit = omit,
399+
truncation: Literal["auto", "disabled"] | Omit = omit,
391400
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
392401
# The extra values given here take precedence over values defined on the client or passed to this method.
393402
extra_headers: Headers | None = None,
@@ -441,6 +450,9 @@ def create(
441450
442451
Controls how much reasoning the model performs before generating a response.
443452
453+
safety_identifier: A stable identifier used to associate the request with an end user, for safety
454+
monitoring. Echoed back on the response.
455+
444456
service_tier: The service tier for the request.
445457
446458
store: Whether to store the response in the database.
@@ -512,6 +524,7 @@ def create(
512524
prompt: Optional[response_create_params.Prompt] | Omit = omit,
513525
prompt_cache_key: Optional[str] | Omit = omit,
514526
reasoning: Optional[response_create_params.Reasoning] | Omit = omit,
527+
safety_identifier: Optional[str] | Omit = omit,
515528
service_tier: Optional[Literal["auto", "default", "flex", "priority"]] | Omit = omit,
516529
store: bool | Omit = omit,
517530
stream: Literal[False] | Literal[True] | Omit = omit,
@@ -522,7 +535,7 @@ def create(
522535
tools: Optional[Iterable[response_create_params.Tool]] | Omit = omit,
523536
top_logprobs: Optional[int] | Omit = omit,
524537
top_p: Optional[float] | Omit = omit,
525-
truncation: Optional[Literal["auto", "disabled"]] | Omit = omit,
538+
truncation: Literal["auto", "disabled"] | Omit = omit,
526539
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
527540
# The extra values given here take precedence over values defined on the client or passed to this method.
528541
extra_headers: Headers | None = None,
@@ -552,6 +565,7 @@ def create(
552565
"prompt": prompt,
553566
"prompt_cache_key": prompt_cache_key,
554567
"reasoning": reasoning,
568+
"safety_identifier": safety_identifier,
555569
"service_tier": service_tier,
556570
"store": store,
557571
"stream": stream,
@@ -704,7 +718,7 @@ def delete(
704718
def compact(
705719
self,
706720
*,
707-
model: str,
721+
model: Optional[str],
708722
input: Union[
709723
str,
710724
Iterable[
@@ -732,7 +746,7 @@ def compact(
732746
preserving context. This endpoint is in alpha and may change without notice.
733747
734748
Args:
735-
model: The model to use for generating the compacted summary.
749+
model: Model identifier.
736750
737751
input: Input message(s) to compact.
738752
@@ -854,6 +868,7 @@ async def create(
854868
prompt: Optional[response_create_params.Prompt] | Omit = omit,
855869
prompt_cache_key: Optional[str] | Omit = omit,
856870
reasoning: Optional[response_create_params.Reasoning] | Omit = omit,
871+
safety_identifier: Optional[str] | Omit = omit,
857872
service_tier: Optional[Literal["auto", "default", "flex", "priority"]] | Omit = omit,
858873
store: bool | Omit = omit,
859874
stream: Literal[False] | Omit = omit,
@@ -864,7 +879,7 @@ async def create(
864879
tools: Optional[Iterable[response_create_params.Tool]] | Omit = omit,
865880
top_logprobs: Optional[int] | Omit = omit,
866881
top_p: Optional[float] | Omit = omit,
867-
truncation: Optional[Literal["auto", "disabled"]] | Omit = omit,
882+
truncation: Literal["auto", "disabled"] | Omit = omit,
868883
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
869884
# The extra values given here take precedence over values defined on the client or passed to this method.
870885
extra_headers: Headers | None = None,
@@ -916,6 +931,9 @@ async def create(
916931
917932
Controls how much reasoning the model performs before generating a response.
918933
934+
safety_identifier: A stable identifier used to associate the request with an end user, for safety
935+
monitoring. Echoed back on the response.
936+
919937
service_tier: The service tier for the request.
920938
921939
store: Whether to store the response in the database.
@@ -990,6 +1008,7 @@ async def create(
9901008
prompt: Optional[response_create_params.Prompt] | Omit = omit,
9911009
prompt_cache_key: Optional[str] | Omit = omit,
9921010
reasoning: Optional[response_create_params.Reasoning] | Omit = omit,
1011+
safety_identifier: Optional[str] | Omit = omit,
9931012
service_tier: Optional[Literal["auto", "default", "flex", "priority"]] | Omit = omit,
9941013
store: bool | Omit = omit,
9951014
stream_options: Optional[response_create_params.StreamOptions] | Omit = omit,
@@ -999,7 +1018,7 @@ async def create(
9991018
tools: Optional[Iterable[response_create_params.Tool]] | Omit = omit,
10001019
top_logprobs: Optional[int] | Omit = omit,
10011020
top_p: Optional[float] | Omit = omit,
1002-
truncation: Optional[Literal["auto", "disabled"]] | Omit = omit,
1021+
truncation: Literal["auto", "disabled"] | Omit = omit,
10031022
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
10041023
# The extra values given here take precedence over values defined on the client or passed to this method.
10051024
extra_headers: Headers | None = None,
@@ -1053,6 +1072,9 @@ async def create(
10531072
10541073
Controls how much reasoning the model performs before generating a response.
10551074
1075+
safety_identifier: A stable identifier used to associate the request with an end user, for safety
1076+
monitoring. Echoed back on the response.
1077+
10561078
service_tier: The service tier for the request.
10571079
10581080
store: Whether to store the response in the database.
@@ -1125,6 +1147,7 @@ async def create(
11251147
prompt: Optional[response_create_params.Prompt] | Omit = omit,
11261148
prompt_cache_key: Optional[str] | Omit = omit,
11271149
reasoning: Optional[response_create_params.Reasoning] | Omit = omit,
1150+
safety_identifier: Optional[str] | Omit = omit,
11281151
service_tier: Optional[Literal["auto", "default", "flex", "priority"]] | Omit = omit,
11291152
store: bool | Omit = omit,
11301153
stream_options: Optional[response_create_params.StreamOptions] | Omit = omit,
@@ -1134,7 +1157,7 @@ async def create(
11341157
tools: Optional[Iterable[response_create_params.Tool]] | Omit = omit,
11351158
top_logprobs: Optional[int] | Omit = omit,
11361159
top_p: Optional[float] | Omit = omit,
1137-
truncation: Optional[Literal["auto", "disabled"]] | Omit = omit,
1160+
truncation: Literal["auto", "disabled"] | Omit = omit,
11381161
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
11391162
# The extra values given here take precedence over values defined on the client or passed to this method.
11401163
extra_headers: Headers | None = None,
@@ -1188,6 +1211,9 @@ async def create(
11881211
11891212
Controls how much reasoning the model performs before generating a response.
11901213
1214+
safety_identifier: A stable identifier used to associate the request with an end user, for safety
1215+
monitoring. Echoed back on the response.
1216+
11911217
service_tier: The service tier for the request.
11921218
11931219
store: Whether to store the response in the database.
@@ -1259,6 +1285,7 @@ async def create(
12591285
prompt: Optional[response_create_params.Prompt] | Omit = omit,
12601286
prompt_cache_key: Optional[str] | Omit = omit,
12611287
reasoning: Optional[response_create_params.Reasoning] | Omit = omit,
1288+
safety_identifier: Optional[str] | Omit = omit,
12621289
service_tier: Optional[Literal["auto", "default", "flex", "priority"]] | Omit = omit,
12631290
store: bool | Omit = omit,
12641291
stream: Literal[False] | Literal[True] | Omit = omit,
@@ -1269,7 +1296,7 @@ async def create(
12691296
tools: Optional[Iterable[response_create_params.Tool]] | Omit = omit,
12701297
top_logprobs: Optional[int] | Omit = omit,
12711298
top_p: Optional[float] | Omit = omit,
1272-
truncation: Optional[Literal["auto", "disabled"]] | Omit = omit,
1299+
truncation: Literal["auto", "disabled"] | Omit = omit,
12731300
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
12741301
# The extra values given here take precedence over values defined on the client or passed to this method.
12751302
extra_headers: Headers | None = None,
@@ -1299,6 +1326,7 @@ async def create(
12991326
"prompt": prompt,
13001327
"prompt_cache_key": prompt_cache_key,
13011328
"reasoning": reasoning,
1329+
"safety_identifier": safety_identifier,
13021330
"service_tier": service_tier,
13031331
"store": store,
13041332
"stream": stream,
@@ -1451,7 +1479,7 @@ async def delete(
14511479
async def compact(
14521480
self,
14531481
*,
1454-
model: str,
1482+
model: Optional[str],
14551483
input: Union[
14561484
str,
14571485
Iterable[
@@ -1479,7 +1507,7 @@ async def compact(
14791507
preserving context. This endpoint is in alpha and may change without notice.
14801508
14811509
Args:
1482-
model: The model to use for generating the compacted summary.
1510+
model: Model identifier.
14831511
14841512
input: Input message(s) to compact.
14851513

0 commit comments

Comments
 (0)