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
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
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
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
e8111e2bdb
📕 docs: Update the content in README.en.md and the structure of the docs directory
2025-05-05 23:44:30 +08:00
tbphp
2a0e1ab914
fix: Redis limit ignoring max eq 0
2025-05-05 12:55:48 +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
Calcium-Ion
52d5d495c0
Merge pull request #1024 from tbphp/fix-edituser-text
...
fix: EditUser text error
2025-05-04 18:30:32 +08:00
tbphp
fb81fe05dd
fix: EditUser text error
2025-05-04 18:26:18 +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
Calcium-Ion
4cc1f2b4e3
Merge pull request #1020 from QuantumNous/v1responses
...
feat: support /v1/responses API
2025-05-04 17:13:39 +08:00
Calcium-Ion
fa89410e41
Merge pull request #1012 from tbphp/vertex_thinking_support
...
feat: support thinking suffix for vertex gemini channel
2025-05-04 17:11:27 +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
CaIon
4bf0d094c4
feat: add video URL support in MediaContent and update token counting logic
2025-05-03 21:12:07 +08:00
creamlike1024
8ea4c76f2b
feat: support /v1/responses API
2025-05-02 13:59:46 +08:00
CaIon
f5c2fda22a
feat: enable error logging configuration in docker-compose and application
2025-04-29 16:26:55 +08:00
CaIon
d309727e99
fix: gemini thinking tokens count #1014
2025-04-29 16:21:54 +08:00
CaIon
7e3e9b1a96
refactor: Reducing the lock duration to the minimum necessary time in CacheGetRandomSatisfiedChannel function
2025-04-29 15:57:21 +08:00
tbphp
5b81e88e41
feat: support thinking suffix for vertex gemini channel
2025-04-29 13:30:03 +08:00
CaIon
8b9ba91184
fix: update audio ratio logic for model names in GetAudioRatio function
2025-04-28 20:55:40 +08:00
IcedTangerine
d402f5a5d9
Merge pull request #1008 from JoeyLearnsToCode/feat-search-channel-by-url
...
feat: support searching channels by base url
2025-04-28 13:15:49 +08:00
creamlike1024
8bea13976f
Merge branch 'wzxjohn-feature/wellknown'
2025-04-28 12:55:06 +08:00
JoeyLearnsToCode
c56ec3b3ea
feat: support searching channels by base url
2025-04-28 11:38:53 +08:00
wzxjohn
9f165b8924
fix: remove custom header in oidc well known request
2025-04-28 11:25:04 +08:00
wzxjohn
93f634d228
feat: support empty well known url
2025-04-28 11:25:04 +08:00
wzxjohn
45073b3b2b
feat: improve log delete api
2025-04-28 11:25:04 +08:00
creamlike1024
4f123cf9f4
Merge branch 'error-logs' of github.com:zenghongtu/new-api into zenghongtu-error-logs
2025-04-28 11:06:32 +08:00
CaIon
4759bbdb95
feat: add image preview functionality and update model name instructions in EditChannel
2025-04-27 17:20:49 +08:00
CaIon
5bf1f2f275
refactor: rename InitModelSettings to InitRatioSettings
2025-04-26 17:15:34 +08:00