diff --git a/src/LunaTranslator/translator/dev_deepseek.py b/src/LunaTranslator/translator/dev_deepseek.py index 934b8b87..b17f678c 100644 --- a/src/LunaTranslator/translator/dev_deepseek.py +++ b/src/LunaTranslator/translator/dev_deepseek.py @@ -4,9 +4,9 @@ from translator.dev_llm_common import commonllmdev class TS(commonllmdev): target_url = "https://chat.deepseek.com/" jsfile = "commonhookxhrstream.js" - function1 = "url.endsWith('v0/chat/completions')" + function1 = "url.endsWith('v0/chat/completion')" function2 = r"""if(!!(chunk.choices[0].delta.content)) thistext += chunk.choices[0].delta.content""" textarea_selector = "#chat-input" - button_selector = "._89d4d19:nth-child(3)" + button_selector = 'div[role="button"]' diff --git a/src/plugins/CMakeLists.txt b/src/plugins/CMakeLists.txt index 1c7128fb..ad1972ea 100644 --- a/src/plugins/CMakeLists.txt +++ b/src/plugins/CMakeLists.txt @@ -29,7 +29,7 @@ include(generate_product_version) set(VERSION_MAJOR 5) set(VERSION_MINOR 51) -set(VERSION_PATCH 1) +set(VERSION_PATCH 2) add_library(pch pch.cpp) target_precompile_headers(pch PUBLIC pch.h)