CaIon
e25bcce452
merge
2023-09-09 01:50:41 +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
7e6a2b67a6
feat: able to config rate limit ( close #477 )
2023-09-03 21:56:37 +08:00
JustSong
963d9a3407
docs: update README ( close #482 )
2023-09-03 21:50:00 +08:00
JustSong
c504918175
docs: update README ( close #482 )
2023-09-03 21:49:41 +08:00
JustSong
bbcf52be8f
chore: add error prompt for Azure
2023-09-03 21:46:07 +08:00
JustSong
6f4b547f0e
fix: press enter to submit custom model name
2023-09-03 21:40:58 +08:00
JustSong
fa0fedff5c
chore: pass through error out
2023-09-03 21:31:58 +08:00
JustSong
e7eb4474b6
feat: add channel type FastGPT
2023-09-03 15:50:49 +08:00
JustSong
35092959b4
docs: update README
2023-09-03 15:12:54 +08:00
JustSong
cf0ae05d50
feat: add batch update support ( close #414 )
2023-09-03 14:58:20 +08:00
JustSong
8e0a744da3
feat: support aiproxy's library
2023-09-03 12:51:59 +08:00
CaIon
a4cf25f4c6
修复多路复用bug
2023-08-31 00:44:16 +08:00
JustSong
3cb7892864
fix: fix log table use created_at as key instead of id
...
Co-authored-by: 13714733197 <13714733197@163.com >
2023-08-30 21:43:01 +08:00
JustSong
f506056015
perf: preallocate array capacity
2023-08-30 21:15:56 +08:00
JustSong
ba1adbfc05
docs: update README
2023-08-30 20:51:37 +08:00
JustSong
59eab66373
feat: supper OpenRouter now ( close #333 , close #340 )
2023-08-27 16:16:45 +08:00
JustSong
1966eb712e
feat: supper whisper now ( close #197 )
2023-08-27 15:28:23 +08:00
JustSong
373f50c8eb
Merge branch 'main' of https://github.com/songquanpeng/one-api
2023-08-26 13:36:58 +08:00
JustSong
6c808f80ff
feat: support 360's models ( close #331 , close #461 )
...
feat: support 360's models (close #331 , close #461 )
2023-08-26 13:36:20 +08:00
shao0222
32db0934e5
fix: fix the issue of function_call not working when using model mapping ( #462 )
2023-08-26 13:10:18 +08:00
JustSong
574be5bd1d
perf: initialize all token encoder when starting ( close #459 , close $460)
2023-08-26 13:02:02 +08:00
JustSong
5ac2eac15f
fix: fix error response ( close #468 )
2023-08-26 12:37:45 +08:00
JustSong
2193d46b17
fix: disable channel when 401 received ( close #467 )
2023-08-26 12:05:18 +08:00
CaIon
46d817ab64
merge
2023-08-25 01:03:45 +08:00
CaIon
e60239c93d
Merge remote-tracking branch 'origin/main'
...
# Conflicts:
# controller/relay-text.go
# go.mod
# web/src/components/PersonalSetting.js
# web/src/components/TokensTable.js
# web/src/pages/Home/index.js
2023-08-25 00:51:02 +08:00
CaIon
c7d1cef7b4
修改stat接口返回值
2023-08-25 00:40:11 +08:00
glzjin
04bd77e5d6
fix: fix xunfei crash ( #451 )
2023-08-20 22:07:50 +08:00
Benny
996b005173
fix: empty completion issue caused by bad status code from upstream channel ( #422 )
2023-08-19 17:58:45 +08:00
滔哥
ad3aef34a7
feat: support xunfei's v2 api ( #442 , close #440 )
...
* 兼容讯飞v2接口
* Revert "兼容讯飞v2接口"
This reverts commit 21f05d1294b8693d0a21664a23ec04f028b9b117.
* fix: fix implementation
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com >
Co-authored-by: JustSong <39998050+songquanpeng@users.noreply.github.com >
2023-08-19 17:50:34 +08:00
glzjin
23ec88d6e9
fix: fix baidu & ali's quota calculation ( #444 )
...
* 修复阿里计费问题
* 修复百度计费问题
2023-08-19 17:14:39 +08:00
Benny
92e34fa0c5
feat: show total quota consumption only when user click ( #448 )
...
* feat: add toggleable visibility for total quota using an eye icon
* chore: update implementation
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com >
2023-08-19 17:08:50 +08:00
Benny
6c44925286
fix: claude model ratio ( #449 )
...
* fix: Claude model ratio
* chore: update implementation
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com >
2023-08-19 16:58:34 +08:00
JustSong
7a01376b52
docs: update README
2023-08-19 16:35:38 +08:00
JustSong
78caf1f0b5
docs: update README
2023-08-19 14:56:48 +08:00
JustSong
ddd29ef885
docs: update README
2023-08-19 14:56:21 +08:00
JustSong
5fbb09fd30
docs: update README
2023-08-19 14:55:38 +08:00
JustSong
fc9a67cb79
docs: update README
2023-08-19 14:55:17 +08:00
JustSong
984cde73ac
docs: update README
2023-08-19 14:54:40 +08:00
JustSong
8cfc5eeb97
fix: update cache immediately after cache get
...
Co-authored-by: chikasaki <1347283135@qq.com >
Co-authored-by: Cruel <157922018@qq.com >
2023-08-16 23:40:50 +08:00
Ikko Eltociear Ashimine
a4ddffa60e
docs: add Japanese README ( #425 )
2023-08-16 19:33:31 +08:00
CaIon
68b24da6a6
add epay
2023-08-14 22:16:32 +08:00
Jungley
0b55a4aea8
ci: add stage caching to Dockerfile ( #408 )
2023-08-13 22:55:43 +08:00
JustSong
5545f0cdc1
docs: update README
2023-08-13 01:16:27 +08:00
JustSong
393443dd16
Revert "fix: add lock when update quota ( close #399 )"
...
This reverts commit 7216aabedc .
2023-08-13 00:51:48 +08:00
JustSong
29d5fa222d
chore: update variable name
2023-08-13 00:50:26 +08:00
igophper
27b290c578
fix: fix baidu's embedding api ( #398 )
...
* fix:judge baidu embeddings input type
* chore: add back update all channels balance
* chore: update default configuration for sql connection
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com >
2023-08-13 00:45:04 +08:00
igophper
91bcc5f738
feat: able to refresh baidu access token automatically ( #400 , close #401 )
...
* feat:baidu channel support apiKey and secretKey
添加百度文心渠道时支持填写secretKey|apiKey或者accessToken,支持自动刷新accessToken
* fix
* fix
* fix
* chore: update implementation
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com >
Co-authored-by: JustSong <39998050+songquanpeng@users.noreply.github.com >
2023-08-12 23:41:44 +08:00
igophper
c4e10c561a
refactor: add set event stream headers func ( #402 )
...
封装流式传输响应头的设置
2023-08-12 21:55:18 +08:00
JustSong
995b3147ce
perf: use a goroutine to handle quota post consumption ( #364 )
2023-08-12 19:36:31 +08:00