✅ 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:
15
node_modules/openai/resources/audio/speech.d.ts
generated
vendored
15
node_modules/openai/resources/audio/speech.d.ts
generated
vendored
@@ -1,6 +1,6 @@
|
||||
import { APIResource } from "../../core/resource.js";
|
||||
import { APIPromise } from "../../core/api-promise.js";
|
||||
import { RequestOptions } from "../../internal/request-options.js";
|
||||
import { APIResource } from "../../resource.js";
|
||||
import * as Core from "../../core.js";
|
||||
import { type Response } from "../../_shims/index.js";
|
||||
export declare class Speech extends APIResource {
|
||||
/**
|
||||
* Generates audio from the input text.
|
||||
@@ -17,7 +17,7 @@ export declare class Speech extends APIResource {
|
||||
* console.log(content);
|
||||
* ```
|
||||
*/
|
||||
create(body: SpeechCreateParams, options?: RequestOptions): APIPromise<Response>;
|
||||
create(body: SpeechCreateParams, options?: Core.RequestOptions): Core.APIPromise<Response>;
|
||||
}
|
||||
export type SpeechModel = 'tts-1' | 'tts-1-hd' | 'gpt-4o-mini-tts';
|
||||
export interface SpeechCreateParams {
|
||||
@@ -49,14 +49,9 @@ export interface SpeechCreateParams {
|
||||
response_format?: 'mp3' | 'opus' | 'aac' | 'flac' | 'wav' | 'pcm';
|
||||
/**
|
||||
* The speed of the generated audio. Select a value from `0.25` to `4.0`. `1.0` is
|
||||
* the default.
|
||||
* the default. Does not work with `gpt-4o-mini-tts`.
|
||||
*/
|
||||
speed?: number;
|
||||
/**
|
||||
* The format to stream the audio in. Supported formats are `sse` and `audio`.
|
||||
* `sse` is not supported for `tts-1` or `tts-1-hd`.
|
||||
*/
|
||||
stream_format?: 'sse' | 'audio';
|
||||
}
|
||||
export declare namespace Speech {
|
||||
export { type SpeechModel as SpeechModel, type SpeechCreateParams as SpeechCreateParams };
|
||||
|
||||
Reference in New Issue
Block a user