修改功能调试 确保可以联通ai中台[AC-INIT]

This commit is contained in:
MerCry 2026-02-26 22:15:41 +08:00
parent 8f5ab8a44b
commit 905601ecdb
3 changed files with 6 additions and 4 deletions

View File

@ -45,9 +45,11 @@ public class AiServiceClientImpl implements AiServiceClient {
ResponseEntity<ChatResponse> response = restTemplate.postForEntity( ResponseEntity<ChatResponse> response = restTemplate.postForEntity(
url, entity, ChatResponse.class); url, entity, ChatResponse.class);
log.info("[AC-MCA-05] AI 服务响应: sessionId={}, shouldTransfer={}", log.info("[AC-MCA-05] AI 服务响应: sessionId={}, shouldTransfer={},置信度:{}",
request.getSessionId(), request.getSessionId(),
response.getBody() != null ? response.getBody().getShouldTransfer() : null); response.getBody() != null ? response.getBody().getShouldTransfer() : null,
response.getBody().getConfidence()
);
return CompletableFuture.completedFuture(response.getBody()); return CompletableFuture.completedFuture(response.getBody());
} }

View File

@ -1,5 +1,5 @@
server: server:
port: 8080 port: 8883
spring: spring:
datasource: datasource:

View File

@ -1,5 +1,5 @@
server: server:
port: 8080 port: 8883
spring: spring:
datasource: datasource: