Skip to content

Commit be582ef

Browse files
deepin-mozartdeepin-ci-robot
authored andcommitted
fix: hide stop button when model changed
Log: bug fix Bug: https://pms.uniontech.com/bug-view-306851.html Change-Id: Iacae941b5509d913024f9937528d55e5e8cfe402
1 parent 31f5770 commit be582ef

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/plugins/chat/widgets/askpagewidget.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,9 @@ void AskPageWidget::onLLMChanged(int index)
132132
inputEdit->switchNetworkBtnVisible(false);
133133
else
134134
inputEdit->switchNetworkBtnVisible(true);
135+
136+
onStopGenerate();
137+
135138
OptionManager::getInstance()->setValue(optionCategory, selectedLLM, llmInfo.toVariant());
136139
}
137140

0 commit comments

Comments
 (0)