From 94bffd0375e9f52f91532da1e7760f1a801a7db2 Mon Sep 17 00:00:00 2001 From: fofolee Date: Mon, 24 Feb 2025 21:26:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84api=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E4=B8=ADapi=E5=9C=B0=E5=9D=80=E7=9A=84=E5=8D=A0=E4=BD=8D?= =?UTF-8?q?=E7=AC=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ai/AIConfig.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/ai/AIConfig.vue b/src/components/ai/AIConfig.vue index 8748dd9..abfdf9f 100644 --- a/src/components/ai/AIConfig.vue +++ b/src/components/ai/AIConfig.vue @@ -75,7 +75,11 @@ dense v-model="aiConfig.apiUrl" class="col-7" - :placeholder="`${aiConfig.apiType} API地址`" + :placeholder=" + aiConfig.apiType === 'openai' + ? '例:https://api.openai.com' + : '例:http://localhost:11434' + " >