a37836323
f249b7cf24
添加DALL-E图像生成请求中的Background和Moderation字段
2025-05-10 04:33:49 +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
Calcium-Ion
97f98a0c08
Merge pull request #1046 from QuantumNous/workerHttpRequest
...
feat: add option to allow worker HTTP image requests
2025-05-09 18:31:25 +08:00
IcedTangerine
86d1e416ca
Merge pull request #1050 from feitianbubu/fixRatio
...
fix: correct formatting string in PriceData.ToSetting to handle Image…
2025-05-09 18:15:39 +08:00
creamlike1024
92ddbc4dfd
fix: GetRequestURL remove unnecessary case
2025-05-09 18:13:19 +08:00
creamlike1024
b843c356c1
feat: change azure default api version to 2025-04-01-preview
2025-05-09 18:11:37 +08:00
skynono
e53163f68e
fix: correct formatting string in PriceData.ToSetting to handle ImageRatio as float instead of integer
2025-05-09 17:12:35 +08:00
creamlike1024
f8a972da0d
Merge branch '9Ninety-fix/sse_ping'
2025-05-09 13:57:26 +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
IcedTangerine
6b71eb6437
Merge pull request #1045 from tbphp/feat_openrouter_balance
...
feat: update OpenRouter balance
2025-05-09 12:19:20 +08:00
creamlike1024
285c4a7e4c
feat: add option to allow worker HTTP image requests
2025-05-09 02:00:42 +08:00
tbphp
3f3672124d
fix: 修改命名规范
2025-05-09 00:20:26 +08:00
tbphp
d6942dfe06
feat: update OpenRouter balance
2025-05-09 00:15:44 +08:00
creamlike1024
4d0b438f81
Merge branch 'tbphp-tbphp_model_request_rate_limit_for_group'
2025-05-08 23:20:08 +08:00
CaIon
66cda24386
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
abc9d60fdc
fix: update OpenAI request handling to include 'o1-preview' model support #1029
2025-05-08 23:19:38 +08:00
creamlike1024
58cd3d22aa
fix: tool quota calculate
2025-05-08 23:19:37 +08:00
liusanp
9265d41b84
fix: xAi response
2025-05-08 23:19:35 +08:00
liusanp
89d40bbbf3
fix: xAi requestUrl
2025-05-08 23:19:34 +08:00
liusanp
2e73714f49
fix: quality, size or style are not supported by xAI API
2025-05-08 23:19:32 +08:00
creamlike1024
c483c7df5f
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
54f69c7d80
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
9aa7f7c755
fix: update OpenAI request handling to include 'o1-preview' model support #1029
2025-05-08 21:34:31 +08:00
Calcium-Ion
ae788c8ac8
Merge pull request #1040 from QuantumNous/responses-quota
...
fix: tool quota calculate
2025-05-08 01:21:34 +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
IcedTangerine
a63b2e77eb
Merge pull request #1039 from liusanp/main
...
Fix grok-2-image request error
2025-05-07 22:06:51 +08:00
IcedTangerine
fdaed7bd00
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
eb15a90ecd
Merge pull request #1037 from LarchLiu/main
...
fix: gemini response json schema
2025-05-07 20:53:45 +08:00
creamlike1024
5002f7c402
fix: tool quota calculate
2025-05-07 19:33:32 +08:00
liusanp
e514d1f6fa
fix: xAi response
2025-05-07 18:59:27 +08:00
liusanp
678c61d208
fix: xAi requestUrl
2025-05-07 18:32:59 +08:00
Alex Liu
7ecd9d053e
fix: gemini response json schema
2025-05-07 18:08:56 +08:00
CaIon
465504033f
fix: update ResponseChunkData to format data correctly without newline
2025-05-07 17:02:47 +08:00
CaIon
4ad7c26345
feat: add support for BaiduV2 channel in relay info
2025-05-07 16:30:32 +08:00
liusanp
ef5480bd31
fix: quality, size or style are not supported by xAI API
2025-05-07 16:17:22 +08:00
CaIon
645b19b937
Merge remote-tracking branch 'origin/main'
2025-05-07 16:16:19 +08:00
joey
2cbedaf6d7
feat: support model mapping chain
...
#1033
2025-05-07 16:00:35 +08:00
skynono
451133d92d
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
910e058c8e
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
6eda56bd45
feat: 添加 built in tools 计费前端显示
2025-05-07 01:08:20 +08:00
creamlike1024
8cebbde4a0
chore: move file search tool price to operation_setting
2025-05-06 23:57:22 +08:00
creamlike1024
1db30c55af
chore: move web search tool price to operation_setting
2025-05-06 23:25:16 +08:00
IcedTangerine
ccadf0eec2
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
b4847f119f
Merge branch 'feitianbubu-upstream'
2025-05-06 22:31:39 +08:00
creamlike1024
13afcd4266
fix: 修复未输入新密码时提示修改成功
2025-05-06 22:28:32 +08:00
creamlike1024
a3fe88772f
feat: 添加 built in tools 计费
...
- 增加非流的工具调用次数统计
- 添加 web search 和 file search 计费
2025-05-06 21:58:01 +08:00
CaIon
062dbb109e
feat: add support for DeepSeek channel in streamSupportedChannels
2025-05-06 18:41:01 +08:00
skynono
bb596ae8e6
feat: add original password verification when changing password
2025-05-06 14:28:27 +08:00
Apple\Apple
b2198c6cff
🔖 chore: Remove semantic-ui styles
...
Signed-off-by: Apple\Apple <zeraturing@foxmail.com >
2025-05-06 01:38:44 +08:00