Skip to content

Commit 72b3fb0

Browse files
release: 0.5.0-alpha.3 (#54)
Automated Release PR --- ## 0.5.0-alpha.3 (2026-04-02) Full Changelog: [v0.5.0-alpha.2...v0.5.0-alpha.3](v0.5.0-alpha.2...v0.5.0-alpha.3) ### ⚠ BREAKING CHANGES * eliminate GET /chat/completions/{completion_id} conformance issues * rename agents API to responses API * eliminate /files/{file_id} GET differences * improve consistency of post-training API endpoints ### Features * accept list content blocks in Responses API function_call_output ([9a2e825](9a2e825)) * Add prompt_cache_key parameter support ([e6399ef](e6399ef)) * add reasoning as valid conversation item ([25df02e](25df02e)) * add reasoning output types to OpenAI Responses API spec ([652e5db](652e5db)) * add skip_model_availability to openai_mixin for remote models ([51a4f50](51a4f50)) * Add stream_options parameter support ([992f337](992f337)) * add support for 'frequency_penalty' param to Responses API ([c0a5753](c0a5753)) * add support for 'presence_penalty' param to Responses API ([8a1b472](8a1b472)) * add support for /responses background parameter ([c7e9581](c7e9581)) * Add top_logprobs parameter support ([1ff427f](1ff427f)) * add top_p parameter support to responses API ([76bacd4](76bacd4)) * Add truncation parameter support ([3119d6b](3119d6b)) * **api:** support extra_body pass-through in responses API ([d707494](d707494)) * eliminate /files/{file_id} GET differences ([d5595b1](d5595b1)) * eliminate GET /chat/completions/{completion_id} conformance issues ([1536e1a](1536e1a)) * improve consistency of post-training API endpoints ([93376fc](93376fc)) * **inference:** bidirectional reasoning token passthrough for chat completions ([cd3c600](cd3c600)) * **responses:** add cancel endpoint for background responses ([df4292b](df4292b)) * **vector_io:** Implement Contextual Retrieval for improved RAG search quality ([abf9c27](abf9c27)) ### Bug Fixes * align chat completion usage schema with OpenAI spec ([6fa6eb8](6fa6eb8)) * **client:** preserve URL params already embedded in path ([2bd57de](2bd57de)) * **docs/contributing:** correct pnpm link command ([8aa7f85](8aa7f85)) * fix request delays for retrying to be more respectful of high requested delays ([0b0080a](0b0080a)) * **inference:** improve chat completions OpenAI conformance ([eb6414c](eb6414c)) * **inference:** use flat response message model for chat/completions ([d7033cd](d7033cd)) * remove duplicate dataset_id parameter in append-rows endpoint ([fe105ab](fe105ab)) * **responses:** achieve full OpenResponses conformance — 6/6 tests passing ([6537552](6537552)) * **stainless:** handle [DONE] SSE terminator in streaming responses ([3f9d067](3f9d067)) * **vector_io:** align Protocol signatures with request models ([11a1a20](11a1a20)) ### Chores * **api:** minor updates ([1286b39](1286b39)) * **ci:** skip lint on metadata-only changes ([7a0e6aa](7a0e6aa)) * **ci:** skip uploading artifacts on stainless-internal branches ([b6ec8ca](b6ec8ca)) * **docs:** add missing descriptions ([a1ed726](a1ed726)) * **internal:** avoid type checking errors with ts-reset ([2cffe20](2cffe20)) * **internal:** codegen related update ([4feb3b7](4feb3b7)) * **internal:** move stringifyQuery implementation to internal function ([03a5b05](03a5b05)) * **internal:** tweak CI branches ([cb4c926](cb4c926)) * **internal:** update gitignore ([651b312](651b312)) * **internal:** update multipart form array serialization ([a2245ee](a2245ee)) * **test:** do not count install time for mock server timeout ([bfb35fe](bfb35fe)) * **tests:** bump steady to v0.19.4 ([877e07d](877e07d)) * **tests:** bump steady to v0.19.5 ([d05e2db](d05e2db)) * **tests:** bump steady to v0.19.6 ([acf26c0](acf26c0)) * **tests:** bump steady to v0.19.7 ([216ce02](216ce02)) * **tests:** bump steady to v0.20.1 ([502633c](502633c)) * **tests:** bump steady to v0.20.2 ([fa7a238](fa7a238)) * update mock server docs ([0d438e8](0d438e8)) * update placeholder string ([62e1d34](62e1d34)) ### Refactors * remove deprecated register/unregister model endpoints ([1247b1d](1247b1d)) * remove fine_tuning API ([81f12ca](81f12ca)) * remove tool_groups from public API and auto-register from provider specs ([07f07b3](07f07b3)) * rename agents API to responses API ([0d16ccc](0d16ccc)) * rename rag-runtime provider to file-search ([5e73282](5e73282)) * **tests:** switch from prism to steady ([2e25672](2e25672)) --- 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 24cf6cf commit 72b3fb0

66 files changed

Lines changed: 2379 additions & 2679 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
name: CI
22
on:
33
push:
4-
branches-ignore:
5-
- 'generated'
6-
- 'codegen/**'
7-
- 'integrated/**'
8-
- 'stl-preview-head/**'
9-
- 'stl-preview-base/**'
4+
branches:
5+
- '**'
6+
- '!integrated/**'
7+
- '!stl-preview-head/**'
8+
- '!stl-preview-base/**'
9+
- '!generated'
10+
- '!codegen/**'
11+
- 'codegen/stl/**'
1012
pull_request:
1113
branches-ignore:
1214
- 'stl-preview-head/**'
@@ -17,7 +19,7 @@ jobs:
1719
timeout-minutes: 10
1820
name: lint
1921
runs-on: ${{ github.repository == 'stainless-sdks/llama-stack-client-node' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
20-
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
22+
if: (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
2123
steps:
2224
- uses: actions/checkout@v6
2325

@@ -36,7 +38,7 @@ jobs:
3638
timeout-minutes: 5
3739
name: build
3840
runs-on: ${{ github.repository == 'stainless-sdks/llama-stack-client-node' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
39-
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
41+
if: (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
4042
permissions:
4143
contents: read
4244
id-token: write
@@ -55,14 +57,18 @@ jobs:
5557
run: ./scripts/build
5658

5759
- name: Get GitHub OIDC Token
58-
if: github.repository == 'stainless-sdks/llama-stack-client-node'
60+
if: |-
61+
github.repository == 'stainless-sdks/llama-stack-client-node' &&
62+
!startsWith(github.ref, 'refs/heads/stl/')
5963
id: github-oidc
6064
uses: actions/github-script@v8
6165
with:
6266
script: core.setOutput('github_token', await core.getIDToken());
6367

6468
- name: Upload tarball
65-
if: github.repository == 'stainless-sdks/llama-stack-client-node'
69+
if: |-
70+
github.repository == 'stainless-sdks/llama-stack-client-node' &&
71+
!startsWith(github.ref, 'refs/heads/stl/')
6672
env:
6773
URL: https://pkg.stainless.com/s
6874
AUTH: ${{ steps.github-oidc.outputs.github_token }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.prism.log
2+
.stdy.log
23
node_modules
34
yarn-error.log
45
package-lock.json

.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.5.0-alpha.2"
2+
".": "0.5.0-alpha.3"
33
}

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 108
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/llamastack%2Fllama-stack-client-958e990011d6b4c27513743a151ec4c80c3103650a80027380d15f1d6b108e32.yml
3-
openapi_spec_hash: 5b49d825dbc2a26726ca752914a65114
4-
config_hash: 19b84a0a93d566334ae134dafc71991f
1+
configured_endpoints: 92
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/llamastack%2Fllama-stack-client-a6b10a7f923a8cf216108cd794ccbac5d4114193ba888fea0c1288548b28f37e.yml
3+
openapi_spec_hash: ed2df655e1a9041bf71adfb37ed651fe
4+
config_hash: d8a05907bd87286473cdf868da7d2ede

CHANGELOG.md

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

3+
## 0.5.0-alpha.3 (2026-04-02)
4+
5+
Full Changelog: [v0.5.0-alpha.2...v0.5.0-alpha.3](https://github.com/llamastack/llama-stack-client-typescript/compare/v0.5.0-alpha.2...v0.5.0-alpha.3)
6+
7+
### ⚠ BREAKING CHANGES
8+
9+
* eliminate GET /chat/completions/{completion_id} conformance issues
10+
* rename agents API to responses API
11+
* eliminate /files/{file_id} GET differences
12+
* improve consistency of post-training API endpoints
13+
14+
### Features
15+
16+
* accept list content blocks in Responses API function_call_output ([9a2e825](https://github.com/llamastack/llama-stack-client-typescript/commit/9a2e82551698ce4b0f127e9b466504568feade84))
17+
* Add prompt_cache_key parameter support ([e6399ef](https://github.com/llamastack/llama-stack-client-typescript/commit/e6399ef9e8b34b6cf3238c4c8f8b7d0134a8788e))
18+
* add reasoning as valid conversation item ([25df02e](https://github.com/llamastack/llama-stack-client-typescript/commit/25df02e8fdc4e98af98c2271b5aeee8fcdedf865))
19+
* add reasoning output types to OpenAI Responses API spec ([652e5db](https://github.com/llamastack/llama-stack-client-typescript/commit/652e5db44b81c83830ca1d39c05ea0c7b738415c))
20+
* add skip_model_availability to openai_mixin for remote models ([51a4f50](https://github.com/llamastack/llama-stack-client-typescript/commit/51a4f502e896045621f4aac9e75c19418490801e))
21+
* Add stream_options parameter support ([992f337](https://github.com/llamastack/llama-stack-client-typescript/commit/992f337ad0a9f0d956ab0bbbcbdbc1b3367ee53c))
22+
* add support for 'frequency_penalty' param to Responses API ([c0a5753](https://github.com/llamastack/llama-stack-client-typescript/commit/c0a5753ffb14bba9b9b8b61ab6045087a30f8576))
23+
* add support for 'presence_penalty' param to Responses API ([8a1b472](https://github.com/llamastack/llama-stack-client-typescript/commit/8a1b47258a72741c9a32724af25033e2545b7ba5))
24+
* add support for /responses background parameter ([c7e9581](https://github.com/llamastack/llama-stack-client-typescript/commit/c7e9581d7df28f5c97dd9ecc903c942f33972649))
25+
* Add top_logprobs parameter support ([1ff427f](https://github.com/llamastack/llama-stack-client-typescript/commit/1ff427f5265874e0d90fe1346154f71b21d20d9e))
26+
* add top_p parameter support to responses API ([76bacd4](https://github.com/llamastack/llama-stack-client-typescript/commit/76bacd49f160ba9ab0740269ad7116340f265e58))
27+
* Add truncation parameter support ([3119d6b](https://github.com/llamastack/llama-stack-client-typescript/commit/3119d6bb8a1d38d6fa1958daeed0fb5dbb12b1e1))
28+
* **api:** support extra_body pass-through in responses API ([d707494](https://github.com/llamastack/llama-stack-client-typescript/commit/d70749437992017bd331c17f02e09cb093205900))
29+
* eliminate /files/{file_id} GET differences ([d5595b1](https://github.com/llamastack/llama-stack-client-typescript/commit/d5595b10679b717e17b1c79b1a3a17049de2dade))
30+
* eliminate GET /chat/completions/{completion_id} conformance issues ([1536e1a](https://github.com/llamastack/llama-stack-client-typescript/commit/1536e1a3e089cfe08582f044394f94c97dc7d60b))
31+
* improve consistency of post-training API endpoints ([93376fc](https://github.com/llamastack/llama-stack-client-typescript/commit/93376fcbe864d4e8becd957301e6df15b3d803f8))
32+
* **inference:** bidirectional reasoning token passthrough for chat completions ([cd3c600](https://github.com/llamastack/llama-stack-client-typescript/commit/cd3c6000e16cd52a830b8fa48fe4781989ad7b9a))
33+
* **responses:** add cancel endpoint for background responses ([df4292b](https://github.com/llamastack/llama-stack-client-typescript/commit/df4292b354950cc83db605bc0d5334c5a80fe5a1))
34+
* **vector_io:** Implement Contextual Retrieval for improved RAG search quality ([abf9c27](https://github.com/llamastack/llama-stack-client-typescript/commit/abf9c27dcee824cd87f5b1889c456d99a7a94fb9))
35+
36+
37+
### Bug Fixes
38+
39+
* align chat completion usage schema with OpenAI spec ([6fa6eb8](https://github.com/llamastack/llama-stack-client-typescript/commit/6fa6eb87d96902586d4feb82747a5cdf99622045))
40+
* **client:** preserve URL params already embedded in path ([2bd57de](https://github.com/llamastack/llama-stack-client-typescript/commit/2bd57deec573fa1ef389d8c798e2b9588f4ddbbd))
41+
* **docs/contributing:** correct pnpm link command ([8aa7f85](https://github.com/llamastack/llama-stack-client-typescript/commit/8aa7f856abb9ee612cc6ea97e30984b29620fd1b))
42+
* fix request delays for retrying to be more respectful of high requested delays ([0b0080a](https://github.com/llamastack/llama-stack-client-typescript/commit/0b0080af337cafe4e69c446756a227270c947c2b))
43+
* **inference:** improve chat completions OpenAI conformance ([eb6414c](https://github.com/llamastack/llama-stack-client-typescript/commit/eb6414c133c7f8e67e1a78e44da0322450d13ed3))
44+
* **inference:** use flat response message model for chat/completions ([d7033cd](https://github.com/llamastack/llama-stack-client-typescript/commit/d7033cd2af32a823514135971b3775037992393c))
45+
* remove duplicate dataset_id parameter in append-rows endpoint ([fe105ab](https://github.com/llamastack/llama-stack-client-typescript/commit/fe105ab03ee5ef9c3eb2046c2e225bff08472f45))
46+
* **responses:** achieve full OpenResponses conformance — 6/6 tests passing ([6537552](https://github.com/llamastack/llama-stack-client-typescript/commit/653755208f5de83bf9a8cf879c3f77abf5ba88d3))
47+
* **stainless:** handle [DONE] SSE terminator in streaming responses ([3f9d067](https://github.com/llamastack/llama-stack-client-typescript/commit/3f9d06785dcb9b9e8279d0e54fdc0d4f0e1afd91))
48+
* **vector_io:** align Protocol signatures with request models ([11a1a20](https://github.com/llamastack/llama-stack-client-typescript/commit/11a1a20e82bae62f8210cb26091d3df8bf648f15))
49+
50+
51+
### Chores
52+
53+
* **api:** minor updates ([1286b39](https://github.com/llamastack/llama-stack-client-typescript/commit/1286b396a69ae48b41ad125405f005264339116d))
54+
* **ci:** skip lint on metadata-only changes ([7a0e6aa](https://github.com/llamastack/llama-stack-client-typescript/commit/7a0e6aa16e489da90279968b3db410a2808d7897))
55+
* **ci:** skip uploading artifacts on stainless-internal branches ([b6ec8ca](https://github.com/llamastack/llama-stack-client-typescript/commit/b6ec8caf1dcd5db7088a0762c7e5276b05e824e3))
56+
* **docs:** add missing descriptions ([a1ed726](https://github.com/llamastack/llama-stack-client-typescript/commit/a1ed7261f3858be53a768817bf58d8f15ce412a6))
57+
* **internal:** avoid type checking errors with ts-reset ([2cffe20](https://github.com/llamastack/llama-stack-client-typescript/commit/2cffe2040a77c3310db5d1803fc3800b4dd72f28))
58+
* **internal:** codegen related update ([4feb3b7](https://github.com/llamastack/llama-stack-client-typescript/commit/4feb3b71dce9088968439ab554c8ee6998114d2f))
59+
* **internal:** move stringifyQuery implementation to internal function ([03a5b05](https://github.com/llamastack/llama-stack-client-typescript/commit/03a5b052d5406755515edb07e04e8b4fd7750234))
60+
* **internal:** tweak CI branches ([cb4c926](https://github.com/llamastack/llama-stack-client-typescript/commit/cb4c926869316cfbea09e9b1414456b584761d47))
61+
* **internal:** update gitignore ([651b312](https://github.com/llamastack/llama-stack-client-typescript/commit/651b31248f2dea6a0593b65aa2121087857a7c25))
62+
* **internal:** update multipart form array serialization ([a2245ee](https://github.com/llamastack/llama-stack-client-typescript/commit/a2245ee1c098f51e6cac578b29b1c26ec2757ebb))
63+
* **test:** do not count install time for mock server timeout ([bfb35fe](https://github.com/llamastack/llama-stack-client-typescript/commit/bfb35fe36446caea4edc9dddadc15b345e61f855))
64+
* **tests:** bump steady to v0.19.4 ([877e07d](https://github.com/llamastack/llama-stack-client-typescript/commit/877e07d2fb70b22761c0f16137dfb04d6003997e))
65+
* **tests:** bump steady to v0.19.5 ([d05e2db](https://github.com/llamastack/llama-stack-client-typescript/commit/d05e2db034a1dbd0c4c4c6ceaac4c410b17fa5a2))
66+
* **tests:** bump steady to v0.19.6 ([acf26c0](https://github.com/llamastack/llama-stack-client-typescript/commit/acf26c06bc0cc244bca082b1060d7477f1fa27e8))
67+
* **tests:** bump steady to v0.19.7 ([216ce02](https://github.com/llamastack/llama-stack-client-typescript/commit/216ce02d4b4a76b908389e848eaddad5e6124ceb))
68+
* **tests:** bump steady to v0.20.1 ([502633c](https://github.com/llamastack/llama-stack-client-typescript/commit/502633c9814fa7d72b60717f0270438c2af14a28))
69+
* **tests:** bump steady to v0.20.2 ([fa7a238](https://github.com/llamastack/llama-stack-client-typescript/commit/fa7a2389c99ff553cae2d126e8c6855f7e0dee02))
70+
* update mock server docs ([0d438e8](https://github.com/llamastack/llama-stack-client-typescript/commit/0d438e81af56cdc6ec91ac6c3286dedc4dc9190f))
71+
* update placeholder string ([62e1d34](https://github.com/llamastack/llama-stack-client-typescript/commit/62e1d34d77f46047eab860ba537164de06c74824))
72+
73+
74+
### Refactors
75+
76+
* remove deprecated register/unregister model endpoints ([1247b1d](https://github.com/llamastack/llama-stack-client-typescript/commit/1247b1dfc7d9541c8e90dffa79c05652ccb59f75))
77+
* remove fine_tuning API ([81f12ca](https://github.com/llamastack/llama-stack-client-typescript/commit/81f12ca417cdbc00bcb37148c37a93af697b5439))
78+
* remove tool_groups from public API and auto-register from provider specs ([07f07b3](https://github.com/llamastack/llama-stack-client-typescript/commit/07f07b3ad78ed8be421c44d3c189c795b39fba93))
79+
* rename agents API to responses API ([0d16ccc](https://github.com/llamastack/llama-stack-client-typescript/commit/0d16cccce2e7b4c2e461186cc4cc2a52e7bac4ce))
80+
* rename rag-runtime provider to file-search ([5e73282](https://github.com/llamastack/llama-stack-client-typescript/commit/5e73282c2cee739eac97fca8dc6d8cda99d5b2ce))
81+
* **tests:** switch from prism to steady ([2e25672](https://github.com/llamastack/llama-stack-client-typescript/commit/2e25672fe9d57614833b0dd9f2254a6ba12ce699))
82+
383
## 0.5.0-alpha.2 (2026-02-05)
484

585
Full Changelog: [v0.4.0-alpha.7...v0.5.0-alpha.2](https://github.com/llamastack/llama-stack-client-typescript/compare/v0.4.0-alpha.7...v0.5.0-alpha.2)

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,12 @@ $ npm link llama-stack-client
6565
# With pnpm
6666
$ pnpm link --global
6767
$ cd ../my-package
68-
$ pnpm link -global llama-stack-client
68+
$ pnpm link --global llama-stack-client
6969
```
7070

7171
## Running tests
7272

73-
Most tests require you to [set up a mock server](https://github.com/stoplightio/prism) against the OpenAPI spec to run the tests.
73+
Most tests require you to [set up a mock server](https://github.com/dgellow/steady) against the OpenAPI spec to run the tests.
7474

7575
```sh
7676
$ npx @stainless-api/prism-cli@5.15.0 prism mock path/to/your/openapi.yml

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,28 @@ const client = new LlamaStackClient();
3030
const models = await client.models.list();
3131
```
3232

33+
## Streaming responses
34+
35+
We provide support for streaming responses using Server Sent Events (SSE).
36+
37+
```ts
38+
import LlamaStackClient from 'llama-stack-client';
39+
40+
const client = new LlamaStackClient();
41+
42+
const stream = await client.chat.completions.create({
43+
messages: [{ content: 'string', role: 'user' }],
44+
model: 'model',
45+
stream: true,
46+
});
47+
for await (const chatCompletionChunk of stream) {
48+
console.log(chatCompletionChunk.id);
49+
}
50+
```
51+
52+
If you need to cancel a stream, you can `break` from the loop
53+
or call `stream.controller.abort()`.
54+
3355
### Request & Response types
3456

3557
This library includes TypeScript definitions for all request params and response fields. You may import and use them like so:

api.md

Lines changed: 1 addition & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -16,45 +16,6 @@ Types:
1616
- <code><a href="./src/resources/shared.ts">SystemMessage</a></code>
1717
- <code><a href="./src/resources/shared.ts">VersionInfo</a></code>
1818

19-
# Toolgroups
20-
21-
Types:
22-
23-
- <code><a href="./src/resources/toolgroups.ts">ListToolGroupsResponse</a></code>
24-
- <code><a href="./src/resources/toolgroups.ts">ToolGroup</a></code>
25-
- <code><a href="./src/resources/toolgroups.ts">ToolgroupListResponse</a></code>
26-
27-
Methods:
28-
29-
- <code title="get /v1/toolgroups">client.toolgroups.<a href="./src/resources/toolgroups.ts">list</a>() -> ToolgroupListResponse</code>
30-
- <code title="get /v1/toolgroups/{toolgroup_id}">client.toolgroups.<a href="./src/resources/toolgroups.ts">get</a>(toolgroupId) -> ToolGroup</code>
31-
- <code title="post /v1/toolgroups">client.toolgroups.<a href="./src/resources/toolgroups.ts">register</a>({ ...params }) -> void</code>
32-
- <code title="delete /v1/toolgroups/{toolgroup_id}">client.toolgroups.<a href="./src/resources/toolgroups.ts">unregister</a>(toolgroupId) -> void</code>
33-
34-
# Tools
35-
36-
Types:
37-
38-
- <code><a href="./src/resources/tools.ts">ToolListResponse</a></code>
39-
40-
Methods:
41-
42-
- <code title="get /v1/tools">client.tools.<a href="./src/resources/tools.ts">list</a>({ ...params }) -> ToolListResponse</code>
43-
- <code title="get /v1/tools/{tool_name}">client.tools.<a href="./src/resources/tools.ts">get</a>(toolName) -> ToolDef</code>
44-
45-
# ToolRuntime
46-
47-
Types:
48-
49-
- <code><a href="./src/resources/tool-runtime.ts">ToolDef</a></code>
50-
- <code><a href="./src/resources/tool-runtime.ts">ToolInvocationResult</a></code>
51-
- <code><a href="./src/resources/tool-runtime.ts">ToolRuntimeListToolsResponse</a></code>
52-
53-
Methods:
54-
55-
- <code title="post /v1/tool-runtime/invoke">client.toolRuntime.<a href="./src/resources/tool-runtime.ts">invokeTool</a>({ ...params }) -> ToolInvocationResult</code>
56-
- <code title="get /v1/tool-runtime/list-tools">client.toolRuntime.<a href="./src/resources/tool-runtime.ts">listTools</a>({ ...params }) -> ToolRuntimeListToolsResponse</code>
57-
5819
# Responses
5920

6021
Types:
@@ -249,14 +210,11 @@ Types:
249210
- <code><a href="./src/resources/models/models.ts">Model</a></code>
250211
- <code><a href="./src/resources/models/models.ts">ModelRetrieveResponse</a></code>
251212
- <code><a href="./src/resources/models/models.ts">ModelListResponse</a></code>
252-
- <code><a href="./src/resources/models/models.ts">ModelRegisterResponse</a></code>
253213

254214
Methods:
255215

256216
- <code title="get /v1/models/{model_id}">client.models.<a href="./src/resources/models/models.ts">retrieve</a>(modelId) -> ModelRetrieveResponse</code>
257217
- <code title="get /v1/models">client.models.<a href="./src/resources/models/models.ts">list</a>() -> ModelListResponse</code>
258-
- <code title="post /v1/models">client.models.<a href="./src/resources/models/models.ts">register</a>({ ...params }) -> ModelRegisterResponse</code>
259-
- <code title="delete /v1/models/{model_id}">client.models.<a href="./src/resources/models/models.ts">unregister</a>(modelId) -> void</code>
260218

261219
## OpenAI
262220

@@ -363,7 +321,7 @@ Methods:
363321
- <code title="get /v1/files/{file_id}">client.files.<a href="./src/resources/files.ts">retrieve</a>(fileId) -> File</code>
364322
- <code title="get /v1/files">client.files.<a href="./src/resources/files.ts">list</a>({ ...params }) -> FilesOpenAICursorPage</code>
365323
- <code title="delete /v1/files/{file_id}">client.files.<a href="./src/resources/files.ts">delete</a>(fileId) -> DeleteFileResponse</code>
366-
- <code title="get /v1/files/{file_id}/content">client.files.<a href="./src/resources/files.ts">content</a>(fileId) -> unknown</code>
324+
- <code title="get /v1/files/{file_id}/content">client.files.<a href="./src/resources/files.ts">content</a>(fileId) -> string</code>
367325

368326
# Batches
369327

@@ -383,34 +341,6 @@ Methods:
383341

384342
# Alpha
385343

386-
## PostTraining
387-
388-
Types:
389-
390-
- <code><a href="./src/resources/alpha/post-training/post-training.ts">AlgorithmConfig</a></code>
391-
- <code><a href="./src/resources/alpha/post-training/post-training.ts">ListPostTrainingJobsResponse</a></code>
392-
- <code><a href="./src/resources/alpha/post-training/post-training.ts">PostTrainingJob</a></code>
393-
394-
Methods:
395-
396-
- <code title="post /v1alpha/post-training/preference-optimize">client.alpha.postTraining.<a href="./src/resources/alpha/post-training/post-training.ts">preferenceOptimize</a>({ ...params }) -> PostTrainingJob</code>
397-
- <code title="post /v1alpha/post-training/supervised-fine-tune">client.alpha.postTraining.<a href="./src/resources/alpha/post-training/post-training.ts">supervisedFineTune</a>({ ...params }) -> PostTrainingJob</code>
398-
399-
### Job
400-
401-
Types:
402-
403-
- <code><a href="./src/resources/alpha/post-training/job.ts">JobListResponse</a></code>
404-
- <code><a href="./src/resources/alpha/post-training/job.ts">JobArtifactsResponse</a></code>
405-
- <code><a href="./src/resources/alpha/post-training/job.ts">JobStatusResponse</a></code>
406-
407-
Methods:
408-
409-
- <code title="get /v1alpha/post-training/jobs">client.alpha.postTraining.job.<a href="./src/resources/alpha/post-training/job.ts">list</a>() -> JobListResponse</code>
410-
- <code title="get /v1alpha/post-training/job/artifacts">client.alpha.postTraining.job.<a href="./src/resources/alpha/post-training/job.ts">artifacts</a>() -> JobArtifactsResponse</code>
411-
- <code title="post /v1alpha/post-training/job/cancel">client.alpha.postTraining.job.<a href="./src/resources/alpha/post-training/job.ts">cancel</a>() -> void</code>
412-
- <code title="get /v1alpha/post-training/job/status">client.alpha.postTraining.job.<a href="./src/resources/alpha/post-training/job.ts">status</a>() -> JobStatusResponse</code>
413-
414344
## Benchmarks
415345

416346
Types:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "llama-stack-client",
3-
"version": "0.5.0-alpha.2",
3+
"version": "0.5.0-alpha.3",
44
"description": "The official TypeScript library for the Llama Stack Client API",
55
"author": "Llama Stack Client <llamastack@meta.com>",
66
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)