CaIon
eb265a55e1
✨ feat: enhance environment configuration and resource initialization
2025-07-01 13:13:30 +08:00
CaIon
f124404f07
🔧 fix(stream_scanner): improve resource management and error handling in StreamScannerHandler
2025-06-11 00:18:16 +08:00
creamlike1024
ec61534256
feat: send SSE ping before get response
2025-05-09 13:57:00 +08:00
creamlike1024
2a218c1c89
Merge branch 'fix/sse_ping' of github.com:9Ninety/new-api into 9Ninety-fix/sse_ping
2025-05-09 12:28:05 +08:00
9
02acc52fdb
fix: ensure SSE ping packets are sent before upstream response
...
These changes ensures SSE ping packets are sent before receiving a response from the upstream. The previous implementation did not send ping packets until after the upstream response, rendering the feature ineffective.
2025-05-07 23:29:06 +08:00
CaIon
419a056fbf
refactor: remove unnecessary call to helper.Done and adjust data rendering in ClaudeChunkData
2025-05-04 17:35:45 +08:00
CaIon
2f3acd9d22
feat: 添加流模式下的SSE保活机制 #945
2025-04-14 19:40:23 +08:00
quran
9328b907f2
fix(relay): 优化数据流处理
...
- 移除了 bufio 的无效使用
- 在 StreamScannerHandler 中增加了初始和最大缓冲区大小的常量设置
- 调整 StreamScannerHandler 中缓冲区大小,避免出现token too long报错
2025-04-10 16:56:16 +08:00
1808837298@qq.com
e3f9ef1894
fix: error NotifyRootUser #812
2025-03-06 15:56:42 +08:00
1808837298@qq.com
558e625a01
fix: Prevent resource leaks by adding body close in stream handlers
2025-03-05 19:51:22 +08:00
1808837298@qq.com
37a83ecc33
refactor: Centralize stream handling and helper functions in relay package
2025-03-05 19:47:41 +08:00