Skip to content

Commit 0965823

Browse files
committed
Update Claude generation check to use chat input stop button
1 parent f7e33e6 commit 0965823

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

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

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,7 @@ export const claude: Chatbot = {
109109
observe_for_responses({
110110
chatbot_name: 'Claude',
111111
is_generating: () =>
112-
!!document.querySelector(
113-
'div[data-cds="AssistantMessage"] div[data-cds="TurnStatus"]'
114-
),
112+
!!document.querySelector('button[data-testid="chat-input-stop"]'),
115113
footer_selector,
116114
add_buttons: params.inject_button ? add_buttons : undefined
117115
})

0 commit comments

Comments
 (0)