Merge PR #5491: fix(models): preserve auto role thinking across restart (@roboomp)

This commit is contained in:
can1357
2026-07-14 23:11:09 +02:00
3 changed files with 98 additions and 1 deletions
@@ -719,7 +719,7 @@ export class SelectorController {
if (role === "default") {
const { switched } = await this.ctx.session.setModel(model, role, {
selector,
thinkingLevel: concreteThinking,
thinkingLevel: isAuto ? ThinkingLevel.Inherit : concreteThinking,
persist: true,
currentContextTokens,
});