Skip to content

Commit b4b8de1

Browse files
authored
feat: add descs for audio models
feat: add descs for audio models
2 parents 730b68d + 0404386 commit b4b8de1

2 files changed

Lines changed: 21 additions & 0 deletions

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
export default {
2+
id: {
3+
desc: `The ID of the generated audio.`,
4+
},
5+
status: {
6+
desc: `The current status of the generation task.`,
7+
},
8+
url: {
9+
desc: `The URL where the file can be downloaded from.`,
10+
},
11+
error: {
12+
desc: `Description of the error, if any.`,
13+
},
14+
meta: {
15+
desc: `Additional details about the generation.`,
16+
},
17+
tokens_used: {
18+
desc: `The number of tokens consumed during generation.`,
19+
},
20+
};

packages/openapi/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ export { default as videoResponse } from './descriptions/video.response.js';
1616
export { default as chatCompletionResponse } from './descriptions/chat-completion.response.js';
1717
export { default as imageResponse } from './descriptions/image.response.js';
1818
export { default as responsesResponse } from './descriptions/responses.response.js';
19+
export { default as audioResponse } from './descriptions/audio.response.js';

0 commit comments

Comments
 (0)