Commit Graph

201 Commits

Author SHA1 Message Date
MartialBE
021f8c65da 🔖 chore: Remove invalid code 2024-05-29 04:38:56 +08:00
MartialBE
b5a4283b28 🔖 chore: add chat image request proxy address 2024-05-29 04:01:28 +08:00
MartialBE
3d8a51e139 🔖 chore: migration constants 2024-05-29 01:56:14 +08:00
MartialBE
ce12558ad6 🔖 chore: migration logger package 2024-05-29 01:04:23 +08:00
MartialBE
79524108a3 🔖 chore: Rename relay/util to relay/relay_util package and add utils package 2024-05-29 00:36:54 +08:00
Clivia
02a9087b9a 🔖 chore: Added File Type Check for Image Size Retrieval
* optimized the log content of uploaded files is too large

* optimized the log content of uploaded files is too large

* optimize GetImageSize
2024-05-27 14:25:33 +08:00
ZeroDeng
0f658c5a53 🐛 fix: Fixed SOCKS5 Proxy Authentication Issue
* fix(telegram代理): 修复telegram设置socks5加用户名密码无法代理的问题

修复socks5使用代理用户名密码的时候无法连接认证的问题。
2024-05-26 23:25:03 +08:00
ZeroDeng
2b735e6dff 🔖 chore: profile page displays icons based on whether third-party login is enabled. (#227)
* feat(系统设置&登录): 修改飞书登录是否启用判断逻辑和设置选项

1. 系统增加是否开启飞书登录选项
2. 登录使用通过系统设置判断是否启用飞书

* perf(用户中心): 优化用户中心绑定的第三方登录是否绑定判断和展示方式

优化用户中心绑定的第三方登录是否绑定判断和展示方式:
- 系统启动了指定登录方式并且用户已经绑定该方式则icon高亮,没绑定则默认颜色显示;
- 系统没有启动指定的登录方式则不显示指定登录方式icon
2024-05-26 12:36:55 +08:00
MartialBE
af8c249e3f 🔖 chore: Allow disable token encoders (#226) 2024-05-26 00:44:10 +08:00
MartialBE
34e1543176 🔖 chore: Update Hunyuan API 2024-05-25 17:59:30 +08:00
MartialBE
671aa51f42 🐛 fix: Outlook email authentication error (#212) 2024-05-24 20:02:45 +08:00
MartialBE
8fc2f1a4a3 🔖 chore: Remove unnecessary print statements 2024-05-21 01:37:01 +08:00
MartialBE
96f19fb35f 🔖 chore: TGBot add http proxy (#192) 2024-05-19 21:48:39 +08:00
MartialBE
e9d3b4654f 🔖 chore: add gpt-4o tiktoken 2024-05-14 21:55:24 +08:00
Martial BE
801b98d6fc ♻️ refactor: Refactor chat links 2024-04-27 20:50:36 +08:00
Buer
763c8883da feat: support Ollama (#168) 2024-04-24 16:59:58 +08:00
Martial BE
4fc987f4a0 feat: Support Coze 2024-04-20 12:07:37 +08:00
Martial BE
7511d614cf 🐛 fix: incorrect timeout time cited 2024-04-19 14:59:41 +08:00
Martial BE
0c5ad810a9 🐛 fix: config file loading error 2024-04-18 23:10:47 +08:00
Martial BE
303fe3360b feat: add Stability AI 2024-04-18 18:53:49 +08:00
Martial BE
b20659dfcc feat: add imgur image upload 2024-04-18 18:51:09 +08:00
Martial BE
cfa68df4aa feat: Add image upload 2024-04-18 15:29:25 +08:00
Martial BE
95854f5912 feat: Support Cohere 2024-04-18 01:39:18 +08:00
Martial BE
344555418e feat: Support Cloudflare AI 2024-04-16 18:08:56 +08:00
Martial BE
9ccf1381e8 feat: add Lark OAuth (#149) 2024-04-16 13:03:05 +08:00
Buer
3c7c13758b feat: add chat cache (#152) 2024-04-16 10:36:18 +08:00
Martial BE
4268f2816a 🐛 fix: escape markdown text 2024-04-11 15:28:02 +08:00
Buer
a3719cd78a feat: add notifier (#144)
* ♻️ refactor: email refactor

*  feat: add notifier
2024-04-09 15:00:06 +08:00
Buer
c1fc32add7 feat: add Midjourney (#138)
* 🚧 stash

*  feat: add Midjourney

* 📝 doc: update readme
2024-04-05 04:03:46 +08:00
Buer
a58e538c26 ♻️ refactor: Refactor price module (#123) (#109) (#128) 2024-03-28 16:53:34 +08:00
Martial BE
40ef06ceda feat: add gemini new model 2024-03-25 10:50:43 +08:00
Martial BE
e7fbcbffab 🐛 fix: WSClient set HandshakeTimeout (#119) 2024-03-21 14:17:10 +08:00
Buer
71171c63f5 feat: support configuration file (#117)
* ♻️ refactor: move file directory

* ♻️ refactor: move file directory

* ♻️ refactor: support multiple config methods

* 🔥 del: remove unused code

* 💩 refactor: Refactor channel management and synchronization

* 💄 improve: add channel website

*  feat: allow recording 0 consumption
2024-03-20 14:12:47 +08:00
Martial BE
8e1c02a6dc 🐛 fix: prompt token repetition calculation (#116) 2024-03-20 10:33:32 +08:00
Buer
670c673964 feat: support lingyiwanwu (#115) 2024-03-18 18:17:48 +08:00
Buer
b81808e839 feat: support amazon bedrock anthropic (#114)
* 🚧 WIP: bedrock

*  feat: support amazon bedrock anthropic
2024-03-18 16:00:35 +08:00
Buer
05347bc9a1 feat: support Groq (#107) 2024-03-13 15:36:31 +08:00
Martial BE
24761c2ce5 🔧 modify: update ali billing rates (#105) 2024-03-13 14:51:37 +08:00
Buer
b70378148e 🐛 fix: hunyuan model name change (#100) 2024-03-11 16:16:22 +08:00
Buer
27738aa3c7 feat: complete some issues (#98)
* 🎨 improve: SparkDesk support system roles

* 🎨 feat: Update Baidu model name

*  feat: claude support cloudflare gateway
2024-03-11 11:53:04 +08:00
Buer
6329db1a49 feat: support mistral (#94) 2024-03-10 01:53:33 +08:00
Buer
d8d880bf85 ️ feat: channel support plugin settings (#89) 2024-03-08 14:49:33 +08:00
moondie
e1fcfae928 feat: Support Claude3 (#86)
* Claude改用messages API,支持Claude3

* 删除新API不支持的模型

* 忘了改请求地址

* 🐛 fix: fix the problem of return format and completion token not being obtained

---------

Co-authored-by: MartialBE <me@xiao5.info>
2024-03-07 01:21:07 +08:00
Buer
dd3e79a20d feat: channel support weight (#85)
*  feat: channel support weight

* 💄 improve: show version

* 💄 improve: Channel add copy operation

* 💄 improve: Channel support batch add
2024-03-06 18:01:43 +08:00
Buer
7c78ed9fad 🐛 fix: glm-4v support base64 image (#81)
* 💄 improve: http client changes proxy using context

* 🐛 fix: glm-4v support base64 image
2024-03-01 18:52:39 +08:00
Buer
fab465e82a 🐛 fix: fix some issues (#77)
* 🐛 fix: Incorrect word spelling

* ♻️ refactor: split function

* 🐛 fix: Delete the disabled channels without deleting the abilities table
2024-02-29 11:26:02 +08:00
Buer
1ae0baa8cb 🐛 fix: tg apikey command missing sk prefix (#76) 2024-02-26 19:06:47 +08:00
Buer
e90f4c99fc feat: add telegram bot (#71) 2024-02-23 18:24:25 +08:00
Buer
43b4ee37d9 🐛 fix some bugs (#70)
* 🐛 fix: moonshot model name error

* 🐛 fix: qwen-vl model name error
2024-02-20 16:21:26 +08:00
Buer
fbc0308620 🐛 fix: missing model gpt-4-turbo-preview (#69) 2024-02-20 15:08:40 +08:00