Skip to content

Commit d51b418

Browse files
committed
fix: disable unused OpenAI auto-configurations (audio, embedding, image, moderation)
Only the chat module is needed for DeepSeek. The other modules fail to start because they look for api-key at their own config paths.
1 parent 0306be4 commit d51b418

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

src/main/resources/application.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,17 @@ spring.ai:
3636
extra-body:
3737
thinking:
3838
type: disabled
39+
embedding:
40+
enabled: false
41+
audio:
42+
speech:
43+
enabled: false
44+
transcription:
45+
enabled: false
46+
image:
47+
enabled: false
48+
moderation:
49+
enabled: false
3950
mcp:
4051
client:
4152
enabled: false # 禁用自动配置,使用自定义配置

0 commit comments

Comments
 (0)