Commit Graph

46 Commits

Author SHA1 Message Date
chinabugotech
a0bd223dc0 Prepare release 2026-05-25 17:07:04 +08:00
chinabugotech
80ef0ba2a2 release 5.8.46 2026-05-25 16:53:38 +08:00
Looly
84561772e1 prepare 5.8.46 2026-05-25 15:52:18 +08:00
Looly
49858088d3 修复AI SPI classloader找不到实现问题(issue#4241@Github) 2026-04-07 10:49:36 +08:00
Looly
2441c92ada 修复AI SPI classloader找不到实现问题(issue#4241@Github) 2026-04-07 10:24:34 +08:00
root
65a31d95e7 $'\U1F680'release5.8.45 2026-03-23 14:50:57 +08:00
root
f82794bebe $'\U1F680'release5.8.45 2026-03-23 14:44:42 +08:00
chinabugotech
582b04f1f8 🐢prepare5.8.45 2026-03-12 13:18:00 +08:00
chinabugotech
34bebfd6f3 🚀release 5.8.44 2026-03-12 11:40:48 +08:00
chinabugotech
ca49d9ad84 🐢prepare5.8.44 2026-01-05 17:24:58 +08:00
chinabugotech
4483645452 🚀release5.8.43 2026-01-05 16:51:16 +08:00
chinabugotech
5b2d746d3e 🐢prepare5.8.44 2026-01-05 16:02:15 +08:00
choweli
c105910ccd ai对gemini的实现fix: https://github.com/dromara/hutool/issues/3426 2026-01-04 10:34:57 +08:00
choweli
a17740d07c ai对gemini的实现fix: https://github.com/dromara/hutool/issues/3426 2025-12-31 16:27:03 +08:00
FeiWuSama
49363c99ea fix(BaseAIService):发送请求方法中try/catch块捕获的应该是Exception而不是自定义的AIException 2025-12-26 17:13:22 +08:00
Looly
86897ed558 修复Models枚举命名大小写混用问题(pr#4185@Github) 2025-12-24 18:18:08 +08:00
Golden Looly
34585448d1 Merge pull request #4185 from kaseketsu/v5-dev
style: 修正 hutool-ai 模块 Models.java 文件中枚举命名大小写混用问题,如 Doubao_Seedance_1_0_lite_t2v -> …
2025-12-24 18:16:11 +08:00
kaseketsu
60a91d258a fix: 修正 Models.java 文件中枚举命名大小写混用问题,如 Doubao_Seedance_1_0_lite_t2v -> DOUBAO_SEEDANCE_1_0_LITE_T2V;修复枚举值缺失问题,如 DOUBAO_LITE_128K_240828("240828") -> DOUBAO_LITE_128K_240828("doubao-lite-128k-240828")。 2025-12-20 22:14:17 +08:00
chinabugotech
58b5291720 🐢prepare5.8.43 2025-12-01 10:25:59 +08:00
chinabugotech
f4e5a10697 🚀release5.8.42 2025-12-01 09:52:44 +08:00
Looly
fb95caa7b9 增加代理支持(pr#4107@Github) 2025-10-23 02:52:56 +08:00
Alaia
afc1036fb6 fix: ai配置支持进行代理配置 2025-10-22 17:44:59 +08:00
chinabugotech
da2d0823b9 🐢prepare5.8.42 2025-10-13 14:01:20 +08:00
root
fa308b5ef0 🚀release5.8.41 2025-10-13 13:06:45 +08:00
Looly
69c2916ee0 修复AIConfigBuilder中方法名拼写错误(pr#1382@Gitee) 2025-10-10 17:28:43 +08:00
choweli
2f44ddb0f5 Message增加setter和构造方法(issue#ICXTP2@Gitee) 2025-09-15 11:12:44 +08:00
chinabugotech
aeb7ec8a86 🐢prepare5.8.41 2025-08-27 09:53:08 +08:00
bugo
2d5fcc3b08 🚀release5.8.40 2025-08-27 09:36:56 +08:00
Looly
3d6c1e115e fix comment 2025-08-21 11:42:07 +08:00
Looly
56e2852332 fix code 2025-07-14 10:50:56 +08:00
杨若瑜
d96dc0cd0a 去掉System.out.println(); 2025-06-27 15:51:43 +08:00
杨若瑜
10f6278e46 添加OllamaService的测试代码 2025-06-26 17:43:57 +08:00
杨若瑜
53214b6fa4 添加Ollama客户端支持,使用方法如下:
// 创建AI服务
OllamaService aiService = AIServiceFactory.getAIService(
	new AIConfigBuilder(ModelName.OLLAMA.getValue())
		.setApiUrl("http://localhost:11434")
		.setModel("qwen2.5-coder:32b")
		.build(),
	OllamaService.class
);

// 构造上下文
List<Message> messageList=new ArrayList<>();
messageList.add(new Message("system","你是一个疯疯癫癫的机器人"));
messageList.add(new Message("user","你能帮我做什么"));

// 输出对话结果
System.out.println(aiService.chat(messageList));

// 流式输出
aiService.chat("请帮我写一段描写Hutool的散文", System.err::println);

// 拉取模型(高耗时操作)
aiService.pullModel("qwen3:32b");
2025-06-26 01:05:34 +08:00
bugo
826665618c 🐢prepare5.8.40 2025-06-23 13:45:56 +08:00
bugo
6469e7bea6 🐢prepare 2025-06-23 12:38:46 +08:00
bugo
f6ba182f52 🚀release5.8.39 2025-06-23 10:47:39 +08:00
choweli
82399a185e 增加超时时间和读取超时时间设置 2025-06-04 10:58:13 +08:00
choweli
017a7b5c98 Hutool-AI接口地址修改 2025-06-03 10:31:16 +08:00
choweli
008b9fd662 新增Hutool-AI服务 2025-05-30 14:42:24 +08:00
choweli
322c079abf 新增Hutool-AI服务 2025-05-30 14:36:48 +08:00
choweli
2b35ae8d09 排除多余依赖,代码优化 2025-05-23 16:01:37 +08:00
Looly
6cd936078b remove invalid dependency 2025-05-23 15:44:07 +08:00
choweli
d1314d5905 增加SSE流式返回函数参数callback,豆包、grok新增文生图接口,豆包生成视频支持使用model 2025-05-19 12:00:33 +08:00
bugo
0ed9c08507 🐢prepare 2025-05-13 14:46:13 +08:00
bugo
abbe514479 🚀release5.8.38 2025-05-13 13:35:15 +08:00
choweli
87b69cf076 新增hutool-ai模块 2025-05-13 11:06:40 +08:00