Merge pull request #1662 from QwenLM/fix/top-right-model-not-updating

fix(ui): resolve model not updating in top-right corner
This commit is contained in:
tanzhenxin 2026-02-10 10:22:08 +08:00 committed by GitHub
commit d6a33dbe03
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 2 deletions

View file

@ -34,7 +34,7 @@ export const MainContent = () => {
return (
<>
<Static
key={uiState.historyRemountKey}
key={`${uiState.historyRemountKey}-${uiState.currentModel}`}
items={[
<AppHeader key="app-header" version={version} />,
<DebugModeNotification key="debug-notification" />,