mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-05-20 04:30:17 +09:00
Revert "fix: No history message attached when for gemini-pro-vision"
This reverts commit c197962851
.
This commit is contained in:
parent
5348d57057
commit
c22153a4eb
@ -459,10 +459,6 @@ export function ChatActions(props: {
|
||||
if (!show) {
|
||||
props.setAttachImages([]);
|
||||
props.setUploading(false);
|
||||
} else {
|
||||
// 为visionModel时不附带历史消息
|
||||
const newModelConfig = chatStore.currentSession().mask.modelConfig;
|
||||
newModelConfig.historyMessageCount = 0;
|
||||
}
|
||||
|
||||
// if current model is not available
|
||||
|
Loading…
Reference in New Issue
Block a user