mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2026-02-10 08:24:25 +08:00
refactor(client): update file handling in file upload functions
This commit is contained in:
@@ -37,14 +37,14 @@ export interface MultimodalContent {
|
||||
file_url?: {
|
||||
url: string;
|
||||
name: string;
|
||||
tokenCount?: string;
|
||||
tokenCount?: number;
|
||||
};
|
||||
}
|
||||
|
||||
export interface UploadFile {
|
||||
name: string;
|
||||
url: string;
|
||||
tokenCount?: string;
|
||||
tokenCount?: number;
|
||||
}
|
||||
|
||||
export interface RequestMessage {
|
||||
|
||||
Reference in New Issue
Block a user