mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 00:24:13 +08:00
ds
This commit is contained in:
parent
d9d3aa824b
commit
7890588710
@ -4,9 +4,9 @@ from translator.dev_llm_common import commonllmdev
|
|||||||
class TS(commonllmdev):
|
class TS(commonllmdev):
|
||||||
target_url = "https://chat.deepseek.com/"
|
target_url = "https://chat.deepseek.com/"
|
||||||
jsfile = "commonhookxhrstream.js"
|
jsfile = "commonhookxhrstream.js"
|
||||||
function1 = "url.endsWith('v0/chat/completions')"
|
function1 = "url.endsWith('v0/chat/completion')"
|
||||||
function2 = r"""if(!!(chunk.choices[0].delta.content))
|
function2 = r"""if(!!(chunk.choices[0].delta.content))
|
||||||
thistext += chunk.choices[0].delta.content"""
|
thistext += chunk.choices[0].delta.content"""
|
||||||
|
|
||||||
textarea_selector = "#chat-input"
|
textarea_selector = "#chat-input"
|
||||||
button_selector = "._89d4d19:nth-child(3)"
|
button_selector = 'div[role="button"]'
|
||||||
|
@ -29,7 +29,7 @@ include(generate_product_version)
|
|||||||
|
|
||||||
set(VERSION_MAJOR 5)
|
set(VERSION_MAJOR 5)
|
||||||
set(VERSION_MINOR 51)
|
set(VERSION_MINOR 51)
|
||||||
set(VERSION_PATCH 1)
|
set(VERSION_PATCH 2)
|
||||||
|
|
||||||
add_library(pch pch.cpp)
|
add_library(pch pch.cpp)
|
||||||
target_precompile_headers(pch PUBLIC pch.h)
|
target_precompile_headers(pch PUBLIC pch.h)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user