From 3691126c023174f6fed1d47677e97392a56364db Mon Sep 17 00:00:00 2001 From: xunbu Date: Mon, 14 Jul 2025 18:50:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=A5=E5=8F=A3=E6=96=87?= =?UTF-8?q?=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docutranslate/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docutranslate/app.py b/docutranslate/app.py index bc00e0c..7d88b57 100644 --- a/docutranslate/app.py +++ b/docutranslate/app.py @@ -512,9 +512,9 @@ async def main_page_admin(): @app.post("/temp/translate", - summary="[内部] 临时同步翻译接口", + summary="[临时]同步翻译接口", description="一个简单的、同步的翻译接口,用于快速测试。不涉及后台任务、状态管理或多格式输出。**不建议在生产环境中使用。**", - tags=["Internal / UI"]) + tags=["Temp"]) async def temp_translate( base_url: str = Body(..., description="LLM API的基础URL。", example="https://api.openai.com/v1"), api_key: str = Body(..., description="LLM API的密钥。", example="sk-xxxxxxxxxx"),