supeng 1 hafta önce
ebeveyn
işleme
b10756d29b

+ 3 - 3
content-understanding-core/src/main/java/com/tzld/piaoquan/content/understanding/service/impl/DeepSeekGenerateContentAction.java

@@ -19,7 +19,7 @@ import java.util.concurrent.ThreadLocalRandom;
  * @author supeng
  */
 @Slf4j
-@Service(value = "geminiGenerateContentAction")
+@Service(value = "deepSeekGenerateContentAction")
 public class DeepSeekGenerateContentAction implements Action {
 
     @Value("${ai.deepSeekApi.url:http://ai-api-internal.piaoquantv.com/aigc-server/deepseek/native/chat/completions}")
@@ -49,9 +49,9 @@ public class DeepSeekGenerateContentAction implements Action {
         Map<String, Object> paramMap = new HashMap<>();
 
 
-        log.info("geminiGenerateContentAction paramMap = {}", JSON.toJSONString(paramMap));
+        log.info("deepSeekGenerateContentAction paramMap = {}", JSON.toJSONString(paramMap));
         Optional<String> optionalS = httpPoolClient.postJson(deepSeekApiUrl, JSON.toJSONString(paramMap), headers);
-        log.info("geminiGenerateContentAction optionalS = {}", optionalS);
+        log.info("deepSeekGenerateContentAction optionalS = {}", optionalS);
         if (optionalS.isPresent()) {
             CommonResponse<Map<String, Object>> commonResponse = JSON.parseObject(optionalS.get(), CommonResponse.class);
             if (commonResponse.isSuccess() && Objects.nonNull(commonResponse.getData()) && Objects.nonNull(commonResponse.getData().get("result"))) {