Skip to content

Commit e2540f9

Browse files
committed
feat: DeepSeek: support HTTP client timeout configuration
1 parent b326fbc commit e2540f9

File tree

1 file changed

+2
-2
lines changed
  • auto-configurations/models/spring-ai-autoconfigure-model-deepseek/src/test/java/org/springframework/ai/model/deepseek/autoconfigure

1 file changed

+2
-2
lines changed

auto-configurations/models/spring-ai-autoconfigure-model-deepseek/src/test/java/org/springframework/ai/model/deepseek/autoconfigure/DeepSeekAutoConfigurationIT.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ void generateStreaming() {
7777
void generateWithCustomTimeout() {
7878
new ApplicationContextRunner()
7979
.withPropertyValues("spring.ai.deepseek.apiKey=" + System.getenv("DEEPSEEK_API_KEY"),
80-
"spring.ai.deepseek.http-client.connect-timeout=5s",
81-
"spring.ai.deepseek.http-client.read-timeout=30s")
80+
"spring.ai.deepseek.http-client.connect-timeout=5s",
81+
"spring.ai.deepseek.http-client.read-timeout=30s")
8282
.withConfiguration(SpringAiTestAutoConfigurations.of(DeepSeekChatAutoConfiguration.class))
8383
.run(context -> {
8484
DeepSeekChatModel client = context.getBean(DeepSeekChatModel.class);

0 commit comments

Comments
 (0)