Skip to content

Commit c3d154c

Browse files
liu-657667glmapper
authored andcommitted
fix(spring-ai-chat-qwen): 修复 API 密钥配置问题 (#26)
- 将 spring.ai.openai.chat.api-key 更名为 spring.ai.openai.api-key
1 parent f3c0e55 commit c3d154c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-ai-chat/spring-ai-chat-qwen/src/main/resources/application.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ server.port=8085
44
spring.profiles.active=qwen
55

66
# qwen model
7-
spring.ai.openai.chat.api-key=${spring.ai.openai.api-key}
7+
spring.ai.openai.api-key=${spring.ai.openai.api-key}
88
spring.ai.openai.chat.base-url=https://dashscope.aliyuncs.com/compatible-mode
99
spring.ai.openai.chat.completions-path=/v1/chat/completions
1010
spring.ai.openai.chat.options.model=qwen-plus

0 commit comments

Comments
 (0)