mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-17 14:33:41 +08:00
feat: add UploadFile interface for handling file uploads
This commit is contained in:
@@ -36,9 +36,15 @@ export interface MultimodalContent {
|
||||
};
|
||||
file_url?: {
|
||||
url: string;
|
||||
name: string;
|
||||
};
|
||||
}
|
||||
|
||||
export interface UploadFile {
|
||||
name: string;
|
||||
url: string;
|
||||
}
|
||||
|
||||
export interface RequestMessage {
|
||||
role: MessageRole;
|
||||
content: string | MultimodalContent[];
|
||||
|
||||
Reference in New Issue
Block a user