Commit 1395aa5e authored by alex yao's avatar alex yao

fix:preview 异常

parent dfe47235
......@@ -401,7 +401,7 @@ public class AgentApplicationInfoServiceImpl implements AgentApplicationInfoServ
}
knowledgeIds.add(knowledgeDocumentEntity.getKnowledgeId());
}
Object content = messages.get(messages.size() - 1).getContent();
Object content = messages.get(messages.size() - 1);
String query = "";
if (content instanceof List) {
query = ((List<MultiContent>) content).get(0).getText();
......
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