fix: preserve session titles without context enhancement

This commit is contained in:
xmanrui 2026-09-01 22:30:23 +08:00
parent e8c9817598
commit d044f1b0aa
17 changed files with 527 additions and 223 deletions

View file

@ -1211,6 +1211,11 @@ export function createBotWorkspaceScope(
readHistory(...args) {
return invokeCurrentSession('readSessionHistory', args, 'history read');
},
...(typeof target.renameSession === 'function' ? {
renameTitle(...args) {
return invokeStartedSessionMutation('renameSession', args, 'title rename');
},
} : {}),
selectModel(...args) {
return invokeCurrentSession('selectSessionModel', args, 'model selection');
},