diff --git a/apps/desktop/src/components/editor/AiAssistant.vue b/apps/desktop/src/components/editor/AiAssistant.vue index f16886136c..c0e55aec09 100644 --- a/apps/desktop/src/components/editor/AiAssistant.vue +++ b/apps/desktop/src/components/editor/AiAssistant.vue @@ -2934,8 +2934,8 @@ async function openExternalUrl(url: string) {
- +
diff --git a/packages/app-tests/aiAssistantComposerLayout.test.ts b/packages/app-tests/aiAssistantComposerLayout.test.ts index 14e2e013c1..e05e6f7c25 100644 --- a/packages/app-tests/aiAssistantComposerLayout.test.ts +++ b/packages/app-tests/aiAssistantComposerLayout.test.ts @@ -64,7 +64,8 @@ test("AI model menu separates provider groups from model selections", () => { const selectorEnd = source.indexOf("", source.indexOf("", selectorStart)); const selector = source.slice(selectorStart, selectorEnd); - assert.match(selector, /v-for="\(config, configIndex\) in configuredProviders"/); + assert.match(selector, /
/); + assert.match(selector, /class="sticky top-0 z-10 flex w-full items-center gap-2 rounded-sm bg-popover/); assert.match(selector, /class="ml-5 border-l border-border\/60 pl-1"/); assert.match(selector, /v-if="configIndex < configuredProviders\.length - 1" class="my-1 border-t"/); assert.doesNotMatch(selector, /bg-accent text-accent-foreground.*config\.id === settings\.activeModel/);