refactor(api): update file_url field in MultimodalContent interface

This commit is contained in:
dakai
2024-10-05 23:00:02 +08:00
parent 83f948239c
commit 10f6ef0fb1
4 changed files with 53 additions and 27 deletions

View File

@@ -57,7 +57,7 @@
display: flex;
flex-direction: column;
//row-gap: 11px;
height: 64px;
max-height: 64px;
}
.attach-file {

View File

@@ -1041,6 +1041,7 @@ function _Chat() {
.onUserInput(userInput, attachImages, attachFiles)
.then(() => setIsLoading(false));
setAttachImages([]);
setAttachFiles([]);
chatStore.setLastInput(userInput);
setUserInput("");
setPromptHints([]);