diff --git a/.env b/.env index 2f67571d..1cae3940 100644 --- a/.env +++ b/.env @@ -21,7 +21,7 @@ hmac = 8aU8WnITYhwaGTXH [promotion] PROMOTION_LLM_URL=http://chat.taimed.cn/v1/chat/completions -PROMOTION_LLM_MODEL=your-model-name +PROMOTION_LLM_MODEL=DeepSeek-Coder-V2-Instruct PROMOTION_LLM_TIMEOUT=30 PROMOTION_LLM_FALLBACK="We would like to cordially invite you to consider submitting a manuscript to {{journal_name}}." PROMOTION_LLM_ADVISED_FALLBACK="" @@ -44,6 +44,20 @@ base_url = http://journalapi.tmrjournals.com/public/index.php api_key = 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 api_key1 = sk-svcacct-BEqbo-vcojWbafVmsY78Ef9Rts08joR9zEVaUV-5k6ejhxqAceu0cMTs8BHxgZYJjT3BlbkFJo9lsp2Wqo0DpijKvJJHGC6yMlreFah8VR4WSDctBGCJo_uacLaUH89IQk4AoYcJTgA +[reference] +; 本地大模型(OpenAI 兼容接口,如 Ollama / LM Studio / vLLM) +reference_llm_url = http://127.0.0.1:11434/v1/chat/completions +reference_llm_model = qwen2.5:7b +reference_llm_api_key = +reference_llm_timeout = 120 + +[citation] +; 引用检测等模块共用(未配 [reference] 时 ReferenceCheck 会回退到此处) +citation_chat_url = http://127.0.0.1:11434/v1/chat/completions +citation_chat_model = qwen2.5:7b +citation_chat_api_key = +citation_chat_timeout = 120 + [emailtemplete] pre = ' diff --git a/.gitignore b/.gitignore index b329ce96..d54a1cea 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,6 @@ config/ nbproject/ /.vscode/ /vendor/ +thinkphp +/thinkphp +vendor diff --git a/composer.phar b/composer.phar new file mode 100644 index 00000000..abb63c49 Binary files /dev/null and b/composer.phar differ