fix(web): pin preset before subagent header action

This commit is contained in:
Yichen Jiang
2026-08-10 19:53:58 +08:00
parent cec716717f
commit 9ce8340dd9
8 changed files with 77 additions and 8 deletions

View File

@@ -157,7 +157,8 @@ export function apply(ctx: ClientContext): void {
const label = scope.slots.register({
name: 'conversation.session.header.actions',
id: 'agent-preset',
order: 0,
// Static session context occupies the header's leading negative-order band.
order: -10,
locale: 'settings.agentPreset',
inject: labelInjected,
}, AgentPresetLabel)