Commit graph

18 commits

Author SHA1 Message Date
Sébastien Han
71da65ae1a
fix: post is paginated not get
Signed-off-by: Sébastien Han <seb@redhat.com>
2025-11-14 15:21:43 +01:00
Sébastien Han
c921a37200
fix: revert "fix: pagination config"
This reverts commit 9a36669ef3.

Signed-off-by: Sébastien Han <seb@redhat.com>
2025-11-14 15:08:32 +01:00
Sébastien Han
3dd252ef3e
chore: fix missing endpoint on stainless config
delete /v1/scoring-functions/{scoring_fn_id} exists in the OpenAPI spec,
       but isn't specified in the Stainless config, so code will not be
       generated for it.
delete /v1alpha/eval/benchmarks/{benchmark_id} exists in the OpenAPI
spec, but isn't specified in the Stainless config, so code will not be
generated for it

Signed-off-by: Sébastien Han <seb@redhat.com>
2025-11-14 11:59:13 +01:00
Sébastien Han
738d4bfd7e
chore: add paginated false to chat/completions
Signed-off-by: Sébastien Han <seb@redhat.com>
2025-11-14 11:55:35 +01:00
Sébastien Han
9a36669ef3
fix: pagination config
use paginated endpoint for example and mark input_items.list as
non-paginated

Signed-off-by: Sébastien Han <seb@redhat.com>
2025-11-14 11:20:42 +01:00
Sébastien Han
da37b2a847
chore: revert "fix: Exclude deprecated endpoints from stainless config"
This reverts commit 06acbdab6f.

Signed-off-by: Sébastien Han <seb@redhat.com>
2025-11-14 11:19:22 +01:00
Sébastien Han
eabd248ea0
chore: remove RAG
Signed-off-by: Sébastien Han <seb@redhat.com>
2025-11-14 11:12:35 +01:00
Sébastien Han
7908a1026a
chore: revert "fix: remove unused endpoint and outdate code"
This reverts commit 7bc9aeaf9c.

Signed-off-by: Sébastien Han <seb@redhat.com>
2025-11-14 11:10:58 +01:00
Sébastien Han
6de63d5de1
chore: revert "fix: remove unregister shield"
This reverts commit 84277988b8.

Signed-off-by: Sébastien Han <seb@redhat.com>
2025-11-14 11:09:51 +01:00
Sébastien Han
769cfe4654
fix: pagination config
use paginated endpoint for example and mark input_items.list as
non-paginated

Signed-off-by: Sébastien Han <seb@redhat.com>
2025-11-14 09:56:45 +01:00
Sébastien Han
f7d0494927
fix: Added the missing endpoints to the Stainless config
Signed-off-by: Sébastien Han <seb@redhat.com>
2025-11-14 09:56:45 +01:00
Sébastien Han
e0a69f2709
fix: remove unsused ressources
removed in https://github.com/llamastack/llama-stack/pull/4067

Signed-off-by: Sébastien Han <seb@redhat.com>
2025-11-14 09:56:45 +01:00
Sébastien Han
84277988b8
fix: remove unregister shield
https://github.com/llamastack/llama-stack/pull/4099

Signed-off-by: Sébastien Han <seb@redhat.com>
2025-11-14 09:56:45 +01:00
Sébastien Han
827cc9b9b8
fix: deprecated endpoint in Stainless config example
Replace deprecated `post /v1/models` with `get /v1/models` in the headline
example to fix Stainless Endpoint/NotFound error.

Signed-off-by: Sébastien Han <seb@redhat.com>
2025-11-14 09:56:44 +01:00
Sébastien Han
7bc9aeaf9c
fix: remove unused endpoint and outdate code
The register/unregister were removed in
https://github.com/llamastack/llama-stack/pull/4099

Signed-off-by: Sébastien Han <seb@redhat.com>
2025-11-14 09:56:44 +01:00
Sébastien Han
06acbdab6f
fix: Exclude deprecated endpoints from stainless config
Filter out deprecated endpoints from the combined OpenAPI spec and remove
their references from the Stainless config to fix Endpoint/NotFound
errors.

Signed-off-by: Sébastien Han <seb@redhat.com>
2025-11-14 09:56:44 +01:00
Sam El-Borai
63137f9af1
chore(stainless): add config for file header (#4126)
# What does this PR do?
<!-- Provide a short summary of what this PR does and why. Link to
relevant issues if applicable. -->

<!-- If resolving an issue, uncomment and update the line below -->
<!-- Closes #[issue-number] -->

This PR adds Stainless config to specify the Meta copyright file header
for generated files.

Doing it via config instead of custom code will reduce the probability
of git conflict.

## Test Plan
<!-- Describe the tests you ran to verify your changes with result
summaries. *Provide clear instructions so the plan can be easily
re-executed.* -->

- review preview builds
2025-11-12 11:39:21 -05:00
Sam El-Borai
8f4c431370
chore(ci): setup automated stainless builds (#3557)
Some checks failed
SqlStore Integration Tests / test-postgres (3.13) (push) Failing after 0s
Integration Auth Tests / test-matrix (oauth2_token) (push) Failing after 1s
SqlStore Integration Tests / test-postgres (3.12) (push) Failing after 0s
Python Package Build Test / build (3.12) (push) Failing after 1s
Test External Providers Installed via Module / test-external-providers-from-module (venv) (push) Has been skipped
Vector IO Integration Tests / test-matrix (push) Failing after 4s
Integration Tests (Replay) / generate-matrix (push) Successful in 6s
Unit Tests / unit-tests (3.13) (push) Failing after 4s
Python Package Build Test / build (3.13) (push) Failing after 9s
API Conformance Tests / check-schema-compatibility (push) Successful in 15s
Unit Tests / unit-tests (3.12) (push) Failing after 13s
Pre-commit / pre-commit (push) Failing after 21s
Test External API and Providers / test-external (venv) (push) Failing after 22s
Integration Tests (Replay) / Integration Tests (, , , client=, ) (push) Failing after 18s
UI Tests / ui-tests (22) (push) Successful in 1m7s
# What does this PR do?
<!-- Provide a short summary of what this PR does and why. Link to
relevant issues if applicable. -->

This pull request adds a new workflow that does 2 things:

1. generate [SDK preview
builds](https://www.stainless.com/docs/guides/automate-updates#set-up-automatic-preview-builds)
whenever the OpenAPI spec file is modified in a PR
2. on PR merge, generate SDK builds that will be pushed to the different
SDK repos (i.e start the release process)

> [!NOTE]
> No repo secret `STAINLESS_API_KEY` is needed, the authentication is
done automatically via GitHub OIDC.


<!-- If resolving an issue, uncomment and update the line below -->
<!-- Closes #[issue-number] -->

## Test Plan
<!-- Describe the tests you ran to verify your changes with result
summaries. *Provide clear instructions so the plan can be easily
re-executed.* -->

I tested in my fork: https://github.com/stainless-api/llama-stack/pull/3
2025-11-07 12:15:26 -08:00
Renamed from client-sdks/stainless/config-not-source-of-truth-yet.yml (Browse further)