fixed controllers
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user