|
@@ -585,6 +585,8 @@ public class MarketEmailsServiceImpl extends MyBaseServiceImpl<MarketEmailsMappe
|
|
|
// 不再做 inner.toString() 兜底——整串 Result 里有 files=[]/inputs=[] 等空数组
|
|
// 不再做 inner.toString() 兜底——整串 Result 里有 files=[]/inputs=[] 等空数组
|
|
|
// 会被误当成 AI 输出的 JSON 数组(如 [models]),污染解析。
|
|
// 会被误当成 AI 输出的 JSON 数组(如 [models]),污染解析。
|
|
|
String text = extractCleanText(r.getResult());
|
|
String text = extractCleanText(r.getResult());
|
|
|
|
|
+ //去掉text中<think>...</think>之间的内容,<think>...</think>也不保留
|
|
|
|
|
+ text = text.replaceAll("<think>.*?</think>", "");
|
|
|
marketEmailsEntity.setContent(text);
|
|
marketEmailsEntity.setContent(text);
|
|
|
|
|
|
|
|
this.updateById(marketEmailsEntity);
|
|
this.updateById(marketEmailsEntity);
|