Seefs
5010f2d004
format: package name -> github.com/QuantumNous/new-api ( #2017 )
2025-10-11 15:30:09 +08:00
Seefs
d1fc9bd712
fix: adjust column spans in JSONEditor for better layout #1719
2025-09-02 18:28:23 +08:00
Seefs
785d0c4284
Merge branch 'alpha' into base
2025-09-02 18:08:39 +08:00
xuebin
ff42b7fa88
openai v1/models 完全兼容 解决接入trae时候的字段校验
2025-09-02 14:17:54 +08:00
CaIon
c9e9a24e99
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
4cf1ffa801
✨ 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
b67a4fda9b
🔧 refactor(model): change user group retrieval to non-strict mode
2025-07-06 10:23:38 +08:00
CaIon
6c9369a2c9
🔧 refactor(model): update context key retrieval to use token group instead of user group
2025-07-05 16:40:49 +08:00
CaIon
f14f4eaf1a
✨ feat: refactor environment variable initialization and introduce new constant types for API and context keys
2025-07-03 13:10:25 +08:00
skynono
9034b2c9b2
fix: unique channel models
2025-06-19 15:16:26 +08:00
creamlike1024
c6a9df67b1
feat: auto分组
2025-06-16 22:15:12 +08:00
1808837298@qq.com
0aa30ed3f6
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
966cdc1f7f
refactor: user cache logic
2024-12-29 16:50:26 +08:00
CalciumIon
9a97ae1275
fix: 使用令牌分组时 "/v1/models" 返回模型不正确 #481
2024-09-18 19:19:37 +08:00
CalciumIon
e0e30badf1
fix: '/v1/models' #474
2024-09-17 22:41:54 +08:00
CalciumIon
70fa97e2b2
fix: '/v1/models' #474
2024-09-17 22:39:58 +08:00
CalciumIon
d629b7fbcc
fix: '/vi/models' #474
2024-09-17 22:36:20 +08:00
CalciumIon
ee0e1c9736
refactor: audio relay
2024-07-16 22:07:10 +08:00
1808837298@qq.com
f723ff9ba0
feat: 增加重置模型倍率功能 ( close #62 )
2024-05-24 15:28:16 +08:00
1808837298@qq.com
a4dd05a204
fix: pricing page group ratio ( close #275 )
2024-05-22 12:34:47 +08:00
CaIon
b927bb1544
chore: update model list
2024-05-16 19:08:37 +08:00
CaIon
191fe6ea64
feat: 完善模型价格获取逻辑
2024-05-15 23:56:26 +08:00
CaIon
97acc9e5c4
feat: add pricing page
2024-05-13 23:02:35 +08:00
CaIon
5cf33f35ae
fix: 修复自定义渠道出错 #243
2024-05-13 14:32:32 +08:00
CaIon
a7f01cb6c1
fix: 修复"/v1/models"不显示自定义模型 (close #235 )
2024-05-12 19:16:52 +08:00
CaIon
e355c24725
feat: 填入相关模型
2024-05-12 19:07:33 +08:00
Maple Gao
f46eb9c8d5
Add 01.AI relay
2024-03-20 23:44:03 +08:00
CaIon
5659e5720f
feat: 将操作拆分成单独的模型
2024-03-13 21:19:48 +08:00
1808837298@qq.com
ad47a3376f
fix: 修复添加和编辑渠道无可选择模型
2024-03-03 15:53:48 +08:00
1808837298@qq.com
a866726184
feat: "/v1/models" 只返回用户可用模型 ( close #78 )
2024-02-29 19:21:22 +08:00
1808837298@qq.com
6ada7b87b6
feat: 支持智谱GLM-4V
2024-02-29 18:31:03 +08:00
1808837298@qq.com
436afe925e
feat: 初步重构完成
2024-02-29 16:21:25 +08:00
1808837298@qq.com
1735981217
feat: 初步重构
2024-02-29 01:08:18 +08:00
CaIon
28da2408d6
feat: add model gpt-3.5-turbo-0125
2024-02-02 12:46:12 +08:00
CaIon
6768432989
feat: add model text-embedding-3
2024-01-26 16:53:04 +08:00
CaIon
0e1ea9b70d
feat: add model gpt-4-turbo-preview
2024-01-26 16:52:16 +08:00
Hao Mei
d36a9303d2
feat: add support for davinci-002 and babbage-002
2024-01-03 20:19:00 +08:00
CaIon
de69eb592e
support gemini-pro-vision
2023-12-27 16:32:54 +08:00
CaIon
796760222c
添加gemini支持
2023-12-18 23:46:05 +08:00
CaIon
34297bd3ba
添加gpt-4-1106-vision-preview模型
2023-12-12 16:41:37 +08:00
CaIon
8f514adad0
修复语音系列模型计费bug
2023-11-16 01:44:15 +08:00
CaIon
00305a4301
添加mj渠道
2023-11-12 23:32:22 +08:00
CaIon
424adfd562
更新模型倍率
2023-11-11 02:31:07 +08:00
JustSong
0c7b132dde
feat: support ERNIE-Bot-4 ( close #608 )
2023-10-22 18:48:35 +08:00
JustSong
4d65a13ae9
feat: support Tencent's model ( close #519 )
2023-10-03 14:19:03 +08:00
JustSong
26367b677e
chore: delete 360's 360GPT_S2_V9.4
2023-10-03 12:51:53 +08:00
JustSong
45adc7fc9a
chore: update ali's model name
2023-09-23 22:57:59 +08:00
JustSong
d39d54bed6
feat: add support for gpt-3.5-turbo-instruct ( close #545 )
2023-09-23 22:37:11 +08:00
igophper
b31a9d7576
fix: support ali's embedding model ( #481 , close #469 )
...
* feat:支持阿里的 embedding 模型
* fix: add to model list
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com >
Co-authored-by: JustSong <39998050+songquanpeng@users.noreply.github.com >
2023-09-03 22:12:35 +08:00
JustSong
1966eb712e
feat: supper whisper now ( close #197 )
2023-08-27 15:28:23 +08:00