286 Commits

Author SHA1 Message Date
二丫讲梵
f7326b6797 增加卡片交互流式输出的能力 (#315)
* 将ai交互切换为go-openai

* add stream

*  feat(stream): 优化流式响应机制,实现实时卡片更新

- 将固定1.5秒更新改为基于300ms最小间隔的实时更新策略
- 新增内容缓冲区机制,避免过于频繁的API调用
- 改进流式中断处理,保护已接收的内容不丢失

🔧 chore(llm): 优化HTTP客户端配置

- 增加连接池设置(MaxIdleConns: 100, MaxIdleConnsPerHost: 10)
- 设置空闲连接超时时间为90秒
- 添加HTTP/2禁用选项注释,用于解决流式错误问题

📝 docs(stream): 更新流式更新策略文档

- 详细说明实时流式更新机制和缓冲策略
- 新增HTTP/2流式错误的故障排除指南
- 更新配置参数说明和建议范围

🐛 fix(stream): 修复流式中断时的内容丢失问题

- 在流式接收中断时,确保已接收的内容不会丢失
- 改进错误处理逻辑,区分有内容和无内容的情况

* modify ai
2025-12-11 18:22:35 +08:00
eryajf
d098fe7ad1 Remove sponsorship information 2025-11-23 10:38:58 +08:00
二丫讲梵
8fb535606a Update README.md 2025-06-08 17:52:27 +08:00
二丫讲梵
fa7e486263 Update README.md 2025-06-08 17:52:00 +08:00
二丫讲梵
6f9b667c20 Update README.md 2025-05-14 22:34:24 +08:00
github-actions[bot]
0827d2a371 🫶 更新贡献者列表 (#313)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-04 07:38:22 +08:00
本光
655116b643 Update format.go (#312) 2025-02-04 07:37:21 +08:00
二丫讲梵
43691b72ee Update README.md 2024-12-31 21:47:09 +08:00
eryajf
67d18b46bd doc: 调整readme内容 2024-11-26 23:12:09 +08:00
eryajf
fdbae5e353 更新readme 2024-11-13 23:08:22 +08:00
eryajf
1dabe25e95 更新readme 2024-11-13 23:04:47 +08:00
github-actions[bot]
fcef5d62a3 docs(contributor): contributors readme action update (#310)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-06 18:40:16 +08:00
本光
c3ab31060e 修改默认 session_timeout 值 (#309) 2024-08-06 18:36:17 +08:00
eryajf
01ed1d782f 对齐mod 2024-07-31 09:15:48 +08:00
eryajf
d85ab1d277 调整dockerfile中的go版本 2024-07-31 09:12:47 +08:00
github-actions[bot]
ad74357828 docs(contributor): contributors readme action update (#307)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-31 09:09:05 +08:00
本光
d6c428f7fd 新增支持gpt-4o-mini,升级mod版本 (#306)
* 新增支持gpt-4o-mini
2024-07-31 09:08:09 +08:00
eryajf
89d5be5cae chore(docs): update TOC 2024-07-30 00:39:13 +00:00
eryajf
d7afe41733 doc: readme 2024-07-30 08:38:59 +08:00
eryajf
87a1bd0421 update readme 2024-06-07 22:50:07 +08:00
eryajf
a0c585d19b add sponsor msg 2024-05-31 21:16:06 +08:00
eryajf
34f3d0719d Merge branch 'main' of github.com:eryajf/chatgpt-dingtalk 2024-05-16 22:08:34 +08:00
eryajf
808ba6ea85 调整镜像地址 2024-05-16 22:08:17 +08:00
github-actions[bot]
e404987521 docs(contributor): contributors readme action update (#301)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-14 22:21:24 +08:00
eryajf
25b4e2e9af readme doc 2024-05-14 22:20:11 +08:00
github-actions[bot]
3504bd2748 docs(contributor): contributors readme action update (#297)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-23 18:15:12 +08:00
Ashing Zheng
5300bfa297 ci: add lint workflow (#283)
* ci: add lint

Signed-off-by: ashing <axingfly@gmail.com>

* fix: add timeout

Signed-off-by: ashing <axingfly@gmail.com>

* fix: EOL

Signed-off-by: ashing <axingfly@gmail.com>

* fix: EOL

Signed-off-by: ashing <axingfly@gmail.com>

---------

Signed-off-by: ashing <axingfly@gmail.com>
2024-02-23 18:14:56 +08:00
Frank Cheung
a16bafed31 fix: 替换 webp 图像处理包 以及修复 runmode 默认值 (#293) 2024-02-23 18:11:19 +08:00
RiverRay
80c1297768 Update README.md 2023-11-21 13:09:12 +08:00
github-actions[bot]
a2dcb88792 docs(contributor): contributors readme action update (#292)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-11-18 09:41:09 +08:00
Frank Cheung
7d3a8f5b3b feat: 支持新绘画模型及模型判断逻辑收敛 (#291) 2023-11-18 09:30:07 +08:00
Frank Cheung
3588050989 feat: 增加新models支持 (#289) 2023-11-15 22:55:50 +08:00
eryajf
459a9e9d4d chore(docs): update TOC 2023-10-15 13:41:07 +00:00
eryajf
70a6fa6ab9 更新图片加速地址 2023-10-15 21:40:46 +08:00
github-actions[bot]
0c73eaefa4 docs(contributor): contributors readme action update (#284)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-09-07 23:03:44 +08:00
Ashing Zheng
f3973180ea feat: makefile support go sort imports (#282) 2023-09-07 23:01:14 +08:00
二丫讲梵
24d40aba48 fix: stream模式下http_url可留空 (#280)
Co-authored-by: kaiyuan <kaiyuan@jingling.group>
v1.1.6
2023-07-26 09:47:44 +08:00
二丫讲梵
08f46f35a3 fix: 修复升级go-openai版本之后azure不可用的问题 (#275) v1.1.5 2023-07-08 23:01:29 +08:00
github-actions[bot]
35842e3fbd docs(contributor): contributors readme action update (#273)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v1.1.3
2023-07-07 20:54:52 +08:00
WangBooth
103be59dfe fix: 当回复消息类型为markdown时,at功能不生效 (#272)
Co-authored-by: baomi.wbm <baomi.wbm@dtwave-inc.com>
2023-07-07 20:54:20 +08:00
RiverRay
fbc0257828 Merge pull request #270 from DDMeaqua/patch-1
Update README.md
2023-07-03 20:06:36 +08:00
rookie
3f69b05809 Update README.md
update readme
2023-07-03 11:23:53 +08:00
二丫讲梵
e44b2bbca1 feat: 升级go-openai版本到最新版,支持gpt-3.5-turbo-0613 (#268) 2023-07-01 15:00:54 +08:00
RiverRay
716eb99fac Merge pull request #266 from DDMeaqua/patch-1
Update README.md
2023-06-30 21:38:14 +08:00
rookie
3f81f7565f Update README.md
更新readme
2023-06-30 19:24:00 +08:00
eryajf
9460d4a0bf fix: 兼容outgoing模式 2023-06-27 23:13:22 +08:00
二丫讲梵
5d208ab3b7 fix: 解决使用docker运行获取秘钥异常的问题 (#263) 2023-06-22 14:57:46 +08:00
github-actions[bot]
fb4c3ee1f9 docs(contributor): contributors readme action update (#262)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-21 17:39:12 +08:00
二丫讲梵
a7def7f4be doc: 说明文档中更改镜像为阿里仓库,解决拉取镜像难的问题 (#261) 2023-06-21 17:38:26 +08:00
二丫讲梵
60e1c43483 feat: 同时将镜像推送到国内阿里仓库,解决镜像下载问题 (#258) 2023-06-21 17:24:13 +08:00