cktsun1031
d017e2de2b
Updated npm commands, removed unused imports,
...
added key prop in Header.js, and introduced eslint
for linting
2023-11-06 21:08:03 +08:00
cktsun1031
fa008e7196
Refactor and optimize code: streamline error
...
handling, remove redundant return statements,
correct gorm tag syntax, and improve type
assertions in relay.go
2023-11-06 16:04:13 +08:00
cktsun1031
5c5aed7919
Added chatglm_turbo model, fixed URL duplication,
...
improved quota calculation, and updated
localModels in EditChannel.js
2023-11-06 14:41:06 +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
cktsun1031
a64061b6e2
Merge remote-tracking branch 'upstream/main'
2023-11-03 16:11:33 +08:00
cktsun1031
2ddf05948b
feat: upgrade deps
2023-11-03 11:50:09 +08:00
Baksi
0d87de697c
fix: fix typo ( #651 )
2023-11-02 22:24:22 +08:00
ckt
830c423da8
Merge branch 'songquanpeng:main' into main
2023-11-01 22:32:41 +08:00
MaricoHan
aec343dc38
feat: support xunfei v3 ( #637 )
2023-10-29 22:03:01 +08:00
ckt1031
7e206cc321
feat: bump deps
2023-10-29 06:30:51 +00:00
ckt1031
1a9b1b45d5
fix: cors
2023-10-25 21:39:22 +08:00
ckt1031
624b5800fa
fix: github ci
2023-10-25 20:15:15 +08:00
ckt1031
8b4d2773d2
feat: enhanced channel test
2023-10-25 20:06:12 +08:00
ckt1031
624c887366
feat: update deps
2023-10-25 20:03:12 +08:00
ckt1031
d4c5f74bb7
Merge remote-tracking branch 'upstream/main'
2023-10-25 19:58:34 +08:00
ckt1031
e1d840e7dd
Merge remote-tracking branch 'upstream/main'
2023-10-25 19:56:30 +08: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
ckt
d79a7b5902
fix; channel testing
2023-10-22 10:46:54 +00:00
ckt
765e5f8b66
fix: issue
2023-10-22 10:40:13 +00:00
Bryan
a398f35968
fix: fix postgresql support ( #606 )
...
* fix postgresql support
fixes #517
* fix: fix pg support
* chore: delete useless code
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-10-22 18:38:29 +08:00
ckt
25d7e6e131
fix: re-enable email
2023-10-22 10:31:50 +00:00
ckt
33793f55d8
feat: add turnstile widget test
2023-10-22 10:22:08 +00:00
ckt
14b7b924a0
Merge remote-tracking branch 'upstream/main'
2023-10-22 10:12:39 +00: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
subnew
22980b4c44
docs: add description for TIKTOKEN_CACHE_DIR ( #612 )
...
* Update README.md
* Update README.md
2023-10-22 17:31:27 +08:00
ckt1031
5842f59191
feat: support AutoReEnableFailedChannel
2023-10-21 22:44:35 +08:00
ckt1031
e81444b74c
fix: SumUsedToken
2023-10-19 21:13:41 +08:00
ckt1031
cb7de84771
fix: postgres ifnull issue
2023-10-19 21:11:15 +08:00
ckt
639f8d34d4
Merge branch 'songquanpeng:main' into main
2023-10-15 11:59:41 +08:00
Pluto
64cdb7eafb
fix: docker compose healthcheck failed ( #593 )
2023-10-14 21:55:16 -05:00
ckt1031
19c6fea370
fix: remove annoying banner
2023-10-14 23:39:05 +08:00
ckt1031
e4cbe34dc0
fix: i18n
2023-10-14 23:01:52 +08:00
ckt1031
89246be7ba
feat: update frontend deps
2023-10-14 22:58:01 +08:00
ckt1031
63e76ff230
Merge remote-tracking branch 'upstream/main'
2023-10-14 22:56:46 +08:00
JustSong
824444244b
feat: able to delete all disabled channels
2023-10-14 17:25:48 +08:00
JustSong
fbe9985f57
chore: show prompt to let the user know
2023-10-14 16:32:01 +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
JustSong
f073592d39
fix: fix request count not updated correctly when using batch update
2023-10-14 15:04:52 +08:00
阿鹏
fa41ca9805
fix: fix url not passing ( #562 )
...
解决令牌页面聊天按钮丢失url参数的问题
2023-10-14 12:45:00 +08:00
Mikey
e338de45b6
fix: 404 Component is missing ( #592 )
...
* fix: 404 Component is missing
* chore: update 404 page style
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-10-14 12:42:07 +08:00
dependabot[bot]
114587b46f
chore(deps): bump golang.org/x/net from 0.10.0 to 0.17.0 ( #591 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.10.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.10.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-14 12:34:46 +08:00
ckt1031
c78fba83eb
fix: pgsql new
2023-10-06 22:34:28 +08:00
ckt1031
c034cebc79
feat; better pgsql
2023-10-06 22:27:22 +08:00
ckt1031
061f6774ba
fix
2023-10-06 22:03:00 +08:00
JustSong
2a8f8ecba1
feat: support Tencent's model ( close #519 )
2023-10-04 22:16:57 +08:00