Commit Graph

2055 Commits

Author SHA1 Message Date
Calcium-Ion
4ec4db5abe Merge pull request #265 from jimmyshjj/original
Update Perplexity and 01AI models
2024-05-18 13:54:33 +08:00
iszcz
e20eacf95f Merge branch 'new512' of https://github.com/iszcz/new-api into new512 2024-05-18 00:06:22 +08:00
iszcz
b81a1e68f4 价格页修复 2024-05-18 00:04:43 +08:00
Jiayun Shen
3f6aeaa0e3 Update Perplexity and 01 models
更新Perplexity和01万物模型,增加相关模型价格。对于模型价格,从one-api引入了 价格 * 系数 的方式,目前仅对新模型使用了新方式,待进一步测试。
2024-05-17 19:37:18 +08:00
iszcz
245d74691e Add files via upload 2024-05-17 13:02:16 +08:00
iszcz
026b5f2fdd 优化价格页,支持大小写模糊搜素 2024-05-17 12:54:14 +08:00
iszcz
7be8c6ba6b Merge branch 'Calcium-Ion:main' into new512 2024-05-17 12:53:23 +08:00
CaIon
b927bb1544 chore: update model list 2024-05-16 19:08:37 +08:00
CaIon
9c8fc505ad feat: support minimax 2024-05-16 19:06:35 +08:00
CaIon
3aae4efe8c feat: support minimax 2024-05-16 19:03:42 +08:00
CaIon
f09e86de06 feat: pre to delete custom channel type 2024-05-16 18:31:03 +08:00
CaIon
a127461b7f feat: 日志显示重试信息 2024-05-16 16:41:08 +08:00
CaIon
9df64bcad4 fix: try to fix sqlite database migration (#231) 2024-05-16 16:10:25 +08:00
Calcium-Ion
80740d8c28 Merge pull request #257 from p3psi-boo/main
修复渠道测试时,没有走模型映射
2024-05-16 15:55:13 +08:00
Calcium-Ion
d2bafda6ec Merge pull request #259 from jimmyshjj/original
Add Baidu Default Behavior and Updating Baidu&360 Models & Prices
2024-05-16 15:54:31 +08:00
Akarin
69108aa051 Squashed commit of the following:
commit 5a6a0df45dee3dfbf2f65591a79fe5f2b74a49e6
Author: Akarin <jimmyshjj@gmail.com>
Date:   Thu May 16 14:05:28 2024 +0800

    Revert "Update docker-image-amd64.yml"

    This reverts commit 581343a78783bbd779e65b476e125af0e2b64ce5.

commit a0aec1bd030da2c6b25d9541199d598f16813a60
Merge: 5b46c7d 58abb38
Author: Jiayun Shen <jimmyshjj@gmail.com>
Date:   Thu May 16 06:46:51 2024 +0800

    Merge branch 'main' of https://github.com/jimmyshjj/new-api

commit 58abb3864a89294d82f812cda9fe49ccf7e2dd91
Merge: 7d2c026 191fe6e
Author: Akarin <jimmyshjj@gmail.com>
Date:   Thu May 16 06:46:00 2024 +0800

    Merge branch 'Calcium-Ion:main' into main

commit 5b46c7dd8e6132d2be3b59c7b2ed6a4b84b93cef
Author: Jiayun Shen <jimmyshjj@gmail.com>
Date:   Thu May 16 06:45:00 2024 +0800

    Update constants.go

    Remove replaced Baidu models

commit 7d2c02679cd90b8b53f4145f83969b980a8c2095
Author: Akarin <jimmyshjj@gmail.com>
Date:   Wed May 15 23:40:50 2024 +0800

    Update adaptor.go - Normalize model name to lowercase

    Baidu's official model names may include mixed case letters, but their model APIs are case-sensitive and accept only lowercase. To ensure compatibility, the default behavior has been updated to convert model names to lowercase before constructing API requests.

commit 6bc168a39d9a6194d66f2f32b175e56de9295b2e
Merge: bb9fecd 910e76a
Author: Jiayun Shen <jimmyshjj@gmail.com>
Date:   Wed May 15 21:51:52 2024 +0800

    Merge branch 'main' of https://github.com/jimmyshjj/new-api

commit 910e76ac94d7f5dca6254abb4d0669cbb762e724
Merge: 581343a 05b133e
Author: Akarin <jimmyshjj@gmail.com>
Date:   Wed May 15 21:51:13 2024 +0800

    Merge branch 'Calcium-Ion:main' into main

commit bb9fecd5bf2bd9f1859a4017e7e68f80bdb6685a
Author: Jiayun Shen <jimmyshjj@gmail.com>
Date:   Wed May 15 21:50:08 2024 +0800

    update Baidu and 360 models

    Add Baidu and 360 new models. Add Baidu completion ratio

commit 581343a78783bbd779e65b476e125af0e2b64ce5
Author: Akarin <jimmyshjj@gmail.com>
Date:   Wed May 15 19:41:34 2024 +0800

    Update docker-image-amd64.yml

commit de17e2d95eec80f1eeae66e82dec4e9601cdee43
Merge: 046f653 8563334
Author: Akarin <jimmyshjj@gmail.com>
Date:   Wed May 15 19:22:09 2024 +0800

    Merge branch 'Calcium-Ion:main' into main

commit 046f6537913ae8ad8ecf21019b64c0379331b3fd
Merge: 4164d51 322bf8b
Author: Akarin <jimmyshjj@gmail.com>
Date:   Wed May 15 15:32:38 2024 +0800

    Merge branch 'Calcium-Ion:main' into main

commit 4164d51207808283a18ca2728241fd5cddc4855f
Merge: ef35b07 54679ec
Author: Akarin <jimmyshjj@gmail.com>
Date:   Wed May 15 11:19:13 2024 +0800

    Merge branch 'Calcium-Ion:main' into main

commit ef35b072824b5095ecd2d1ed7ca9fa11673da2c4
Author: Jiayun Shen <jimmyshjj@gmail.com>
Date:   Tue May 14 19:17:32 2024 +0800

    Update adaptor.go

    Update frequently used model names from Baidu official docs and support custom models
2024-05-16 14:05:44 +08:00
Bubu
a6f3558fbd Merge branch 'Calcium-Ion:main' into main 2024-05-16 08:26:49 +08:00
Boo p3psi
cc713e65ea 修复渠道测试没有走模型映射 2024-05-16 08:24:42 +08:00
iszcz
73a2eddc54 价格页样式修改 2024-05-16 00:38:30 +08:00
CaIon
191fe6ea64 feat: 完善模型价格获取逻辑 2024-05-15 23:56:26 +08:00
CaIon
05b133e6ea feat: 完善模型价格页面 2024-05-15 20:17:27 +08:00
CaIon
8563334f4c chore: update InitTokenEncoders (#255) 2024-05-15 16:32:00 +08:00
CaIon
322bf8b55e Merge remote-tracking branch 'origin/main' 2024-05-15 14:18:43 +08:00
CaIon
456be72de2 chore: update tiktoken (#254) 2024-05-15 14:18:29 +08:00
Calcium-Ion
71bad8babf Merge pull request #252 from utopeadia/main
add gemini-1.5-flash-latest support
2024-05-15 14:15:16 +08:00
HowieWu
3a8348f82a Update constant.go 2024-05-15 10:28:30 +08:00
HowieWu
9aecf7c70b Update model-ratio.go 2024-05-15 10:27:30 +08:00
HowieWu
11b1c6141c Update adaptor.go 2024-05-15 10:25:01 +08:00
Calcium-Ion
54679ec8ba Merge pull request #251 from congyijiu/main
Update constant.go
2024-05-14 21:24:19 +08:00
congyijiu
11b33f3126 Update constant.go
To prevent the default testing of GPT-4o
2024-05-14 20:47:06 +08:00
CaIon
1d36a2a7d7 fix: gpt-4-gizmo-* model ratio 2024-05-14 16:35:43 +08:00
Calcium-Ion
3ff7e73eb1 Merge pull request #248 from QuentinHsu/refactor-settings-operation
Refactor settings operation
2024-05-14 11:38:23 +08:00
CaIon
fef9f188f1 feat: update model ratio 2024-05-14 11:37:24 +08:00
Calcium-Ion
727b672907 Merge pull request #247 from MapleEve/gpt4o
Support Gpt4o
2024-05-14 11:36:59 +08:00
CaIon
f76c39c920 feat: update model ratio 2024-05-14 11:08:42 +08:00
QuentinHsu
09804935ae Merge branch 'main' into refactor-settings-operation 2024-05-14 10:19:33 +08:00
QuentinHsu
031bfc9d11 perf: 运营设置-提示文案 2024-05-14 10:18:24 +08:00
QuentinHsu
3432500a0d perf: 运营设置-数据刷新逻辑 2024-05-14 10:17:20 +08:00
Maple Gao
81ff5ead21 add: Support GPT4o ratio 2024-05-14 09:48:04 +08:00
Maple Gao
562a794bbb add: Support GPT4o 2024-05-14 09:46:39 +08:00
Calcium-Ion
fc017799a0 Merge pull request #245 from Calcium-Ion/pricing-page
feat: add pricing page
2024-05-13 23:04:25 +08:00
CaIon
97acc9e5c4 feat: add pricing page 2024-05-13 23:02:35 +08:00
QuentinHsu
f0ac6e0185 refactor: 运营设置-数据刷新 2024-05-13 18:14:57 +08:00
QuentinHsu
e2bc19ec82 refactor: 运营设置-倍率设置 2024-05-13 17:55:15 +08:00
QuentinHsu
1042408fe8 Merge branch 'main' into refactor-settings-operation 2024-05-13 16:29:02 +08:00
CaIon
9d3cd2e1f0 chore: 删除无用代码 2024-05-13 16:04:28 +08:00
CaIon
0fe4c98b3f feat: dalle系列改为使用模型固定价格计费 2024-05-13 16:04:02 +08:00
CaIon
7ef1636321 feat: 完善日志详情 2024-05-13 15:08:01 +08:00
Calcium-Ion
076e660204 Merge pull request #242 from iszcz/new512
渠道批量添加模型
2024-05-13 14:33:57 +08:00
CaIon
5cf33f35ae fix: 修复自定义渠道出错 #243 2024-05-13 14:32:32 +08:00