Skip to content

Commit 251e66c

Browse files
committed
perf(anthropic): support HTTP client timeout configuration
Signed-off-by: yinh <[email protected]>
1 parent c282cad commit 251e66c

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ void generateWithCustomTimeout() {
9999
@Test
100100
void generateStreamingWithCustomTimeout() {
101101
new ApplicationContextRunner()
102-
.withPropertyValues("spring.ai.deepseek.apiKey=" + "sk-2567813d742c40e79fa6f1f2ee2f830c",
102+
.withPropertyValues("spring.ai.deepseek.apiKey=" + System.getenv("DEEPSEEK_API_KEY"),
103103
"spring.ai.deepseek.connect-timeout=1s", "spring.ai.deepseek.read-timeout=1s")
104104
.withConfiguration(SpringAiTestAutoConfigurations.of(DeepSeekChatAutoConfiguration.class))
105105
.run(context -> {

0 commit comments

Comments
 (0)