mirror of
https://git.mirrors.martin98.com/https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-08-14 05:25:55 +08:00
Revert "fix: No history message attached when for gemini-pro-vision"
This reverts commit c197962851be820469bf2e8624f9b6edd37b13e1.
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…
x
Reference in New Issue
Block a user