fix: disable context picker mode after selecting a scope

When a context scope is picked via the pipette, the picker mode now
turns off automatically since the selection is done and shows as a chip.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Ruslan Bakiev
2026-02-25 08:18:45 +07:00
parent 9b6e8291fe
commit 7d647bef25

View File

@@ -271,6 +271,7 @@ export function usePilotChat(opts: {
return; return;
} }
contextScopes.value = [...contextScopes.value, scope]; contextScopes.value = [...contextScopes.value, scope];
contextPickerEnabled.value = false;
} }
function removeContextScope(scope: ContextScope) { function removeContextScope(scope: ContextScope) {