refactor(client): update file handling in file upload functions

This commit is contained in:
dakai
2024-10-06 15:30:24 +08:00
parent 1f2dea448a
commit e6ef10e96e
5 changed files with 42 additions and 38 deletions

View File

@@ -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 {