File tree Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Original file line number Diff line number Diff line change 1919 <artifactId >httpclient5</artifactId >
2020 <version >5.4.3</version >
2121 </dependency >
22+ <dependency >
23+ <groupId >org.apache.httpcomponents.core5</groupId >
24+ <artifactId >httpcore5</artifactId >
25+ <version >5.3.4</version > <!-- 确保版本兼容 -->
26+ </dependency >
2227
2328 <dependency >
2429 <groupId >org.springframework.ai</groupId >
Original file line number Diff line number Diff line change @@ -6,11 +6,14 @@ spring:
66 name : mcp-client
77 profiles :
88 active : mcp-client
9- ai :
10- openai :
11- api-key : sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
12- chat :
13- base-url : https://api.deepseek.com
14- completions-path : /v1/chat/completions
15- options :
16- model : deepseek-chat
9+ ai :
10+ openai :
11+ api-key : ${spring.ai.openai.api-key}
12+ chat :
13+ # base-url: https://api.deepseek.com
14+ base-url : https://dashscope.aliyuncs.com/compatible-mode
15+ # completions-path: /v1/chat/completions
16+ completions-path : /v1/chat/completions
17+ options :
18+ # model: deepseek-chat
19+ model : qwen-plus
You can’t perform that action at this time.
0 commit comments