✅ 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:
33
node_modules/openai/resources/files.d.ts
generated
vendored
33
node_modules/openai/resources/files.d.ts
generated
vendored
@@ -1,8 +1,7 @@
|
||||
import { APIResource } from "../core/resource.js";
|
||||
import { APIPromise } from "../core/api-promise.js";
|
||||
import { CursorPage, type CursorPageParams, PagePromise } from "../core/pagination.js";
|
||||
import { type Uploadable } from "../core/uploads.js";
|
||||
import { RequestOptions } from "../internal/request-options.js";
|
||||
import { APIResource } from "../resource.js";
|
||||
import * as Core from "../core.js";
|
||||
import { CursorPage, type CursorPageParams } from "../pagination.js";
|
||||
import { type Response } from "../_shims/index.js";
|
||||
export declare class Files extends APIResource {
|
||||
/**
|
||||
* Upload a file that can be used across various endpoints. Individual files can be
|
||||
@@ -27,23 +26,30 @@ export declare class Files extends APIResource {
|
||||
* Please [contact us](https://help.openai.com/) if you need to increase these
|
||||
* storage limits.
|
||||
*/
|
||||
create(body: FileCreateParams, options?: RequestOptions): APIPromise<FileObject>;
|
||||
create(body: FileCreateParams, options?: Core.RequestOptions): Core.APIPromise<FileObject>;
|
||||
/**
|
||||
* Returns information about a specific file.
|
||||
*/
|
||||
retrieve(fileID: string, options?: RequestOptions): APIPromise<FileObject>;
|
||||
retrieve(fileId: string, options?: Core.RequestOptions): Core.APIPromise<FileObject>;
|
||||
/**
|
||||
* Returns a list of files.
|
||||
*/
|
||||
list(query?: FileListParams | null | undefined, options?: RequestOptions): PagePromise<FileObjectsPage, FileObject>;
|
||||
list(query?: FileListParams, options?: Core.RequestOptions): Core.PagePromise<FileObjectsPage, FileObject>;
|
||||
list(options?: Core.RequestOptions): Core.PagePromise<FileObjectsPage, FileObject>;
|
||||
/**
|
||||
* Delete a file.
|
||||
*/
|
||||
delete(fileID: string, options?: RequestOptions): APIPromise<FileDeleted>;
|
||||
del(fileId: string, options?: Core.RequestOptions): Core.APIPromise<FileDeleted>;
|
||||
/**
|
||||
* Returns the contents of the specified file.
|
||||
*/
|
||||
content(fileID: string, options?: RequestOptions): APIPromise<Response>;
|
||||
content(fileId: string, options?: Core.RequestOptions): Core.APIPromise<Response>;
|
||||
/**
|
||||
* Returns the contents of the specified file.
|
||||
*
|
||||
* @deprecated The `.content()` method should be used instead
|
||||
*/
|
||||
retrieveContent(fileId: string, options?: Core.RequestOptions): Core.APIPromise<string>;
|
||||
/**
|
||||
* Waits for the given file to be processed, default timeout is 30 mins.
|
||||
*/
|
||||
@@ -52,7 +58,8 @@ export declare class Files extends APIResource {
|
||||
maxWait?: number;
|
||||
}): Promise<FileObject>;
|
||||
}
|
||||
export type FileObjectsPage = CursorPage<FileObject>;
|
||||
export declare class FileObjectsPage extends CursorPage<FileObject> {
|
||||
}
|
||||
export type FileContent = string;
|
||||
export interface FileDeleted {
|
||||
id: string;
|
||||
@@ -115,7 +122,7 @@ export interface FileCreateParams {
|
||||
/**
|
||||
* The File object (not file name) to be uploaded.
|
||||
*/
|
||||
file: Uploadable;
|
||||
file: Core.Uploadable;
|
||||
/**
|
||||
* The intended purpose of the uploaded file. One of: - `assistants`: Used in the
|
||||
* Assistants API - `batch`: Used in the Batch API - `fine-tune`: Used for
|
||||
@@ -136,6 +143,6 @@ export interface FileListParams extends CursorPageParams {
|
||||
purpose?: string;
|
||||
}
|
||||
export declare namespace Files {
|
||||
export { type FileContent as FileContent, type FileDeleted as FileDeleted, type FileObject as FileObject, type FilePurpose as FilePurpose, type FileObjectsPage as FileObjectsPage, type FileCreateParams as FileCreateParams, type FileListParams as FileListParams, };
|
||||
export { type FileContent as FileContent, type FileDeleted as FileDeleted, type FileObject as FileObject, type FilePurpose as FilePurpose, FileObjectsPage as FileObjectsPage, type FileCreateParams as FileCreateParams, type FileListParams as FileListParams, };
|
||||
}
|
||||
//# sourceMappingURL=files.d.ts.map
|
||||
Reference in New Issue
Block a user