feat: mcp支持

This commit is contained in:
ageer
2025-04-12 10:08:51 +08:00
parent 37a8b7dad3
commit 9b32e3b3b2
11 changed files with 411 additions and 4 deletions

View File

@@ -318,5 +318,22 @@ wechat:
token: ''
aesKey: ''
# spring ai配置
spring:
ai:
openai:
api-key: sk-xx
base-url: https://api.pandarobot.chat/
mcp:
client:
enabled: true
name: call-mcp-server
sse:
connections:
server1:
url: http://127.0.0.1:8080
ollama:
init:
pull-model-strategy: always
timeout: 60s
max-retries: 1