Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
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.4.0-alpha.7"
".": "0.4.0-alpha.8"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 103
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/llamastack%2Fllama-stack-client-418ccf3126ab086a66c822c60204b95ef3192ffa64340bd3a1537ae46b830892.yml
openapi_spec_hash: 885b75e847506a930b709eb630535912
config_hash: 96aa17ff0395152d8d548b1d1e58b613
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/llamastack%2Fllama-stack-client-8e37e023855aa0a93d09eb2b5365aae5203273d01db0532ba0dc58d2a1f94692.yml
openapi_spec_hash: a2f9d306a6594d5ff915ce30da498892
config_hash: 39578cfdeb4a10121f2cb3fa3e4d5e20
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# Changelog

## 0.4.0-alpha.8 (2025-12-17)

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

### Features

* add support for tool_choice to repsponses api ([8170d7f](https://github.com/llamastack/llama-stack-client-typescript/commit/8170d7f453cdc6263fe19ddf8e6cddc097b61780))
* **api:** add readonly connectors API ([c810c19](https://github.com/llamastack/llama-stack-client-typescript/commit/c810c19d824604b34dab48d453bf1f19ac1ff66d))
* convert Benchmarks API to use FastAPI router ([bcc19bb](https://github.com/llamastack/llama-stack-client-typescript/commit/bcc19bb3640fffce18a128c042f11b695c8f7a6d))
* convert Datasets API to use FastAPI router ([a52b7ee](https://github.com/llamastack/llama-stack-client-typescript/commit/a52b7ee0bd64a843134b2354e95502da2fe55f66))
* Implement include parameter specifically for adding logprobs in the output message ([01f0ba8](https://github.com/llamastack/llama-stack-client-typescript/commit/01f0ba8970e6c1a729dd872cf228376fddd5f3fe))
* migrate Inspect API to FastAPI router ([79f8d87](https://github.com/llamastack/llama-stack-client-typescript/commit/79f8d87b64a243c782c5a9eb5b62d31378781f36))
* migrate Providers API to FastAPI router pattern ([22f7cf6](https://github.com/llamastack/llama-stack-client-typescript/commit/22f7cf60f463db6091bf213a630ac48bb1f12e49))


### Bug Fixes

* **mcp:** correct code tool API endpoint ([6006307](https://github.com/llamastack/llama-stack-client-typescript/commit/60063077b65f31a31dabf254dbcfae50909cd692))
* **mcp:** return correct lines on typescript errors ([368f4b5](https://github.com/llamastack/llama-stack-client-typescript/commit/368f4b50eb87213ab27f43a161df688d3cba4f62))


### Chores

* clarify use of yarn for development and npm/yarn/pnpm for users ([#51](https://github.com/llamastack/llama-stack-client-typescript/issues/51)) ([b413eed](https://github.com/llamastack/llama-stack-client-typescript/commit/b413eedc57a6666df5aa98af4c8726a468cb77ec))
* **internal:** codegen related update ([b5ea21d](https://github.com/llamastack/llama-stack-client-typescript/commit/b5ea21d0dcf0a71a49420efdf721f21254b9a0ce))
* **internal:** codegen related update ([d199aff](https://github.com/llamastack/llama-stack-client-typescript/commit/d199aff3d638854e58ae5575979d2c7f57eebc10))

## 0.4.0-alpha.7 (2025-12-03)

Full Changelog: [v0.4.0-alpha.6...v0.4.0-alpha.7](https://github.com/llamastack/llama-stack-client-typescript/compare/v0.4.0-alpha.6...v0.4.0-alpha.7)
Expand Down
2 changes: 1 addition & 1 deletion api.md
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,7 @@ Methods:
Types:

- <code><a href="./src/resources/alpha/post-training/post-training.ts">AlgorithmConfig</a></code>
- <code><a href="./src/resources/alpha/post-training/post-training.ts">ListPostTrainingJobsResponse</a></code>
- <code><a href="./src/resources/alpha/post-training/post-training.ts">PostTrainingJob</a></code>

Methods:
Expand All @@ -412,7 +413,6 @@ Methods:

Types:

- <code><a href="./src/resources/alpha/post-training/job.ts">ListPostTrainingJobsResponse</a></code>
- <code><a href="./src/resources/alpha/post-training/job.ts">JobListResponse</a></code>
- <code><a href="./src/resources/alpha/post-training/job.ts">JobArtifactsResponse</a></code>
- <code><a href="./src/resources/alpha/post-training/job.ts">JobStatusResponse</a></code>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "llama-stack-client",
"version": "0.4.0-alpha.7",
"version": "0.4.0-alpha.8",
"description": "The official TypeScript library for the Llama Stack Client API",
"author": "Llama Stack Client <[email protected]>",
"types": "dist/index.d.ts",
Expand Down
2 changes: 2 additions & 0 deletions src/resources/alpha/alpha.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import {
import * as PostTrainingAPI from './post-training/post-training';
import {
AlgorithmConfig,
ListPostTrainingJobsResponse,
PostTraining,
PostTrainingJob,
PostTrainingPreferenceOptimizeParams,
Expand Down Expand Up @@ -59,6 +60,7 @@ export declare namespace Alpha {
export {
PostTraining as PostTraining,
type AlgorithmConfig as AlgorithmConfig,
type ListPostTrainingJobsResponse as ListPostTrainingJobsResponse,
type PostTrainingJob as PostTrainingJob,
type PostTrainingPreferenceOptimizeParams as PostTrainingPreferenceOptimizeParams,
type PostTrainingSupervisedFineTuneParams as PostTrainingSupervisedFineTuneParams,
Expand Down
38 changes: 37 additions & 1 deletion src/resources/alpha/benchmarks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ export class Benchmarks extends APIResource {
* A benchmark resource for evaluating model performance.
*/
export interface Benchmark {
/**
* Identifier of the dataset to use for the benchmark evaluation.
*/
dataset_id: string;

/**
Expand All @@ -71,10 +74,13 @@ export interface Benchmark {
*/
provider_id: string;

/**
* List of scoring function identifiers to apply during evaluation.
*/
scoring_functions: Array<string>;

/**
* Metadata for this evaluation task
* Metadata for this evaluation task.
*/
metadata?: { [key: string]: unknown };

Expand All @@ -83,26 +89,56 @@ export interface Benchmark {
*/
provider_resource_id?: string | null;

/**
* The resource type, always benchmark.
*/
type?: 'benchmark';
}

/**
* Response containing a list of benchmark objects.
*/
export interface ListBenchmarksResponse {
/**
* List of benchmark objects.
*/
data: BenchmarkListResponse;
}

/**
* List of benchmark objects.
*/
export type BenchmarkListResponse = Array<Benchmark>;

export interface BenchmarkRegisterParams {
/**
* The ID of the benchmark to register.
*/
benchmark_id: string;

/**
* The ID of the dataset to use for the benchmark.
*/
dataset_id: string;

/**
* The scoring functions to use for the benchmark.
*/
scoring_functions: Array<string>;

/**
* The metadata to use for the benchmark.
*/
metadata?: { [key: string]: unknown } | null;

/**
* The ID of the provider benchmark to use for the benchmark.
*/
provider_benchmark_id?: string | null;

/**
* The ID of the provider to use for the benchmark.
*/
provider_id?: string | null;
}

Expand Down
1 change: 1 addition & 0 deletions src/resources/alpha/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export { Inference, type InferenceRerankResponse, type InferenceRerankParams } f
export {
PostTraining,
type AlgorithmConfig,
type ListPostTrainingJobsResponse,
type PostTrainingJob,
type PostTrainingPreferenceOptimizeParams,
type PostTrainingSupervisedFineTuneParams,
Expand Down
2 changes: 1 addition & 1 deletion src/resources/alpha/post-training/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

export {
Job,
type ListPostTrainingJobsResponse,
type JobListResponse,
type JobArtifactsResponse,
type JobStatusResponse,
Expand All @@ -19,6 +18,7 @@ export {
export {
PostTraining,
type AlgorithmConfig,
type ListPostTrainingJobsResponse,
type PostTrainingJob,
type PostTrainingPreferenceOptimizeParams,
type PostTrainingSupervisedFineTuneParams,
Expand Down
5 changes: 0 additions & 5 deletions src/resources/alpha/post-training/job.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@ export class Job extends APIResource {
}
}

export interface ListPostTrainingJobsResponse {
data: JobListResponse;
}

export type JobListResponse = Array<PostTrainingAPI.PostTrainingJob>;

/**
Expand Down Expand Up @@ -171,7 +167,6 @@ export interface JobStatusParams {

export declare namespace Job {
export {
type ListPostTrainingJobsResponse as ListPostTrainingJobsResponse,
type JobListResponse as JobListResponse,
type JobArtifactsResponse as JobArtifactsResponse,
type JobStatusResponse as JobStatusResponse,
Expand Down
7 changes: 5 additions & 2 deletions src/resources/alpha/post-training/post-training.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import {
JobListResponse,
JobStatusParams,
JobStatusResponse,
ListPostTrainingJobsResponse,
} from './job';

export class PostTraining extends APIResource {
Expand Down Expand Up @@ -83,6 +82,10 @@ export namespace AlgorithmConfig {
}
}

export interface ListPostTrainingJobsResponse {
data: JobAPI.JobListResponse;
}

export interface PostTrainingJob {
job_uuid: string;
}
Expand Down Expand Up @@ -351,14 +354,14 @@ PostTraining.Job = Job;
export declare namespace PostTraining {
export {
type AlgorithmConfig as AlgorithmConfig,
type ListPostTrainingJobsResponse as ListPostTrainingJobsResponse,
type PostTrainingJob as PostTrainingJob,
type PostTrainingPreferenceOptimizeParams as PostTrainingPreferenceOptimizeParams,
type PostTrainingSupervisedFineTuneParams as PostTrainingSupervisedFineTuneParams,
};

export {
Job as Job,
type ListPostTrainingJobsResponse as ListPostTrainingJobsResponse,
type JobListResponse as JobListResponse,
type JobArtifactsResponse as JobArtifactsResponse,
type JobStatusResponse as JobStatusResponse,
Expand Down
Loading