CaIon
16997a695d
refactor: token counter logic
2025-06-21 00:54:40 +08:00
chenjm
ab5dfd8d97
fix(audio): :bugs: fix webm audio strconv.ParseFloat: parsing "N/A"
2025-06-17 10:04:36 +08:00
chenjm
99dacb1d4b
fix(audio): :bugs: fix webm audio strconv.ParseFloat: parsing "N/A"
2025-06-17 09:21:56 +08:00
Akkuman
2e5943c1d4
feat: streaming response for tts
2025-05-29 10:56:01 +08:00
CaIon
c2f3749cfe
feat: enhance OpenAI handler to support forced response formatting and add debug logging for request URLs
2025-05-09 18:57:06 +08:00
CaIon
e9812b0fd5
feat: implement OpenAI responses handling and streaming support with built-in tool tracking
2025-05-05 00:40:16 +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
209265e68c
feat: enhance OaiResponsesStreamHandler to handle output text and improve response streaming
2025-05-04 17:09:37 +08:00
creamlike1024
3753e5720a
add OaiResponsesStreamHandler
2025-05-03 22:36:27 +08:00
creamlike1024
8ea4c76f2b
feat: support /v1/responses API
2025-05-02 13:59:46 +08:00
xyfacai
873ebcf0c7
feat: support /images/edit
...
(cherry picked from commit 1c0a1238787d490f02dd9269b616580a16604180)
2025-04-26 15:44:56 +08:00
CaIon
e3b262da1d
feat: 添加流模式下的SSE保活机制 #945
2025-04-14 19:40:23 +08:00
CaIon
f970a03986
fix: xAI usage
2025-04-11 23:31:32 +08:00
CaIon
9e4506ebaf
feat: 完善openai转claude支持
2025-04-11 18:28:50 +08:00
1808837298@qq.com
6e8916207e
refactor: Enhance Claude response handling
2025-03-16 19:11:58 +08:00
1808837298@qq.com
62dc82638d
feat: Introduce JSON decoding utility functions and update error handling in Claude and OpenAI response structures
2025-03-16 18:34:39 +08:00
CalciumIon
5021000c5d
refactor: Simplify OpenAI handler function signature and remove unused TextResponseWithError struct; introduce common_handler for rerank functionality
2025-03-14 17:31:05 +08:00
Sh1n3zZ
7513065760
fix: wrong thinking labels appear in non-thinking models ( #861 )
2025-03-14 03:13:52 +08:00
1808837298@qq.com
47c297794d
feat: 初步兼容流模式下openai渠道类型转为claude格式访问 #862
2025-03-13 19:32:08 +08:00
1808837298@qq.com
a36d6de8d1
feat: Add prompt cache hit tokens support for DeepSeek channel #406
2025-03-08 16:50:53 +08:00
Sh1n3zZ
c1ed9d552e
fix: possible incomplete return of the think field and incorrect occurrences of the reasoning field
2025-03-06 19:20:29 +08:00
Sh1n3zZ
aa6c894f56
fix: adapting return format for openrouter think content ( #793 )
2025-03-06 19:16:26 +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
1808837298@qq.com
efc7c4d7f9
feat: Add context-aware goroutine pool for safer concurrent operations
2025-03-04 18:42:34 +08:00
1808837298@qq.com
67e17dcdbd
fix: Ignore EOF errors in OpenAI stream scanner
2025-03-04 17:35:41 +08:00
1808837298@qq.com
b0ee0f1501
fix: Handle scanner errors in OpenAI relay stream handler
2025-03-04 17:10:56 +08:00
1808837298@qq.com
4597816a14
feat: Add thinking-to-content conversion for stream responses
2025-02-23 17:05:57 +08:00
1808837298@qq.com
991b6f8bb0
fix: mistral
2025-02-22 16:29:48 +08:00
1808837298@qq.com
8101cd3ce3
feat: Add reasoning content support in OpenAI response handling
2025-02-21 18:52:51 +08:00
1808837298@qq.com
2869dbf60a
feat: Enhance VolcEngine channel support with bot model routing ( fix #757 )
2025-02-15 00:10:58 +08:00
1808837298@qq.com
9e2433e2a6
fix: Improve OpenAI stream data parsing and handling
2025-02-14 23:52:25 +08:00
沈浩
dab21d5263
fix: incorrect whisper audio usage
2025-01-17 18:12:05 +08:00
1808837298@qq.com
a3fe6c03b8
Adjust streaming timeout for OpenAI models in OaiStreamHandler
...
- Implemented conditional logic to double the streaming timeout for models starting with "o1" or "o3".
- Improved handling of streaming timeout configuration to enhance performance based on model type.
2025-01-06 17:52:33 +08:00
CalciumIon
0ad03de153
feat: implement channel settings configuration
...
fix #620
2024-12-15 15:52:41 +08:00
Calcium-Ion
20483652e7
Merge pull request #574 from Calcium-Ion/channel-tag
...
feat: 初步集成渠道标签分组功能
2024-11-30 17:45:16 +08:00
CalciumIon
96e3eeceb1
fix: xAI missing finish_reason #572
2024-11-30 16:57:57 +08:00
CalciumIon
ba6c908fbc
fix: stt模型计费
2024-11-25 19:31:59 +08:00
CalciumIon
75b480d821
chore: 删除无用日志
2024-11-05 19:41:38 +08:00
1808837298@qq.com
bacfdbc725
fix: realtime计费
...
(cherry picked from commit fdfea8726c6d86d3844af1ac18d7b3df908f26a7)
2024-11-05 19:29:06 +08:00
Xyfacai
67bdfea903
fix(realtime): 修复ws 握手失败、计费问题
...
(cherry picked from commit 618dffc43fd5a5f4065944db87761f9ee18e44d3)
2024-11-05 19:28:46 +08:00
Xyfacai
16f6bdc81e
refactor: realtime log
...
(cherry picked from commit fd24dc467bfc360008b313220e607f0176ee7aa3)
2024-11-05 19:28:09 +08:00
Xyfacai
14f4320923
fix: 部分情况缺少返回预扣
...
(cherry picked from commit 96373455521a38095706bd81c57f9a18557d9c2e)
2024-11-05 19:28:08 +08:00
1808837298@qq.com
d9c7e98115
feat: realtime pre consume
...
(cherry picked from commit 273d154e1640bae26b7caedddf1685e9ff21ab74)
2024-11-05 19:28:06 +08:00
1808837298@qq.com
e052d7d02b
feat: realtime pre consume
...
(cherry picked from commit d87917f8f6eb9d2e144a9f840d6d91767ea2eb69)
2024-11-05 19:28:03 +08:00
1808837298@qq.com
efd7ea075e
feat: azure realtime
...
(cherry picked from commit 75ff3d98f06103dc2df1f8817bd3fcbf433e0f20)
2024-11-05 19:27:55 +08:00
1808837298@qq.com
1307a23f01
feat: realtime
...
(cherry picked from commit d4966246e68dbdcdab45ec5c5141362834d74425)
2024-11-05 19:27:47 +08:00
1808837298@qq.com
9e4133a890
feat: realtime
...
(cherry picked from commit a5529df3e1a4c08a120e8c05203a7d885b0fe8d8)
2024-11-05 19:24:14 +08:00
CalciumIon
dae22a3e7d
chore: remove useless code
2024-07-28 01:12:26 +08:00
CalciumIon
98c1362365
feat: update stream_options again
2024-07-19 15:06:07 +08:00