This commit is contained in:
wyn
2026-05-26 18:02:46 +08:00
parent 7a3a1ed8c9
commit ed45f3794d
3 changed files with 18 additions and 1 deletions

16
.env
View File

@@ -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 = '<!doctype html>
<html lang="zh">

3
.gitignore vendored
View File

@@ -6,3 +6,6 @@ config/
nbproject/
/.vscode/
/vendor/
thinkphp
/thinkphp
vendor

BIN
composer.phar Normal file

Binary file not shown.