Skip to content

Commit b0f60cd

Browse files
committed
Add Kimi chatbot support
1 parent c78c76e commit b0f60cd

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

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

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ Code with your favorite chatbot without tedious copy-pasting. The Connector exte
4848
- Open WebUI
4949
- OpenRouter Chat
5050
- Perplexity
51+
- Kimi
5152
- Qwen
5253
- Yuanbao
5354

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@ export const kimi: Chatbot = {
3737
// Focus the element first
3838
input_element.focus()
3939

40-
// Clear existing content by selecting all and deleting
41-
document.execCommand('selectAll', false)
42-
document.execCommand('delete', false)
43-
4440
// Insert the new text using execCommand which works better with Lexical
4541
document.execCommand('insertText', false, message)
4642

0 commit comments

Comments
 (0)