fix: make transcript refinement language-aware

This commit is contained in:
Jamie Pine
2026-07-21 12:35:20 -07:00
parent 52f8d8dd38
commit 7ac663fd0a
20 changed files with 1240 additions and 44 deletions
@@ -8,4 +8,5 @@
export type TranscriptionResponse = {
text: string;
duration: number;
language?: string | null;
};
@@ -13,5 +13,9 @@ export const $TranscriptionResponse = {
type: 'number',
isRequired: true,
},
language: {
type: 'any-of',
contains: [{ type: 'string' }, { type: 'null' }],
},
},
} as const;
+1
View File
@@ -258,6 +258,7 @@ export interface TranscriptionRequest {
export interface TranscriptionResponse {
text: string;
duration: number;
language?: string | null;
}
export interface HealthResponse {