ckt1031
a7d9be1a99
feat: supprot pnpm
2023-08-28 00:31:57 +08:00
Benny
18029c630d
fix: empty completion issue caused by bad status code from upstream channel ( #422 )
2023-08-28 00:29:02 +08:00
ckt1031
e9dd31d1ed
fix: i18n
2023-08-27 17:50:49 +08:00
shao0222
31431425dc
fix: fix the issue of function_call not working when using model mapping ( #462 )
2023-08-27 17:46:01 +08:00
JustSong
e6c5b0b9d6
feat: support 360's models ( close #331 , close #461 )
...
feat: support 360's models (close #331 , close #461 )
2023-08-27 17:46:01 +08:00
JustSong
ae7ec7a3bb
perf: initialize all token encoder when starting ( close #459 , close $460)
2023-08-27 17:46:01 +08:00
JustSong
aec3539b23
fix: disable channel when 401 received ( close #467 )
2023-08-27 17:46:00 +08:00
Benny
51cb5bbcb6
fix: empty completion issue caused by bad status code from upstream channel ( #422 )
2023-08-27 17:46:00 +08:00
Benny
3ca910917c
fix: empty completion issue caused by bad status code from upstream channel ( #422 )
2023-08-21 10:30:11 +08:00
glzjin
e556a23b19
fix: fix baidu & ali's quota calculation ( #444 )
...
* 修复阿里计费问题
* 修复百度计费问题
2023-08-21 10:30:07 +08:00
Benny
6a100e1768
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-21 10:30:07 +08:00
Benny
e4aa859f91
fix: claude model ratio ( #449 )
...
* fix: Claude model ratio
* chore: update implementation
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-08-21 10:29:57 +08:00
JustSong
bd31fa9eb5
docs: update README
2023-08-21 10:29:57 +08:00
JustSong
c8ef45ecef
docs: update README
2023-08-21 10:29:57 +08:00
JustSong
31985cdcba
docs: update README
2023-08-21 10:29:57 +08:00
JustSong
fbd9ffdb22
docs: update README
2023-08-21 10:29:57 +08:00
JustSong
7c8388cffc
docs: update README
2023-08-21 10:29:57 +08:00
JustSong
c1d0ef39be
docs: update README
2023-08-21 10:29:57 +08:00
ckt1031
d5dfacd8a6
fix: json issue
2023-08-20 01:24:59 +08:00
ckt1031
9d15776712
fix: bump deps
2023-08-19 13:58:35 +08:00
ckt1031
5cda49c0b2
fix(web): bump deps
2023-08-19 13:57:11 +08:00
ckt1031
abae1173ca
feat: use react swc
2023-08-19 13:33:38 +08:00
JustSong
9db93b9d43
fix: update cache immediately after cache get
...
Co-authored-by: chikasaki <1347283135@qq.com>
Co-authored-by: Cruel <157922018@qq.com>
2023-08-19 13:33:38 +08:00
Ikko Eltociear Ashimine
31ec349a31
docs: add Japanese README ( #425 )
2023-08-19 13:33:38 +08:00
ckt1031
441c43e0f8
fix: update readme
2023-08-13 18:26:06 +08:00
ckt1031
08ebece58e
fix(web): bump deps
2023-08-13 18:21:22 +08:00
ckt1031
1c2c242f22
feat: support dotenv
2023-08-13 18:19:54 +08:00
ckt1031
d1537fabb5
fix: go mod issue
2023-08-13 18:16:51 +08:00
ckt1031
ca3f4570d8
fix: improve English translation
2023-08-13 18:09:55 +08:00
ckt1031
8195619037
Merge remote-tracking branch 'upstream/main' into refactor-main
2023-08-13 17:55:21 +08:00
JustSong
da1d81998f
docs: update README
2023-08-13 01:16:27 +08:00
JustSong
cac61b9f66
Revert "fix: add lock when update quota ( close #399 )"
...
This reverts commit eae9b6e607
.
2023-08-13 00:51:48 +08:00
JustSong
3da12e99d9
chore: update variable name
2023-08-13 00:50:26 +08:00
igophper
4ef5e2020c
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
af20063a8d
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
ca512f6a38
refactor: add set event stream headers func ( #402 )
...
封装流式传输响应头的设置
2023-08-12 21:55:18 +08:00
JustSong
0e9ff8825e
perf: use a goroutine to handle quota post consumption ( #364 )
2023-08-12 19:36:31 +08:00
JustSong
e0b4f96b5b
feat: support PostgreSQL now
2023-08-12 19:20:12 +08:00
JustSong
eae9b6e607
fix: add lock when update quota ( close #399 )
2023-08-12 18:25:18 +08:00
JustSong
7bddc73b96
perf: flush response after response handled ( close #364 )
2023-08-12 18:10:15 +08:00
JustSong
2a527ee436
fix: fix token name too long
2023-08-12 16:58:29 +08:00
JustSong
e42119b73d
chore: use unknown as placeholder
2023-08-12 14:18:04 +08:00
JustSong
821c559e89
docs: update README
2023-08-12 12:17:01 +08:00
JustSong
7e2bca7e9c
docs: update README
2023-08-12 11:30:13 +08:00
JustSong
1e16ef3e0d
chore: resolve conflicts
2023-08-12 11:08:52 +08:00
igophper
476a46ad7e
fix: fix finish_reason fileld not fully compatible with OpenAI ( close #372 , #373 )
...
* optimize:unify finish_reason field
* refactor: use a global stop finish reason
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-08-12 11:04:53 +08:00
Yolo°
c58f710227
feat: improve frontend ( #387 )
...
* fork
* fork
* chore: update style
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-08-12 10:49:30 +08:00
JustSong
150d068e9f
chore: update prompt
2023-08-12 10:20:54 +08:00
JustSong
be780462f1
docs: update README
2023-08-12 10:16:59 +08:00
wood chen
f2159e1033
docs: update README ( #374 )
2023-08-12 10:14:13 +08:00