feat: rewrite llm config and model patch

This commit is contained in:
Simon
2026-07-02 21:31:44 +08:00
parent 83fee37fb4
commit 8ad719744a
10 changed files with 144 additions and 268 deletions
-2
View File
@@ -208,9 +208,7 @@ export async function inputTextElement(element: HTMLElement, text: string) {
selection?.removeAllRanges()
selection?.addRange(range)
// eslint-disable-next-line @typescript-eslint/no-deprecated
doc.execCommand('delete', false)
// eslint-disable-next-line @typescript-eslint/no-deprecated
doc.execCommand('insertText', false, text)
}