mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-11 18:09:47 +00:00
fix(tui): keep model variant across new session (#41591)
This commit is contained in:
parent
7ff27ca8cf
commit
eec55fa5f8
1 changed files with 0 additions and 1 deletions
|
|
@ -437,7 +437,6 @@ export const { use: useLocal, provider: LocalProvider } = createSimpleContext({
|
|||
if (!m) return
|
||||
if (route.data.type === "session") {
|
||||
setSessionDraft(route.data.sessionID, { ...m, variant: normalizeModelVariant(value) })
|
||||
return
|
||||
}
|
||||
setPreferences("variant", modelPreferenceKey(m), normalizeModelVariant(value))
|
||||
savePreferences()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue