feat: 打通智能体图片媒体运行链路

- 增加稳定媒体引用解析与模型图片能力校验

- 修复图片 Data URI 与模型完整文本读取

- 补充媒体解析和消息兼容测试
This commit is contained in:
2026-07-17 19:45:37 +08:00
parent 66da0c9039
commit f057900f7a
19 changed files with 629 additions and 12 deletions

View File

@@ -61,7 +61,7 @@ public class EasyAgentsLlm implements Llm {
AiMessage aiMessage = response.getMessage();
if (aiMessage != null) {
return aiMessage.getContent();
return aiMessage.getTextContent();
}
throw new RuntimeException("EasyAgentsLlm can not get aiMessage!");