This commit is contained in:
2026-03-01 17:10:41 +08:00
parent c121f03ad1
commit 00d60b78c4
5 changed files with 78 additions and 25 deletions

View File

@@ -265,6 +265,7 @@ public class DifyClient {
return WebClient.builder()
.baseUrl(url)
.defaultHeader("Authorization", "Bearer " + apiKey)
.codecs(configurer -> configurer.defaultCodecs().maxInMemorySize(16 * 1024 * 1024))
.build()
.get()
.retrieve()