Skip to content

Commit

Permalink
修复了一些bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tianzhentech committed Jan 20, 2025
1 parent e90d3fa commit a76219d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/components/chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -648,6 +648,7 @@ export function ChatActions(props: {
session.mask.modelConfig.model = model as ModelType;
session.mask.modelConfig.providerName =
providerName as ServiceProvider;
session.mask.syncGlobalConfig = false;
// 如果切换到非 gemini-2.0-flash-exp 模型,清除插件选择
if (model !== "gemini-2.0-flash-exp") {
session.mask.plugin = [];
Expand Down

0 comments on commit a76219d

Please sign in to comment.