Seefs
ab30f584cc
feat: add ali wan video ( #2141 )
...
* feat: add ali wan video
* refactor: use same UnmarshalBodyReusable
* feat: enhance request body metadata
* feat: opt wan convertToOpenAIVideo
* feat: add wan support other param via json metadata
* refactor: remove unused code
* fix ali
---------
Co-authored-by: feitianbubu <feitianbubu@qq.com >
2025-10-31 16:51:05 +08:00
Seefs
9629c8a771
fix veo3 ( #2140 )
2025-10-31 15:29:17 +08:00
CaIon
ab6dc79600
fix(override): handle null value comparison in JSON equality check
2025-10-30 23:28:14 +08:00
CaIon
6791eb72ba
feat: add support for Submodel channel type in relay info
2025-10-25 22:10:26 +08:00
creamlike1024
c693bfee5e
feat: add support for Ali channel in streamSupportedChannels
2025-10-18 17:00:08 +08:00
CaIon
aa35d8db69
refactor: update ConvertToOpenAIVideo method to return byte array and improve error handling
2025-10-14 23:03:17 +08:00
Xyfacai
a6e6897f63
refactor: Openai video model 移动到 dto
2025-10-13 11:45:45 +08:00
feitianbubu
4e0f4b207d
refactor: add openaiVideo and method
2025-10-11 17:05:36 +08:00
feitianbubu
8a7033e5a3
feat: add jimeng use openai sdk
2025-10-11 17:05:33 +08:00
Seefs
e1c7a4f41f
format: package name -> github.com/QuantumNous/new-api ( #2017 )
2025-10-11 15:30:09 +08:00
CaIon
07b099006c
feat: add logging for model details and enhance action assignment in relay tasks
2025-10-11 11:56:44 +08:00
CaIon
5fbf860020
feat: enhance multipart validation with additional fields for model, seconds, and size
2025-10-11 11:33:59 +08:00
Calcium-Ion
eab768b4a0
Merge pull request #2006 from xyfacai/feat/sora-price
...
feat: sora 增加参数校验与计费
2025-10-11 11:22:08 +08:00
feitianbubu
5f36e32821
feat: add openai sdk create
2025-10-11 02:44:01 +08:00
feitianbubu
11e8e4e7a6
feat: add openai sdk for kling
2025-10-11 02:43:56 +08:00
feitianbubu
35422b316d
refactor: openAI video use OpenAIVideoConverter
2025-10-11 02:43:43 +08:00
Xyfacai
a54baf4998
feat: sora 增加参数校验与计费
2025-10-10 23:56:36 +08:00
feitianbubu
9f4a2d64a3
feat: add sora video submit task
2025-10-09 15:00:02 +08:00
RedwindA
f930cdbb51
fix(openai): account cached tokens for
...
zhipu_v4 usage
2025-10-08 16:52:49 +08:00
Calcium-Ion
0769184b9b
Merge pull request #1956 from QuantumNous/alpha
...
alpha -> main
2025-10-02 15:26:59 +08:00
Seefs
26a563da54
fix: Return the original payload and nil error on Unmarshal or Marshal failures in RemoveDisabledFields
2025-10-02 13:57:49 +08:00
feitianbubu
b244a06ca1
feat: add doubao video use quota by total token
2025-10-02 04:00:46 +08:00
Seefs
0e9ad4a15f
fix: missing field & field control
2025-10-02 00:14:35 +08:00
Seefs
8118424039
fix: claude beta=true
2025-09-30 09:46:46 +08:00
feitianbubu
8f9960bcc7
feat: vidu video add starEnd and reference gen video
2025-09-19 18:54:45 +08:00
feitianbubu
3c70617060
feat: vidu video support multi images
2025-09-19 18:54:40 +08:00
feitianbubu
f14b06ec3a
feat: jimeng video add images
2025-09-12 22:43:08 +08:00
feitianbubu
6ed775be8f
refactor: use common taskSubmitReq
2025-09-12 22:43:03 +08:00
Nekohy
e61c1dc738
fix: allow the negative number for override.go
2025-09-04 23:36:19 +08:00
CaIon
56fc3441da
feat(monitor_setting): implement automatic channel testing configuration
2025-09-03 14:00:52 +08:00
CaIon
b3a99a2625
Revert "refactor: replace DeepCopy with Copy for request handling consistency"
...
This reverts commit 872f7a9648 .
2025-08-28 15:11:55 +08:00
CaIon
872f7a9648
refactor: replace DeepCopy with Copy for request handling consistency
2025-08-28 14:57:47 +08:00
creamlike1024
edc6679140
Merge branch 'alpha' of github.com:iszcz/new-api into iszcz-alpha
2025-08-27 22:26:15 +08:00
CaIon
e23f01f8d5
fix: Invalid type for 'input[x].summary': expected an array of objects, but got null instead
2025-08-26 13:17:31 +08:00
iszcz
289ed24899
task_relay_info
2025-08-25 18:01:10 +08:00
Nekohy
abcb353793
feats:add custom headers override
2025-08-24 01:02:23 +08:00
Calcium-Ion
754498a012
Merge pull request #1635 from feitianbubu/pr/fix-task-info-channel-type
...
Pr/fix task info channel type
2025-08-23 13:46:52 +08:00
CaIon
4f23e53002
feat: 修复重试后请求结构混乱,修复rerank端点无法使用
2025-08-23 13:12:15 +08:00
feitianbubu
b5040e0182
fix: channel type nil point
2025-08-22 15:55:25 +08:00
Calcium-Ion
206ed55db4
Merge pull request #1605 from nekohy/feats-the-flexable-params-override
...
Feats: use the types of gjson,the error expection,the invert and the key missing process of the condition
2025-08-16 18:27:22 +08:00
Nekohy
5696a62c27
feats:the error of gjson.True and gjson.False
2025-08-16 17:16:46 +08:00
Nekohy
11a7ac9b10
feats:custom the key missing condition
2025-08-16 16:37:09 +08:00
Nekohy
cbce487362
feats:use the types of gjson,the error expection,the invert of the condition
2025-08-16 16:31:17 +08:00
CaIon
5654d08086
feat: set API version for Azure and Vertex AI channel types
2025-08-16 14:56:19 +08:00
Nekohy
b591b4ebdf
fix:moveValue bug
2025-08-16 11:58:40 +08:00
Nekohy
dd497d5bd8
feats: the flexable params override and compatible format
2025-08-16 11:27:47 +08:00
CaIon
8b2afcec90
fix panic
2025-08-15 15:15:21 +08:00
CaIon
5fe1ce89ec
refactor: improve request type validation and enhance sensitive information masking
2025-08-15 13:20:36 +08:00
CaIon
03fc89da00
refactor: add email masking function and enhance RelayInfo logging
...
This commit introduces a new function, MaskEmail, to mask user email addresses in logs, preventing PII leakage. Additionally, the RelayInfo logging has been updated to utilize this new masking function, ensuring sensitive information is properly handled. The channel test logic has also been improved to dynamically determine the relay format based on the request path.
2025-08-15 12:50:27 +08:00
CaIon
7f1f368065
refactor: improve channel base URL handling and enhance RelayInfo logging
2025-08-14 22:15:18 +08:00