调用本地大模型

This commit is contained in:
2026-03-29 21:58:58 +08:00
parent a91d850de9
commit a3ccadd6a9
2 changed files with 37 additions and 0 deletions

View File

@@ -9,6 +9,14 @@ dashscope:
api:
key: ${DASHSCOPE_API_KEY}
# AI 问答 - 本地 OpenAI 兼容 Chat Completions无 Authorization
ai:
qa:
local:
chat-url: http://192.168.1.44:8000/v1/chat/completions
default-model: Qwen2.5-7B-Instruct
max-tokens: 512
langchain4j:
open-ai:
chat-model: