Skip to content

Commit a389b51

Browse files
feat(api): add readonly connectors API
1 parent 8d864ff commit a389b51

File tree

7 files changed

+13
-12
lines changed

7 files changed

+13
-12
lines changed

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 103
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/llamastack%2Fllama-stack-client-04657ade6bdb9c2a493a086f2607e98c97da7d04c0b0e7d5a53fd60eff062bd2.yml
3-
openapi_spec_hash: 56d411cdfeec6daae5ac7ea0e74c6217
4-
config_hash: 96aa17ff0395152d8d548b1d1e58b613
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/llamastack%2Fllama-stack-client-798a94e418defb2b9c8e7432a9f8a76635439b07e8fd3cc4a158a2b26dd60b90.yml
3+
openapi_spec_hash: 93b1520629590a9ecaa74d726c006a49
4+
config_hash: 39578cfdeb4a10121f2cb3fa3e4d5e20

api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,7 @@ Methods:
401401
Types:
402402

403403
- <code><a href="./src/resources/alpha/post-training/post-training.ts">AlgorithmConfig</a></code>
404+
- <code><a href="./src/resources/alpha/post-training/post-training.ts">ListPostTrainingJobsResponse</a></code>
404405
- <code><a href="./src/resources/alpha/post-training/post-training.ts">PostTrainingJob</a></code>
405406

406407
Methods:
@@ -412,7 +413,6 @@ Methods:
412413

413414
Types:
414415

415-
- <code><a href="./src/resources/alpha/post-training/job.ts">ListPostTrainingJobsResponse</a></code>
416416
- <code><a href="./src/resources/alpha/post-training/job.ts">JobListResponse</a></code>
417417
- <code><a href="./src/resources/alpha/post-training/job.ts">JobArtifactsResponse</a></code>
418418
- <code><a href="./src/resources/alpha/post-training/job.ts">JobStatusResponse</a></code>

src/resources/alpha/alpha.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ import {
3131
import * as PostTrainingAPI from './post-training/post-training';
3232
import {
3333
AlgorithmConfig,
34+
ListPostTrainingJobsResponse,
3435
PostTraining,
3536
PostTrainingJob,
3637
PostTrainingPreferenceOptimizeParams,
@@ -59,6 +60,7 @@ export declare namespace Alpha {
5960
export {
6061
PostTraining as PostTraining,
6162
type AlgorithmConfig as AlgorithmConfig,
63+
type ListPostTrainingJobsResponse as ListPostTrainingJobsResponse,
6264
type PostTrainingJob as PostTrainingJob,
6365
type PostTrainingPreferenceOptimizeParams as PostTrainingPreferenceOptimizeParams,
6466
type PostTrainingSupervisedFineTuneParams as PostTrainingSupervisedFineTuneParams,

src/resources/alpha/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ export { Inference, type InferenceRerankResponse, type InferenceRerankParams } f
2828
export {
2929
PostTraining,
3030
type AlgorithmConfig,
31+
type ListPostTrainingJobsResponse,
3132
type PostTrainingJob,
3233
type PostTrainingPreferenceOptimizeParams,
3334
type PostTrainingSupervisedFineTuneParams,

src/resources/alpha/post-training/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
export {
1010
Job,
11-
type ListPostTrainingJobsResponse,
1211
type JobListResponse,
1312
type JobArtifactsResponse,
1413
type JobStatusResponse,
@@ -19,6 +18,7 @@ export {
1918
export {
2019
PostTraining,
2120
type AlgorithmConfig,
21+
type ListPostTrainingJobsResponse,
2222
type PostTrainingJob,
2323
type PostTrainingPreferenceOptimizeParams,
2424
type PostTrainingSupervisedFineTuneParams,

src/resources/alpha/post-training/job.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ export class Job extends APIResource {
4646
}
4747
}
4848

49-
export interface ListPostTrainingJobsResponse {
50-
data: JobListResponse;
51-
}
52-
5349
export type JobListResponse = Array<PostTrainingAPI.PostTrainingJob>;
5450

5551
/**
@@ -171,7 +167,6 @@ export interface JobStatusParams {
171167

172168
export declare namespace Job {
173169
export {
174-
type ListPostTrainingJobsResponse as ListPostTrainingJobsResponse,
175170
type JobListResponse as JobListResponse,
176171
type JobArtifactsResponse as JobArtifactsResponse,
177172
type JobStatusResponse as JobStatusResponse,

src/resources/alpha/post-training/post-training.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import {
1717
JobListResponse,
1818
JobStatusParams,
1919
JobStatusResponse,
20-
ListPostTrainingJobsResponse,
2120
} from './job';
2221

2322
export class PostTraining extends APIResource {
@@ -83,6 +82,10 @@ export namespace AlgorithmConfig {
8382
}
8483
}
8584

85+
export interface ListPostTrainingJobsResponse {
86+
data: JobAPI.JobListResponse;
87+
}
88+
8689
export interface PostTrainingJob {
8790
job_uuid: string;
8891
}
@@ -351,14 +354,14 @@ PostTraining.Job = Job;
351354
export declare namespace PostTraining {
352355
export {
353356
type AlgorithmConfig as AlgorithmConfig,
357+
type ListPostTrainingJobsResponse as ListPostTrainingJobsResponse,
354358
type PostTrainingJob as PostTrainingJob,
355359
type PostTrainingPreferenceOptimizeParams as PostTrainingPreferenceOptimizeParams,
356360
type PostTrainingSupervisedFineTuneParams as PostTrainingSupervisedFineTuneParams,
357361
};
358362

359363
export {
360364
Job as Job,
361-
type ListPostTrainingJobsResponse as ListPostTrainingJobsResponse,
362365
type JobListResponse as JobListResponse,
363366
type JobArtifactsResponse as JobArtifactsResponse,
364367
type JobStatusResponse as JobStatusResponse,

0 commit comments

Comments
 (0)