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 19
19
<artifactId >httpclient5</artifactId >
20
20
<version >5.4.3</version >
21
21
</dependency >
22
+ <dependency >
23
+ <groupId >org.apache.httpcomponents.core5</groupId >
24
+ <artifactId >httpcore5</artifactId >
25
+ <version >5.3.4</version > <!-- 确保版本兼容 -->
26
+ </dependency >
22
27
23
28
<dependency >
24
29
<groupId >org.springframework.ai</groupId >
Original file line number Diff line number Diff line change @@ -6,11 +6,14 @@ spring:
6
6
name : mcp-client
7
7
profiles :
8
8
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