Commit Graph
127 Commits
Author SHA1 Message Date
CaIon e057c0e42e 添加gemini支持 2023-12-18 23:46:05 +08:00
CaIon 0fdd4fc6e3 美化绘画IU 2023-12-14 15:16:51 +08:00
CaIon 6463e0539f Warning when SESSION_SECRET is 'random_string' 2023-12-14 11:10:14 +08:00
liyujie cdcbebce6d fix: add Date header for email 2023-12-13 16:51:19 +08:00
CaIon a29e3765f4 修复gpts无法设置倍率的问题 2023-12-13 00:29:53 +08:00
CaIon 4b93f185bb 添加gpt-4-1106-vision-preview模型 2023-12-12 16:41:37 +08:00
CaIon 1a7a10c3d4 fix gpt-4-1106-preview count image token 2023-12-08 12:54:29 +08:00
CaIon 6e744bd1a3 修改错误提示 2023-12-01 01:29:13 +08:00
Xyfacai 08c9f77267 optimize: high cpu 2023-11-23 21:40:17 +08:00
CaIon 3808ae8dca add sqlite busy_timeout=5000 2023-11-23 03:48:30 +08:00
CaIon 9d191c10a9 添加pprof性能分析 2023-11-21 18:11:07 +08:00
CaIon 57d0fc3021 support base64 image 2023-11-19 18:59:35 +08:00
CaIon 773e48ed6f 修复语音系列模型计费bug 2023-11-16 01:44:15 +08:00
CaIon 63cd3f05f2 support tts 2023-11-15 21:05:14 +08:00
CaIon d09807af09 添加mj渠道 2023-11-12 23:32:22 +08:00
CaIon 5b2d898b36 更新模型倍率 2023-11-11 02:31:07 +08:00
CaIon 6fbe1fe087 更新模型倍率 2023-11-11 01:55:29 +08:00
CaIon 46930bc890 完全移除近似估算token功能 2023-11-11 01:55:19 +08:00
Calcium-Ion 7688e9f9dd Merge branch 'songquanpeng:main' into main 2023-10-30 16:12:09 +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
BryanandJustSong 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
CaIon fc2ef52366 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
CaIon a4e269262b feat: 新增充值分组倍率设置 2023-10-11 14:58:09 +08:00
JustSong b4b4acc288 feat: support Tencent's model (close #519) 2023-10-03 14:19:03 +08:00
JustSong a85ecace2e chore: delete 360's 360GPT_S2_V9.4 2023-10-03 12:51:53 +08:00
JustSong 8d34b7a77e feat: able to delete all manually disabled channels (close #539) 2023-10-02 13:06:27 +08:00
JustSong f9b748c2ca chore: add MEMORY_CACHE_ENABLED env variable 2023-09-29 11:38:27 +08:00
CaIon 3d55548c92 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	model/log.go
2023-09-24 12:34:29 +08:00
JustSong fd98463611 chore: update ali's model name 2023-09-23 22:57:59 +08:00
JustSong f5a1cd3463 feat: add support for gpt-3.5-turbo-instruct (close #545) 2023-09-23 22:37:11 +08:00
CaIon 985e26fd1b 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 4335f005a6 feat: create new log file when too many logs recorded 2023-09-17 16:35:30 +08:00
JustSong 42451d9d02 refactor: update logging related logic 2023-09-17 15:39:46 +08:00
CaIon 01a66ff33c 修复充值bug 2023-09-09 05:04:49 +08:00
CaIon 9c08d78349 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	controller/relay.go
#	main.go
#	middleware/distributor.go
2023-09-09 03:15:55 +08:00
CaIon 9ab4f7a271 移除不必要的功能 2023-09-09 03:11:42 +08:00
d0a0e871e1 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 bd6fe1e93c feat: able to config rate limit (close #477) 2023-09-03 21:56:37 +08:00
JustSong 7e575abb95 feat: add channel type FastGPT 2023-09-03 15:50:49 +08:00
JustSong c3dc315e75 feat: add batch update support (close #414) 2023-09-03 14:58:20 +08:00
JustSong 04acdb1ccb feat: support aiproxy's library 2023-09-03 12:51:59 +08:00
JustSong 56b5007379 feat: supper OpenRouter now (close #333, close #340) 2023-08-27 16:16:45 +08:00
JustSong d09d317459 feat: supper whisper now (close #197) 2023-08-27 15:28:23 +08:00
JustSong 5ee24e8acf 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 c0f0201f5f 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
BennyandJustSong 23b1c63538 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
86c2627c24 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
CaIon 8f2119e410 add epay 2023-08-14 22:16:32 +08:00
JustSong 7bddc73b96 perf: flush response after response handled (close #364) 2023-08-12 18:10:15 +08:00