Commit Graph

164 Commits

Author SHA1 Message Date
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
Buer
77fb2d32d7
feat: support editing completion rate (#68)
*  feat: support editing completion rate

* 🐛 fix: Error judgment of Azure model name

* 💄 improve: mobile tip experience

* 💄 improve: SparkDesk model version switch
2024-02-20 14:35:54 +08:00
Buer
57cd68e7e3
feat: support paging / sorting (#64)
*  feat: support paging / sorting

* 🔥 del: delete unused files
2024-02-08 03:41:51 +08:00
Buer
3789c30154
feat: support moonshot (#63) 2024-02-07 23:30:36 +08:00
moondie
6f3b8ed997
查询余额接口支持跨域请求 (#61)
* 查询余额接口支持跨域请求
* 改正智谱倍率
2024-02-02 12:18:26 +08:00
Buer
48f9ed29e8
feat: support deepseek (#60) 2024-02-02 10:03:00 +08:00
Buer
aec238aec9
📝 doc: modify information (#57) 2024-01-26 18:41:11 +08:00
Martial BE
99929f15d5 feat: update openai new model 2024-01-26 10:14:24 +08:00
Buer
d7193b8e46
🐛 fix: stream mode delay issue (#53) 2024-01-25 11:56:31 +08:00
Buer
705804e6dd
feat: MiniMax support (#50) 2024-01-22 12:25:55 +08:00
Buer
2cc120f35b
🐛 fix: proxy bug (#49) 2024-01-20 13:26:11 +08:00
Buer
b42d4d44aa
feat: support zhipu new API (#44) 2024-01-19 22:14:30 +08:00
Buer
ef041e28a1
♻️ refactor: provider refactor (#41)
* ♻️ refactor: provider refactor
* 完善百度/讯飞的函数调用,现在可以在`lobe-chat`中正常调用函数了
2024-01-19 02:47:10 +08:00
Martial BE
3b8ae9a6cd feat: auto update new model ratio to database 2024-01-03 16:35:58 +08:00
Martial BE
2b6d11f999 feat: support davinci-002 and babbage-002 2024-01-03 16:35:58 +08:00
MartialBE
7ef4a7db59 feat: Optimize model list. 2024-01-01 14:42:24 +08:00
Martial BE
61c47a3b08
🎨 Support Baichuan2 2023-12-29 15:23:05 +08:00
Martial BE
211a862d54
🎨 Support qwen-vl-plus 2023-12-29 10:59:26 +08:00
Martial BE
72983ac734
Model list return by group 2023-12-28 15:48:20 +08:00
Martial BE
4d43dce64b
🐛 fix base 64 encoded format support of gemini-pro-vision 2023-12-28 12:23:39 +08:00
Martial BE
fb24d024a7
add channel proxy 2023-12-26 18:42:39 +08:00
Martial BE
47b72b850f
Merge branch 'songquanpeng' into sync_upstream 2023-12-25 11:23:28 +08:00
JustSong
1c8922153d feat: support gemini-vision-pro 2023-12-24 18:54:32 +08:00
moondie
ee9e746520
feat: update ali stream implementation & enable internet search (#856)
* Update relay-ali.go: 改进stream模式,添加联网搜索能力

通义千问支持stream的增量模式,不需要每次去掉上次的前缀;实测qwen-max联网模式效果不错,添加了联网模式。如果别的模型有问题可以改为单独给qwen-max开放

* 删除"stream参数"

刚发现原来阿里api没有这个参数,上次误加了。

* refactor: only enable search when specified

* fix: remove custom suffix when get model ratio

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-12-24 16:17:21 +08:00
Buer
a763681c2e
fix: fix base64 image parse error (#858) 2023-12-24 15:35:56 +08:00
Martial BE
f823581235
🐛 fix GetImageSizeFromBase64 error 2023-12-22 12:18:58 +08:00
Martial BE
43d8bedbb4
Merge branch 'songquanpeng' into sync_upstream 2023-12-21 15:36:01 +08:00
JustSong
b7fcb319da chore: check if SESSION_SECRET equals to random_string 2023-12-20 22:50:50 +08:00
Martial BE
ffa4e491ea
更换web界面 2023-12-20 19:27:27 +08:00
Oliver Lee
0fe26cc4bd
feat: update ali relay implementation (#830)
* 修改通译千问最新接口:1.删除history参数,改用官方推荐的messages参数 2.整理messages参数顺序,补充必要上下文信息 3.用autogen调试测试通过

* chore: update impl

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-12-17 19:43:23 +08:00
Calcium-Ion
7d6a169669
feat: able to set sqlite busy_timeout (#818)
* add sqlite busy_timeout=3000

* chore: update impl

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-12-17 19:17:00 +08:00
David Zhuang
5cf23d8698
feat: add Google Gemini Pro support (#826)
* fest: Add Google Gemini Pro, fix #810

* fest: Add tooling to Gemini; Add OpenAI-like system prompt to Gemini

* refactor: removing unused if statement

* fest: Add dummy model message for system message in gemini model

* chore: update implementation

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-12-17 12:48:32 +08:00
Qiying Wang
4c5feee0b6
feat: add image counter for gpt-4 vision (#795) 2023-12-10 19:39:46 +08:00
Tillman Bailee
a3f80a3392
feat: enable channel when test succeed (#771)
* 增加功能: 渠道 - 测试所有通道; 设置 - 运营设置 - 监控设置 - 成功时自动启用通道

* refactor: update implementation

---------

Co-authored-by: liyujie <29959257@qq.com>
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-12-03 20:10:57 +08:00
MartialBE
a884c4b0bf 添加azure speech支持 2023-12-02 22:13:47 +08:00
MartialBE
c97c8a0f65 🐛 fix: 修复余额的问题 2023-12-02 19:54:21 +08:00
MartialBE
be364ae09b 🎨 结构中继控制器 2023-12-02 03:28:18 +08:00
Martial BE
0f038d715d
add: add images edits and variations API 2023-12-01 18:25:05 +08:00