CaIon
21fca238bf
refactor(error): replace dto.OpenAIError with types.OpenAIError for consistency
2025-12-13 16:43:57 +08:00
Xyfacai
06cd774c10
fix: 未设置价格模型不会被拉取,除非设置自用模式
2025-11-13 18:44:18 +08:00
CaIon
1ded19795a
feat: add special user usable group setting
2025-10-28 23:25:43 +08:00
Seefs
e1c7a4f41f
format: package name -> github.com/QuantumNous/new-api ( #2017 )
2025-10-11 15:30:09 +08:00
Seefs
faad6bcd0c
fix: adjust column spans in JSONEditor for better layout #1719
2025-09-02 18:28:23 +08:00
Seefs
aeab08099b
Merge branch 'alpha' into base
2025-09-02 18:08:39 +08:00
xuebin
203abf4430
openai v1/models 完全兼容 解决接入trae时候的字段校验
2025-09-02 14:17:54 +08:00
CaIon
6748b006b7
refactor: centralize logging and update resource initialization
...
This commit refactors the logging mechanism across the application by replacing direct logger calls with a centralized logging approach using the `common` package. Key changes include:
- Replaced instances of `logger.SysLog` and `logger.FatalLog` with `common.SysLog` and `common.FatalLog` for consistent logging practices.
- Updated resource initialization error handling to utilize the new logging structure, enhancing maintainability and readability.
- Minor adjustments to improve code clarity and organization throughout various modules.
This change aims to streamline logging and improve the overall architecture of the codebase.
2025-08-14 21:10:04 +08:00
nekohy
fdb6a3ce16
✨ feat: Enhance model listing and retrieval with support for Anthropic and Gemini models; refactor routes for better API key handling
2025-08-10 11:44:38 +08:00
CaIon
8073cbd96a
🔧 refactor(model): change user group retrieval to non-strict mode
2025-07-06 10:23:38 +08:00
CaIon
5eba2f1d61
🔧 refactor(model): update context key retrieval to use token group instead of user group
2025-07-05 16:40:49 +08:00
CaIon
7e298f8ad1
✨ feat: refactor environment variable initialization and introduce new constant types for API and context keys
2025-07-03 13:10:25 +08:00
skynono
1fed1ee567
fix: unique channel models
2025-06-19 15:16:26 +08:00
creamlike1024
7fa21ce95f
feat: auto分组
2025-06-16 22:15:12 +08:00
1808837298@qq.com
18d3706ff8
feat: Add new model management features
...
- Implement `/api/channel/models_enabled` endpoint to retrieve enabled models
- Add `EnabledListModels` handler in controller
- Create new `ModelRatioNotSetEditor` component for managing unset model ratios
- Update router to include new models_enabled route
- Add internationalization support for new model management UI
- Include GPT-4.5 preview model in OpenAI model list
2025-02-28 21:13:30 +08:00
CalciumIon
ed435e5c8f
refactor: user cache logic
2024-12-29 16:50:26 +08:00
CalciumIon
af7fecbfa7
fix: 使用令牌分组时 "/v1/models" 返回模型不正确 #481
2024-09-18 19:19:37 +08:00
CalciumIon
a03cd15505
fix: '/v1/models' #474
2024-09-17 22:41:54 +08:00
CalciumIon
02f5137781
fix: '/v1/models' #474
2024-09-17 22:39:58 +08:00
CalciumIon
e6df0ed20c
fix: '/vi/models' #474
2024-09-17 22:36:20 +08:00
CalciumIon
bcc7f3edb2
refactor: audio relay
2024-07-16 22:07:10 +08:00
1808837298@qq.com
36fac2baa2
feat: 增加重置模型倍率功能 ( close #62 )
2024-05-24 15:28:16 +08:00
1808837298@qq.com
3cd25c7e53
fix: pricing page group ratio ( close #275 )
2024-05-22 12:34:47 +08:00
CaIon
095121673d
chore: update model list
2024-05-16 19:08:37 +08:00
CaIon
93858c32d9
feat: 完善模型价格获取逻辑
2024-05-15 23:56:26 +08:00
CaIon
5715fcf8fb
feat: add pricing page
2024-05-13 23:02:35 +08:00
CaIon
fd19798c92
fix: 修复自定义渠道出错 #243
2024-05-13 14:32:32 +08:00
CaIon
db575a1c25
fix: 修复"/v1/models"不显示自定义模型 (close #235 )
2024-05-12 19:16:52 +08:00
CaIon
2dbf50dc07
feat: 填入相关模型
2024-05-12 19:07:33 +08:00
Maple Gao
cfabf8a656
Add 01.AI relay
2024-03-20 23:44:03 +08:00
CaIon
3d10c9f090
feat: 将操作拆分成单独的模型
2024-03-13 21:19:48 +08:00
1808837298@qq.com
54088bc664
fix: 修复添加和编辑渠道无可选择模型
2024-03-03 15:53:48 +08:00
1808837298@qq.com
feb40db2bc
feat: "/v1/models" 只返回用户可用模型 ( close #78 )
2024-02-29 19:21:22 +08:00
1808837298@qq.com
b4645d1019
feat: 支持智谱GLM-4V
2024-02-29 18:31:03 +08:00
1808837298@qq.com
6013219f5b
feat: 初步重构完成
2024-02-29 16:21:25 +08:00
1808837298@qq.com
5b18cd6b0a
feat: 初步重构
2024-02-29 01:08:18 +08:00
CaIon
a0c4e9f10e
feat: add model gpt-3.5-turbo-0125
2024-02-02 12:46:12 +08:00
CaIon
364d4f96c7
feat: add model text-embedding-3
2024-01-26 16:53:04 +08:00
CaIon
bce8a3e2be
feat: add model gpt-4-turbo-preview
2024-01-26 16:52:16 +08:00
Hao Mei
afbd585048
feat: add support for davinci-002 and babbage-002
2024-01-03 20:19:00 +08:00
CaIon
14592f9758
support gemini-pro-vision
2023-12-27 16:32:54 +08:00
CaIon
e057c0e42e
添加gemini支持
2023-12-18 23:46:05 +08:00
CaIon
4b93f185bb
添加gpt-4-1106-vision-preview模型
2023-12-12 16:41:37 +08:00
CaIon
773e48ed6f
修复语音系列模型计费bug
2023-11-16 01:44:15 +08:00
CaIon
d09807af09
添加mj渠道
2023-11-12 23:32:22 +08:00
CaIon
5b2d898b36
更新模型倍率
2023-11-11 02:31:07 +08:00
JustSong
63fafba112
feat: support ERNIE-Bot-4 ( close #608 )
2023-10-22 18:48:35 +08:00
JustSong
b4b4acc288
feat: support Tencent's model ( close #519 )
2023-10-03 14:19:03 +08:00
JustSong
a85ecace2e
chore: delete 360's 360GPT_S2_V9.4
2023-10-03 12:51:53 +08:00
JustSong
fd98463611
chore: update ali's model name
2023-09-23 22:57:59 +08:00