wood
f99e77dc2b
update
2023-11-28 20:50:51 +08:00
wood
aa808b0210
1
2023-11-25 02:10:28 +08:00
wood
c253a34537
Merge branch 'main' of https://github.com/songquanpeng/one-api into songquanpeng-main
2023-11-25 01:48:20 +08:00
JustSong
9889377f0e
feat: support claude-2.x ( close #736 )
2023-11-24 21:39:44 +08:00
Ian Li
3347a44023
feat: support Azure's Whisper model ( #720 )
2023-11-24 21:10:18 +08:00
igophper
d85e356b6e
refactor: remove consumeQuota related logic ( #738 )
...
* feat: 删除relay-text中的consumeQuota变量
该变量始终为true,可以删除
* chore: remove useless code
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-11-24 20:42:29 +08:00
JustSong
495fc628e4
feat: support gpt-4 with vision ( #683 , #714 )
2023-11-19 18:38:54 +08:00
JustSong
76f9288c34
feat: update request struct ( close #708 )
2023-11-19 17:50:30 +08:00
Ian Li
969f539777
fix: skip JSON deserialization when accessing transcriptions and translations ( #718 )
...
* fix: Skip JSON deserialization when accessing transcriptions and translations.
* chore: update impl
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-11-19 16:11:39 +08:00
Buer
54e5f8ecd2
feat: support cloudflare gateway for azure ( #666 )
...
* 🐛 Fix cloudflare gateway request failure
* 🐛 fix channel test url error
2023-11-19 15:52:35 +08:00
wood
172e8c8235
1
2023-11-18 05:31:56 +08:00
wood
aeb70460bb
1
2023-11-18 03:48:58 +08:00
wood
d118de25e4
Merge branch 'main' of https://github.com/songquanpeng/one-api
2023-11-18 03:48:51 +08:00
Mikey
34d517cfa2
fix: cloudflare test & expose detailed info about test failures ( #715 )
...
* fix: cloudflare test & expose detailed info about test failures
* fix: cloudflare test & expose detailed info about test failures
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-11-17 21:45:55 +08:00
ckt1031
ddcaf95f5f
feat: support tts model ( #713 )
...
* Added support for Text-to-Speech models and
endpoints
* chore: update impl
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-11-17 21:18:51 +08:00
ckt1031
1d15157f7d
feat: keep sync with dall-e updates ( #679 )
...
* Updated ImageRequest struct and OpenAIModels,
added new Dall-E models and size ratios
* Fixed suspect `or`
* Refactored size ratio calculation in
relayImageHelper function
* Updated the format of resolution keys in
DalleSizeRatios map
* Added error handling for unsupported image size in
relayImageHelper function
* Added validation for number of generated images
and defined image generation ratios
* Refactored variable name from
DalleGenerationImageAmountRatios to
DalleGenerationImageAmounts
* Added validation for prompt length in
relayImageHelper function
* Updated model validation and removed size not
supported error in relayImageHelper function
* Refactored image size and model validation in
relayImageHelper function
* chore: discard binary file
* chore: update impl
---------
Co-authored-by: cktsun1031 <65409152+cktsun1031@users.noreply.github.com>
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-11-17 20:03:16 +08:00
管宜尧
de7b9710a5
fix: fix PaLM not working issue ( #667 )
...
* bugfix for #515 最新版本谷歌PaLM模型无法使用
* update
* chore: remove unrelated file
* chore: add comment
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-11-17 19:40:59 +08:00
wood
5e503d671e
改点样式
2023-11-16 05:02:34 +08:00
wood
05ee4d5977
一些按钮改为图标
2023-11-16 03:21:36 +08:00
wood
9cab86b86c
修改日志详情
2023-11-15 23:30:04 +08:00
wood
876e0d429b
前端改为美元展示
2023-11-15 04:34:59 +08:00
wood
fff889742b
修改日志详情为模型单价
2023-11-15 03:13:31 +08:00
wood
724ca3ccd8
update
2023-11-11 23:13:46 +08:00
wood
9382281839
Merge branch 'main' of https://github.com/songquanpeng/one-api into songquanpeng-main
2023-11-11 23:13:38 +08:00
wood
96793c3e9c
1
2023-11-11 03:21:46 +08:00
wood
49ea44c65b
日志修改详情显示
2023-11-11 02:05:15 +08:00
Mikey
9d43ec57d8
feat: sync pricing for new 1106 models ( #696 )
...
* feat: sync pricing for new 1106 models
* chore: change ratio after 2023-12-11
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-11-10 21:08:23 +08:00
wood
1c33a899d2
显示日志,但是不显示用户组倍率
2023-11-09 00:19:06 +08:00
wood
6d9ae196d6
1
2023-11-08 00:19:46 +08:00
wood
c5a271dec4
增加新模型
2023-11-07 16:47:40 +08:00
wood
825374c334
[x] 当用户充值达到5刀时,自动提升为vip分组,具体金额可在web\src\pages\TopUp\index.js
调整;
...
[x] 修改颜色
[x] 日志页面新增快速筛选日期、修复渠道ID查询、自动更新消耗额度、删除日志详情(因为没有太大意义);
[x] 用户管理界面,支持快速设置用户组,在`web\src\components\UsersTable.js`处修改相关值;
[x] 令牌界面,删除无用的多种复制、聊天等按钮;
[x] 删除 系统访问令牌;
2023-11-07 01:43:09 +08:00
wood
eb82fb79a2
修复渠道测试功能,修复日志页面根据渠道ID筛选功能,更新统计功能,改为自动更新
2023-11-06 06:33:01 +08:00
wood
436ba6df72
update
2023-11-05 20:49:28 +08:00
wood
c51417d4e6
Merge branch 'main' of https://github.com/woodchen-ink/one-api
2023-11-05 19:58:04 +08:00
wzxjohn
bc7c9105f4
chore: update quota calc logic ( close #599 ) ( #627 )
...
* fix: change quota calc code (close #599 )
Use float64 during calc and do math.Ceil after calc. This will result in the quota being used slightly more than the official standard, but it will be guaranteed that it will not be less.
* chore: remove blank line
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-11-05 19:15:06 +08:00
wood chen
3fe76c8af7
fix: fix Cloudflare AI Gateway channel test support ( #639 )
...
* 当使用Cloudflare AI Gateway时,支持openai渠道测试
* refactor: change logic
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-11-05 19:08:25 +08:00
papersnake
c70c614018
feat: support chatglm_turbo ( #648 )
...
* feat: support chatglm_turbo
* fix: remove characterglm
2023-11-05 17:59:38 +08:00
Baksi
0d87de697c
fix: fix typo ( #651 )
2023-11-02 22:24:22 +08:00
wood chen
4b4ee90162
Merge branch 'songquanpeng:main' into main
2023-10-31 03:41:51 -05:00
MaricoHan
aec343dc38
feat: support xunfei v3 ( #637 )
2023-10-29 22:03:01 +08:00
wood
d0910f72e1
支持ai gateway渠道的测试
2023-10-27 01:21:54 +08:00
wood chen
ed3900d619
Merge branch 'songquanpeng:main' into main
2023-10-25 05:51:19 -05:00
JustSong
89d458b9cf
feat: able to set RELAY_TIMEOUT
2023-10-22 20:39:49 +08:00
JustSong
63fafba112
feat: support ERNIE-Bot-4 ( close #608 )
2023-10-22 18:48:35 +08:00
yiGmMk
57aa637c77
fix: set Accept header if not given ( #615 )
...
* fix: fastgpt调用通义千问问答失败
* refactor: Dockerfile
* Revert "refactor: Dockerfile"
This reverts commit a538c4f28e
.
* chore: update implementation
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-10-22 17:56:20 +08:00
vc
3b483639a4
feat: add cloudflare ai gateway support for image & audio ( #607 )
...
* Update channel-test.go
* Update relay-audio.go
* Update relay-image.go
* chore: using a util function
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-10-22 17:50:52 +08:00
wood
cc1b401380
update
2023-10-20 16:01:55 +08:00
JustSong
824444244b
feat: able to delete all disabled channels
2023-10-14 17:25:48 +08:00
JustSong
a27a5bcc06
fix: fix array index not checked ( close #588 )
2023-10-14 16:11:15 +08:00
JustSong
e28d4b1741
feat: support cloudflare AI gateway now ( close #565 , #598 )
2023-10-14 15:26:28 +08:00