creamlike1024
738a9a4558
gemini text generation
2025-05-26 13:34:41 +08:00
Calcium-Ion
b564cac048
Merge pull request #1100 from daggeryu/patch-4
...
fix aws claude-sonnet-4-20250514
2025-05-24 15:27:30 +08:00
CaIon
fbdad581b5
fix: improve input validation and error handling in ModelSetting and SettingGeminiModel components
2025-05-24 15:26:55 +08:00
daggeryu
0595636ceb
fix aws claude-sonnet-4-20250514
2025-05-24 01:21:14 +08:00
CaIon
d95c2436d7
feat: add support for new regions in Claude Sonnet 4 and Claude Opus 4 models in AWS constants
2025-05-23 21:11:00 +08:00
CaIon
1644b7b15d
feat: add new model entries for Claude Sonnet 4 and Claude Opus 4 across multiple components, including constants and cache settings
2025-05-23 15:20:16 +08:00
CaIon
66a8612d12
feat: add new model ratios for Claude Sonnet 4 and Claude Opus 4; update ratio retrieval logic for improved handling of model names
2025-05-23 02:02:21 +08:00
CaIon
f796c3b216
fix: update Init method to correctly set RequestMode based on upstream model name prefixes
2025-05-23 01:34:53 +08:00
CaIon
c53a48cde5
feat: add panic recovery and retry mechanism for InitChannelCache; improve batch deletion of abilities in FixAbility
2025-05-23 01:26:52 +08:00
CaIon
9a59da16a5
feat: implement search functionality in ChannelsTable for improved channel filtering
2025-05-22 16:54:55 +08:00
CaIon
e18001299b
feat: enhance Gemini response handling by adding reasoning content and updating JSON decoding method
2025-05-22 16:11:50 +08:00
CaIon
66bdfe180c
feat: add Thought field to GeminiPart and update response handling in streamResponseGeminiChat2OpenAI
2025-05-22 15:52:23 +08:00
CaIon
1f9fc09989
feat: add OutputFormat field to ImageRequest for enhanced image processing options
2025-05-20 19:40:29 +08:00
CaIon
498d73f67c
refactor: update JSON field names in GeminiChatRequest for consistency
2025-05-19 20:26:30 +08:00
IcedTangerine
0ca17d3e6d
Merge pull request #1071 from feitianbubu/fixMjImageProxy
...
fix: proxy settings not applied when request MJ image url
2025-05-18 14:56:47 +08:00
skynono
9927e5d191
fix: proxy settings not applied when request MJ image url
2025-05-16 18:07:56 +08:00
Calcium-Ion
7171a69512
Merge pull request #1067 from QuantumNous/coze
...
Coze 渠道
2025-05-16 16:11:02 +08:00
creamlike1024
e379ee8f66
coze stream
2025-05-16 10:27:07 +08:00
creamlike1024
59aabb4311
add frontend display, more model
2025-05-15 20:00:59 +08:00
CaIon
4825404d37
feat: enhance image decoding logic to handle base64 file types and improve error handling
2025-05-15 14:51:33 +08:00
CaIon
ea04e6bcc5
fix: update model selection logic for image edits in distributor middleware
2025-05-14 17:01:50 +08:00
creamlike1024
108b67be6c
use channel bot id
2025-05-13 22:23:38 +08:00
creamlike1024
29c95c598e
cozeChatHelper
2025-05-13 22:01:12 +08:00
creamlike1024
b2499b0a7e
DoRequest
2025-05-13 21:13:34 +08:00
IcedTangerine
12737fb7e5
Merge pull request #1063 from kingfs/fix/ali-completions-api
...
fix: ALI completions api path error
2025-05-13 17:51:35 +08:00
王永振
f17f38e569
fix: ALI completions api path error
2025-05-13 13:39:44 +08:00
creamlike1024
b2cad22952
add coze request
2025-05-13 12:52:22 +08:00
creamlike1024
e763124b69
Merge branch 'a37836323-add-dalle-fields'
2025-05-11 17:03:56 +08:00
creamlike1024
153012789d
Merge branch 'add-dalle-fields' of github.com:a37836323/new-api into a37836323-add-dalle-fields
2025-05-11 17:03:27 +08:00
creamlike1024
d985563516
feat: add support for socks5h
2025-05-11 17:00:33 +08:00
CaIon
58dc7ad770
feat: add moderation and background fields to ImageRequest struct in dalle.go #1052
2025-05-10 15:52:41 +08:00
a37836323
28cdfc0a14
添加DALL-E图像生成请求中的Background和Moderation字段
2025-05-10 04:33:49 +08:00
CaIon
7b176015b8
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
cc2d9f539d
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
7f86bdf548
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
0d929800cf
fix: GetRequestURL remove unnecessary case
2025-05-09 18:13:19 +08:00
creamlike1024
9ebfcaf6aa
feat: change azure default api version to 2025-04-01-preview
2025-05-09 18:11:37 +08:00
skynono
40efa73a42
fix: correct formatting string in PriceData.ToSetting to handle ImageRatio as float instead of integer
2025-05-09 17:12:35 +08:00
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
creamlike1024
3d4bd76083
feat: add option to allow worker HTTP image requests
2025-05-09 02:00:42 +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