✅ Fix chat interface - restore continuous conversation flow
🎯 Major improvements to MissionControl component: - Always keep input field visible and functional after AI responses - Auto-clear input after submitting questions for better UX - Add dynamic visual indicators (first question vs follow-up) - Improve response layout with clear separation and hints - Enable proper chat-like experience for continuous learning 🌟 Additional enhancements: - Better language-specific messaging throughout interface - Clearer visual hierarchy between input and response areas - Intuitive flow that guides users to ask follow-up questions - Maintains responsive design and accessibility 🔧 Technical changes: - Enhanced MissionControl state management - Improved component layout and styling - Better TypeScript integration across components - Updated tsconfig for stricter type checking
This commit is contained in:
16
node_modules/openai/resources/audio/translations.d.ts
generated
vendored
16
node_modules/openai/resources/audio/translations.d.ts
generated
vendored
@@ -1,9 +1,7 @@
|
||||
import { APIResource } from "../../core/resource.js";
|
||||
import { APIResource } from "../../resource.js";
|
||||
import * as Core from "../../core.js";
|
||||
import * as AudioAPI from "./audio.js";
|
||||
import * as TranscriptionsAPI from "./transcriptions.js";
|
||||
import { APIPromise } from "../../core/api-promise.js";
|
||||
import { type Uploadable } from "../../core/uploads.js";
|
||||
import { RequestOptions } from "../../internal/request-options.js";
|
||||
export declare class Translations extends APIResource {
|
||||
/**
|
||||
* Translates audio into English.
|
||||
@@ -16,10 +14,10 @@ export declare class Translations extends APIResource {
|
||||
* });
|
||||
* ```
|
||||
*/
|
||||
create(body: TranslationCreateParams<'json' | undefined>, options?: RequestOptions): APIPromise<Translation>;
|
||||
create(body: TranslationCreateParams<'verbose_json'>, options?: RequestOptions): APIPromise<TranslationVerbose>;
|
||||
create(body: TranslationCreateParams<'text' | 'srt' | 'vtt'>, options?: RequestOptions): APIPromise<string>;
|
||||
create(body: TranslationCreateParams, options?: RequestOptions): APIPromise<Translation>;
|
||||
create(body: TranslationCreateParams<'json' | undefined>, options?: Core.RequestOptions): Core.APIPromise<Translation>;
|
||||
create(body: TranslationCreateParams<'verbose_json'>, options?: Core.RequestOptions): Core.APIPromise<TranslationVerbose>;
|
||||
create(body: TranslationCreateParams<'text' | 'srt' | 'vtt'>, options?: Core.RequestOptions): Core.APIPromise<string>;
|
||||
create(body: TranslationCreateParams, options?: Core.RequestOptions): Core.APIPromise<Translation>;
|
||||
}
|
||||
export interface Translation {
|
||||
text: string;
|
||||
@@ -48,7 +46,7 @@ export interface TranslationCreateParams<ResponseFormat extends AudioAPI.AudioRe
|
||||
* The audio file object (not file name) translate, in one of these formats: flac,
|
||||
* mp3, mp4, mpeg, mpga, m4a, ogg, wav, or webm.
|
||||
*/
|
||||
file: Uploadable;
|
||||
file: Core.Uploadable;
|
||||
/**
|
||||
* ID of the model to use. Only `whisper-1` (which is powered by our open source
|
||||
* Whisper V2 model) is currently available.
|
||||
|
||||
Reference in New Issue
Block a user