Browse Source

fix:视频巡检无法解析视频的问题

zhongwei
luyie 2 months ago
parent
commit
2d4c1d596e
  1. 2
      hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/zhipuai/handler/ZhipuAnalysisHandlerGlm4v.java

2
hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/zhipuai/handler/ZhipuAnalysisHandlerGlm4v.java

@ -39,7 +39,7 @@ public class ZhipuAnalysisHandlerGlm4v extends AbstractZhipuAnalysisHandler {
@Override @Override
public ModelApiResponse sendRequest(String text, String url) { public ModelApiResponse sendRequest(String text, String url) {
ChatCompletionRequest request = getRequest(text, url); ChatCompletionRequest request = getRequest(text, url);
log.info("send zhipu ai request :{}", Optional.ofNullable(request).map(JsonUtil::toJson).orElse("null")); log.info("send zhipu ai request ,text is {},url is {}", text, url);
return client.invokeModelApi(request); return client.invokeModelApi(request);
} }

Loading…
Cancel
Save