creamlike1024
4a59b3ccd6
Merge branch '9Ninety-fix/sse_ping'
2025-05-09 13:57:26 +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
IcedTangerine
993cd6b624
Merge pull request #1045 from tbphp/feat_openrouter_balance
...
feat: update OpenRouter balance
2025-05-09 12:19:20 +08:00
tbphp
7192437863
fix: 修改命名规范
2025-05-09 00:20:26 +08:00
tbphp
4bbcb00d13
feat: update OpenRouter balance
2025-05-09 00:15:44 +08:00
creamlike1024
9de24668d8
Merge branch 'tbphp-tbphp_model_request_rate_limit_for_group'
2025-05-08 23:20:08 +08:00
CaIon
7aa54a2cd7
feat: add AzureNoRemoveDotTime constant and update channel handling #1044
...
- Introduced a new constant `AzureNoRemoveDotTime` in `constant/azure.go` to manage model name formatting for channels created after May 10, 2025.
- Updated `distributor.go` to set `channel_create_time` in the context.
- Modified `adaptor.go` to conditionally remove dots from model names based on the channel creation time.
- Enhanced `relay_info.go` to include `ChannelCreateTime` in the `RelayInfo` struct.
- Updated English localization files to reflect changes in model name handling for new channels.
2025-05-08 23:19:40 +08:00
CaIon
a836e97315
fix: update OpenAI request handling to include 'o1-preview' model support #1029
2025-05-08 23:19:38 +08:00
creamlike1024
3373f5e0a0
fix: tool quota calculate
2025-05-08 23:19:37 +08:00
liusanp
d6e601b424
fix: xAi response
2025-05-08 23:19:35 +08:00
liusanp
8c3a559690
fix: xAi requestUrl
2025-05-08 23:19:34 +08:00
liusanp
c008d391df
fix: quality, size or style are not supported by xAI API
2025-05-08 23:19:32 +08:00
creamlike1024
7c29844e4a
Merge branch 'tbphp_model_request_rate_limit_for_group' of github.com:tbphp/new-api into tbphp-tbphp_model_request_rate_limit_for_group
2025-05-08 23:16:06 +08:00
CaIon
90d85a6f0a
feat: add AzureNoRemoveDotTime constant and update channel handling #1044
...
- Introduced a new constant `AzureNoRemoveDotTime` in `constant/azure.go` to manage model name formatting for channels created after May 10, 2025.
- Updated `distributor.go` to set `channel_create_time` in the context.
- Modified `adaptor.go` to conditionally remove dots from model names based on the channel creation time.
- Enhanced `relay_info.go` to include `ChannelCreateTime` in the `RelayInfo` struct.
- Updated English localization files to reflect changes in model name handling for new channels.
2025-05-08 22:39:55 +08:00
CaIon
d40429ad93
fix: update OpenAI request handling to include 'o1-preview' model support #1029
2025-05-08 21:34:31 +08:00
Calcium-Ion
30806ef270
Merge pull request #1040 from QuantumNous/responses-quota
...
fix: tool quota calculate
2025-05-08 01:21:34 +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
IcedTangerine
3458476115
Merge pull request #1039 from liusanp/main
...
Fix grok-2-image request error
2025-05-07 22:06:51 +08:00
IcedTangerine
61c685ad79
Merge pull request #1032 from feitianbubu/upstream
...
fix: correct error messages for dall-e models size parameters
2025-05-07 20:56:36 +08:00
IcedTangerine
0121795a84
Merge pull request #1037 from LarchLiu/main
...
fix: gemini response json schema
2025-05-07 20:53:45 +08:00
creamlike1024
ae254f5368
fix: tool quota calculate
2025-05-07 19:33:32 +08:00
liusanp
562448b441
fix: xAi response
2025-05-07 18:59:27 +08:00
liusanp
04f7d89399
fix: xAi requestUrl
2025-05-07 18:32:59 +08:00
Alex Liu
0d456df588
fix: gemini response json schema
2025-05-07 18:08:56 +08:00
CaIon
dc3b453b05
fix: update ResponseChunkData to format data correctly without newline
2025-05-07 17:02:47 +08:00
CaIon
b19e1b8207
feat: add support for BaiduV2 channel in relay info
2025-05-07 16:30:32 +08:00
liusanp
97b5ca8099
fix: quality, size or style are not supported by xAI API
2025-05-07 16:17:22 +08:00
CaIon
4ecf5dde14
Merge remote-tracking branch 'origin/main'
2025-05-07 16:16:19 +08:00
joey
65ccfd0848
feat: support model mapping chain
...
#1033
2025-05-07 16:00:35 +08:00
skynono
2621b77f9a
fix: correct error messages for dall-e models size parameters
...
(cherry picked from commit 149d06850c10cc6cdb3291164e3e46f99ca59abc)
2025-05-07 11:21:19 +08:00
Calcium-Ion
65a15dbc17
Merge pull request #1025 from QuantumNous/responses_buildin_tools
...
feat: implement OpenAI responses built-in tool tracking
2025-05-07 02:25:47 +08:00
creamlike1024
c0095d4521
feat: 添加 built in tools 计费前端显示
2025-05-07 01:08:20 +08:00
creamlike1024
5043075135
chore: move file search tool price to operation_setting
2025-05-06 23:57:22 +08:00
creamlike1024
10ef61eedb
chore: move web search tool price to operation_setting
2025-05-06 23:25:16 +08:00
IcedTangerine
dc9e3b4139
Merge pull request #1026 from tbphp/tbphp_fix_redis_limit
...
fix: Redis limit ignoring max eq 0
2025-05-06 22:36:13 +08:00
creamlike1024
27e3aa828c
Merge branch 'feitianbubu-upstream'
2025-05-06 22:31:39 +08:00
creamlike1024
d859e3fa64
fix: 修复未输入新密码时提示修改成功
2025-05-06 22:28:32 +08:00
creamlike1024
459c277c94
feat: 添加 built in tools 计费
...
- 增加非流的工具调用次数统计
- 添加 web search 和 file search 计费
2025-05-06 21:58:01 +08:00
CaIon
5639f1c2d8
feat: add support for DeepSeek channel in streamSupportedChannels
2025-05-06 18:41:01 +08:00
skynono
0cf4c59d22
feat: add original password verification when changing password
2025-05-06 14:28:27 +08:00
tbphp
3d243c3ee2
fix: 样式修复
2025-05-05 23:56:15 +08:00
tbphp
87188cd7d4
fix: 缩进修复还原
2025-05-05 23:53:05 +08:00
tbphp
bbab729619
fix: text
2025-05-05 23:48:15 +08:00
Apple\Apple
1c67dd3c31
📕 docs: Update the content in README.en.md and the structure of the docs directory
2025-05-05 23:44:30 +08:00
tbphp
0be3678c9c
fix: 请求完成数必须大于等于1
2025-05-05 23:41:43 +08:00
tbphp
1cb4d750e4
feat: 分组速率前端优化
2025-05-05 22:06:16 +08:00
tbphp
88ed83f419
feat: Modellimitgroup check
2025-05-05 20:00:06 +08:00
tbphp
1513ed7847
refactor: 调整代码,符合项目现有规范
2025-05-05 19:32:22 +08:00
tbphp
1e1d24d1b0
fix: rm debug file
2025-05-05 17:57:02 +08:00