Skip to content

Commit c50f51c

Browse files
authored
Merge pull request anthropics#3 from happysomani/set-default-timeout-higher
fix: set default timeout higher for folks that are using relatively s…
2 parents 1515f81 + 71af3e7 commit c50f51c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/com/app/playerservicejava/config/ChatClientConfiguration.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ public RestTemplate restTemplate() {
2323

2424
@Bean
2525
public OllamaAPI ollamaAPI() {
26-
return new OllamaAPI(OLLAMA_HOST);
26+
OllamaAPI api = new OllamaAPI(OLLAMA_HOST);
27+
api.setRequestTimeoutSeconds(120);
28+
return api;
2729
}
2830

2931
}

0 commit comments

Comments
 (0)