You need to sign in or sign up before continuing.
Commit 85c38fa5 by 陈健智

AI搜索推荐提问调整

parent 9cd45bc3
...@@ -4046,6 +4046,10 @@ public class MarkDataServiceImpl implements MarkDataService { ...@@ -4046,6 +4046,10 @@ public class MarkDataServiceImpl implements MarkDataService {
return getAIReferenceQuestionTemplate(projectName); return getAIReferenceQuestionTemplate(projectName);
} }
String resultContent = pair.getLeft(); String resultContent = pair.getLeft();
String[] split1 = resultContent.split(":");
if (1 != split1.length){
resultContent = split1[1];
}
String[] splits = resultContent.split("\\|"); String[] splits = resultContent.split("\\|");
// 需记录本次耗费 // 需记录本次耗费
double cost = calculateCost(pair.getRight(), model); double cost = calculateCost(pair.getRight(), model);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment