Skip to content

Commit cc5a623

Browse files
committed
Make reasoning effort option comparison case‑insensitive by converting option text to lowercase before matching
1 parent ced39df commit cc5a623

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ export const openrouter: Chatbot = {
252252
const options = dropdown.querySelectorAll('div[role="option"]')
253253
let found = false
254254
for (const option of Array.from(options)) {
255-
if (option.textContent == reasoning_effort) {
255+
if (option.textContent.toLowerCase() == reasoning_effort) {
256256
;(option as HTMLElement).click()
257257
found = true
258258
break

0 commit comments

Comments
 (0)