Skip to content

Commit 015227c

Browse files
committed
Update OpenRouter footer selector to match new DOM structure
1 parent bb68a75 commit 015227c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • apps/browser/src/content-scripts/send-prompt-content-script/chatbots

‎apps/browser/src/content-scripts/send-prompt-content-script/chatbots/openrouter.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,8 @@ export const openrouter: Chatbot = {
314314
observe_for_responses({
315315
chatbot_name: 'OpenRouter',
316316
is_generating: () => !!document.querySelector('.animate-spin'),
317-
footer_selector: 'div[data-message-id] > div > div:last-child > div',
317+
footer_selector:
318+
'div[data-testid="assistant-message"] > div:last-child > div',
318319
add_buttons
319320
})
320321
}

0 commit comments

Comments
 (0)