fixed controllers

This commit is contained in:
SlimusMinus
2026-07-31 01:08:53 +03:00
parent 74f7c88843
commit 2468c26b84
32 changed files with 536 additions and 432 deletions

View File

@@ -10,7 +10,6 @@ import org.springframework.stereotype.Component;
import org.springframework.web.reactive.function.client.WebClient;
import org.springframework.web.reactive.function.client.WebClientRequestException;
@Slf4j
@Component
@RequiredArgsConstructor
@@ -19,7 +18,7 @@ public class AiHttpClient {
private final WebClient aiWebClient;
public <T, R> R post(String uri, T request, Class<R> responseType) {
log.info("AI POST {}", uri);
log.info("AI TEXT POST {}", uri);
try {
R response = aiWebClient.post()
.uri(uri)