Commit Graph

75 Commits

Author SHA1 Message Date
CaIon
796760222c 添加gemini支持 2023-12-18 23:46:05 +08:00
CaIon
6bd5b3b478 美化绘画IU 2023-12-14 15:16:51 +08:00
CaIon
35a3c61021 修改错误提示 2023-12-01 01:29:13 +08:00
CaIon
2390c2cb71 完全移除近似估算token功能 2023-11-11 01:55:19 +08:00
Calcium-Ion
f439c4d553 Merge branch 'songquanpeng:main' into main 2023-10-30 16:12:09 +08:00
JustSong
0e4f9e4690 feat: able to set RELAY_TIMEOUT 2023-10-22 20:39:49 +08:00
Bryan
58b6c88f7b 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
CaIon
ba7e6324d3 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	README.md
#	go.mod
#	go.sum
#	model/log.go
#	web/src/App.js
#	web/src/components/ChannelsTable.js
2023-10-16 17:31:26 +08:00
JustSong
4d65a13ae9 feat: support Tencent's model (close #519) 2023-10-03 14:19:03 +08:00
JustSong
cfd3093b95 feat: able to delete all manually disabled channels (close #539) 2023-10-02 13:06:27 +08:00
JustSong
51db57677e chore: add MEMORY_CACHE_ENABLED env variable 2023-09-29 11:38:27 +08:00
CaIon
23d9554415 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	controller/log.go
#	controller/relay-audio.go
#	controller/relay-image.go
#	controller/relay-text.go
#	controller/relay.go
#	middleware/distributor.go
#	model/log.go
#	web/src/components/OperationSetting.js
2023-09-17 20:59:12 +08:00
JustSong
315d7e8692 refactor: update logging related logic 2023-09-17 15:39:46 +08:00
CaIon
ff8df45f95 修复充值bug 2023-09-09 05:04:49 +08:00
CaIon
c0636950c0 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	controller/relay.go
#	main.go
#	middleware/distributor.go
2023-09-09 03:15:55 +08:00
CaIon
f73ecc57c2 移除不必要的功能 2023-09-09 03:11:42 +08:00
JustSong
7e6a2b67a6 feat: able to config rate limit (close #477) 2023-09-03 21:56:37 +08:00
JustSong
e7eb4474b6 feat: add channel type FastGPT 2023-09-03 15:50:49 +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
JustSong
59eab66373 feat: supper OpenRouter now (close #333, close #340) 2023-08-27 16:16:45 +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
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
68b24da6a6 add epay 2023-08-14 22:16:32 +08:00
JustSong
2586fe09eb perf: flush response after response handled (close #364) 2023-08-12 18:10:15 +08:00
ckt
a8acca398f feat: support email domain whitelist (#337)
* feat: support email domain restriction

* fix(SMTPToken): disable password auto complete

* chore: update implementation

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-07-30 12:44:41 +08:00
JustSong
11e62bb63f feat: support xunfei's llm (close #206) 2023-07-29 21:55:57 +08:00
JustSong
d1d1d4fde4 feat: support ali's llm (close #326) 2023-07-28 23:45:08 +08:00
JustSong
819056a8af chore: do not hardcode cache time (close #302) 2023-07-23 19:26:37 +08:00
JustSong
91f8d22369 feat: support zhipu's ChatGLM (close #289) 2023-07-23 11:51:44 +08:00
JustSong
3fc2c5fbf6 feat: support baidu's models now (close #286) 2023-07-22 23:24:09 +08:00
JustSong
3379ea5e2f feat: support claude now (close #150) 2023-07-22 16:18:03 +08:00
JustSong
8a0f707d64 feat: retry on failed (close #112) 2023-07-15 19:06:51 +08:00
JustSong
16b6ace078 feat: able to approximate token (close #207) 2023-07-04 19:54:13 +08:00
Cross Fire
3b247077d2 feat: support balance query for CloseAI (#240)
* 增加CloseAI余额查询功能

* 去除debug代码

* fix: bug fix

* docs: update README

---------

Co-authored-by: sudongyang <sudongyang@xiaomi.com>
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-07-03 20:43:42 +08:00
Alone88
244ca0351f feat: support channel type AIGC2D (#220)
* feat: add AIGC2D Channel

* chore: remove console logging & update balance rendering

---------

Co-authored-by: Alone88 <im@aloen88.cn>
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-06-29 21:34:17 +08:00
JustSong
fe6bd3a273 fix: fix wrong env var name 2023-06-27 23:34:23 +08:00
JustSong
24bdbe117a feat: able to display token billing stat via billing api (close #186) 2023-06-23 20:14:53 +08:00
JustSong
6bea2724e4 feat: support automatic channel testing & balance updates (close #11, close #59) 2023-06-22 22:01:03 +08:00
JustSong
c90fc7e0d6 chore: use NODE_TYPE to determine node type 2023-06-22 20:39:17 +08:00
JustSong
64d026fc1a fix: only master node can migrate database 2023-06-22 00:52:27 +08:00
JustSong
a6cc0226a7 feat: able to display quota in dollar 2023-06-20 20:09:17 +08:00
JustSong
b4142308c5 feat: able to add chat page link now (close #70) 2023-06-17 23:51:56 +08:00
JustSong
f123eaf379 feat: support aff now (close #75) 2023-06-17 18:12:58 +08:00
JustSong
78b1387239 chore: update api endpoint for CloseAI 2023-06-17 15:54:14 +08:00
Kidultx
9f3c756a88 feat: support API2GPT platform (#173)
* support API2GPT platform

* chore: update balance renderer

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-06-17 15:20:51 +08:00
JustSong
569c124b59 feat: able to disable quota consumption recording (close #156) 2023-06-15 16:32:16 +08:00
JustSong
70370e4035 feat: able to check topup history & consumption history (#78, #95) 2023-06-09 16:59:00 +08:00
JustSong
0ba5ff9d42 feat: PaLM support is WIP (#105) 2023-05-21 14:26:59 +08:00
JustSong
911e59c343 feat: support channel AI Proxy now 2023-05-20 17:24:56 +08:00