creamlike1024
1bb8a314cb
Merge branch 'fix/gemini-native-sse' of github.com:RedwindA/new-api into RedwindA-fix/gemini-native-sse
2025-07-30 20:34:12 +08:00
CaIon
6ddeab2f2f
fix(adaptor): enhance response handling and error logging for Claude format
2025-07-23 20:59:56 +08:00
RedwindA
4d9b5bcf48
增加 DisablePing 字段以控制是否发送自定义 Ping
2025-07-18 23:38:35 +08:00
CaIon
2f04ab0daf
✨ feat: enhance environment configuration and resource initialization
2025-07-01 13:13:30 +08:00
CaIon
5511ba3670
🔧 fix(stream_scanner): improve resource management and error handling in StreamScannerHandler
2025-06-11 00:18:16 +08:00
creamlike1024
a074e994b0
feat: send SSE ping before get response
2025-05-09 13:57:00 +08:00
creamlike1024
a8b46d5212
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
882d1723db
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
24200df47e
refactor: remove unnecessary call to helper.Done and adjust data rendering in ClaudeChunkData
2025-05-04 17:35:45 +08:00
CaIon
e3b262da1d
feat: 添加流模式下的SSE保活机制 #945
2025-04-14 19:40:23 +08:00
quran
5bcfb8507d
fix(relay): 优化数据流处理
...
- 移除了 bufio 的无效使用
- 在 StreamScannerHandler 中增加了初始和最大缓冲区大小的常量设置
- 调整 StreamScannerHandler 中缓冲区大小,避免出现token too long报错
2025-04-10 16:56:16 +08:00
1808837298@qq.com
7cec111b1f
fix: error NotifyRootUser #812
2025-03-06 15:56:42 +08:00
1808837298@qq.com
c4ca4af8ce
fix: Prevent resource leaks by adding body close in stream handlers
2025-03-05 19:51:22 +08:00
1808837298@qq.com
d647214555
refactor: Centralize stream handling and helper functions in relay package
2025-03-05 19:47:41 +08:00