Merge fe2c2bd2ac73f061a5a565d85dc68105e3966fdc into 598f1826d8b2bc969aace2c6459824737667218c

This commit is contained in:
Sathvik Veerapaneni 2026-03-20 20:50:42 -07:00 committed by GitHub
commit 23a19cf891
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 14 deletions

View File

@ -321,9 +321,6 @@ export async function handleDirectiveOnly(
if (directives.hasFastDirective && directives.fastMode !== undefined) {
sessionEntry.fastMode = directives.fastMode;
}
if (shouldDowngradeXHigh) {
sessionEntry.thinkingLevel = "high";
}
if (directives.hasVerboseDirective && directives.verboseLevel) {
applyVerboseOverride(sessionEntry, directives.verboseLevel);
}

View File

@ -14,7 +14,6 @@ import {
resolveSessionFilePath,
resolveSessionFilePathOptions,
type SessionEntry,
updateSessionStore,
} from "../../config/sessions.js";
import { logVerbose } from "../../globals.js";
import { clearCommandLane, getQueueSize } from "../../process/command-queue.js";
@ -402,16 +401,6 @@ export async function runPreparedReply(
};
}
resolvedThinkLevel = "high";
if (sessionEntry && sessionStore && sessionKey && sessionEntry.thinkingLevel === "xhigh") {
sessionEntry.thinkingLevel = "high";
sessionEntry.updatedAt = Date.now();
sessionStore[sessionKey] = sessionEntry;
if (storePath) {
await updateSessionStore(storePath, (store) => {
store[sessionKey] = sessionEntry;
});
}
}
}
if (resetTriggered && command.isAuthorizedSender) {
await sendResetSessionNotice({