Skip to content

Commit e5fb7da

Browse files
fix(client): fix issue with duplicate definitions in Go
1 parent 3f487db commit e5fb7da

File tree

7 files changed

+10
-11
lines changed

7 files changed

+10
-11
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 103
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/llamastack%2Fllama-stack-client-418ccf3126ab086a66c822c60204b95ef3192ffa64340bd3a1537ae46b830892.yml
33
openapi_spec_hash: 885b75e847506a930b709eb630535912
4-
config_hash: 39578cfdeb4a10121f2cb3fa3e4d5e20
4+
config_hash: 96aa17ff0395152d8d548b1d1e58b613

api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,6 @@ 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>
405404
- <code><a href="./src/resources/alpha/post-training/post-training.ts">PostTrainingJob</a></code>
406405

407406
Methods:
@@ -413,6 +412,7 @@ Methods:
413412

414413
Types:
415414

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: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ import {
3131
import * as PostTrainingAPI from './post-training/post-training';
3232
import {
3333
AlgorithmConfig,
34-
ListPostTrainingJobsResponse,
3534
PostTraining,
3635
PostTrainingJob,
3736
PostTrainingPreferenceOptimizeParams,
@@ -60,7 +59,6 @@ export declare namespace Alpha {
6059
export {
6160
PostTraining as PostTraining,
6261
type AlgorithmConfig as AlgorithmConfig,
63-
type ListPostTrainingJobsResponse as ListPostTrainingJobsResponse,
6462
type PostTrainingJob as PostTrainingJob,
6563
type PostTrainingPreferenceOptimizeParams as PostTrainingPreferenceOptimizeParams,
6664
type PostTrainingSupervisedFineTuneParams as PostTrainingSupervisedFineTuneParams,

src/resources/alpha/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ export { Inference, type InferenceRerankResponse, type InferenceRerankParams } f
2828
export {
2929
PostTraining,
3030
type AlgorithmConfig,
31-
type ListPostTrainingJobsResponse,
3231
type PostTrainingJob,
3332
type PostTrainingPreferenceOptimizeParams,
3433
type PostTrainingSupervisedFineTuneParams,

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

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

99
export {
1010
Job,
11+
type ListPostTrainingJobsResponse,
1112
type JobListResponse,
1213
type JobArtifactsResponse,
1314
type JobStatusResponse,
@@ -18,7 +19,6 @@ export {
1819
export {
1920
PostTraining,
2021
type AlgorithmConfig,
21-
type ListPostTrainingJobsResponse,
2222
type PostTrainingJob,
2323
type PostTrainingPreferenceOptimizeParams,
2424
type PostTrainingSupervisedFineTuneParams,

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

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

49+
export interface ListPostTrainingJobsResponse {
50+
data: JobListResponse;
51+
}
52+
4953
export type JobListResponse = Array<PostTrainingAPI.PostTrainingJob>;
5054

5155
/**
@@ -167,6 +171,7 @@ export interface JobStatusParams {
167171

168172
export declare namespace Job {
169173
export {
174+
type ListPostTrainingJobsResponse as ListPostTrainingJobsResponse,
170175
type JobListResponse as JobListResponse,
171176
type JobArtifactsResponse as JobArtifactsResponse,
172177
type JobStatusResponse as JobStatusResponse,

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

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

2223
export class PostTraining extends APIResource {
@@ -82,10 +83,6 @@ export namespace AlgorithmConfig {
8283
}
8384
}
8485

85-
export interface ListPostTrainingJobsResponse {
86-
data: JobAPI.JobListResponse;
87-
}
88-
8986
export interface PostTrainingJob {
9087
job_uuid: string;
9188
}
@@ -354,14 +351,14 @@ PostTraining.Job = Job;
354351
export declare namespace PostTraining {
355352
export {
356353
type AlgorithmConfig as AlgorithmConfig,
357-
type ListPostTrainingJobsResponse as ListPostTrainingJobsResponse,
358354
type PostTrainingJob as PostTrainingJob,
359355
type PostTrainingPreferenceOptimizeParams as PostTrainingPreferenceOptimizeParams,
360356
type PostTrainingSupervisedFineTuneParams as PostTrainingSupervisedFineTuneParams,
361357
};
362358

363359
export {
364360
Job as Job,
361+
type ListPostTrainingJobsResponse as ListPostTrainingJobsResponse,
365362
type JobListResponse as JobListResponse,
366363
type JobArtifactsResponse as JobArtifactsResponse,
367364
type JobStatusResponse as JobStatusResponse,

0 commit comments

Comments
 (0)