JustSong
cd2707692f
chore: reorganize billing related package
2024-04-06 01:09:23 +08:00
JustSong
2ab7d25a80
chore: reorganize helper related package
2024-04-06 01:02:35 +08:00
JustSong
f9d914873f
chore: reorganize constant related package
2024-04-06 00:44:33 +08:00
JustSong
880e12c855
feat: support cogview-3
2024-04-06 00:30:08 +08:00
Mo
d4347e7a35
feat: support Ali stable-diffusion-xl and wanx-v1 model ( #1240 )
...
* Fix ali ConvertRequest function to use baidu keyword
* Support Ali stable-diffusion-xl and wanx-v1 model
* Support Ali stable-diffusion-xl and wanx-v1 model
* Support Ali stable-diffusion-xl and wanx-v1 model
* chore: update ali constants and model ratio
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
Co-authored-by: JustSong <39998050+songquanpeng@users.noreply.github.com>
2024-04-05 18:09:54 +08:00
JustSong
56ddbb842a
fix: return pre-consumed quota when error happened for audio ( close #1217 )
2024-03-24 22:20:41 +08:00
Ian Li
ade19ba4a2
feat: update default API version for Azure OpenAI ( #994 )
...
* feat: Update default API version for Azure OpenAI.
* chore: update other theme
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2024-03-17 19:34:21 +08:00
Ian Li
4d86d021c4
feat: support Azure OpenAI TTS. ( #1177 )
2024-03-17 19:30:50 +08:00
JustSong
79d0cd378a
fix: fix baidu system prompt ( close #1079 )
2024-03-13 22:56:54 +08:00
JustSong
e99150bdb9
fix: make quota int64
2024-03-13 20:00:51 +08:00
JustSong
a72e5fcc9e
fix: when cached quota is too low, force refresh it
2024-03-13 19:38:44 +08:00
JustSong
8388aa537f
chore: able to search channel now
2024-03-10 14:59:57 +08:00
JustSong
9d8967f7d3
feat: support Mistral's models now ( close #1051 )
2024-03-03 21:46:45 +08:00
JustSong
de18d6fe16
refactor: refactor image relay ( close #1068 )
2024-03-03 19:30:11 +08:00
JustSong
614c2e0442
feat: support baichuan's models now ( close #1057 )
2024-03-02 00:55:48 +08:00
JustSong
bd888f2eb7
fix: fix prompt token is zero ( close #1023 )
2024-02-21 22:19:42 +08:00
JustSong
28d512a675
refactor: delete useless code
2024-02-18 02:23:31 +08:00
JustSong
de9a58ca0b
refactor: use config field to save config
2024-02-18 02:22:50 +08:00
JustSong
1aa374ccfb
refactor: use adaptor to do relay & test
2024-02-18 00:15:31 +08:00
Laisky.Cai
d548a01c59
feat: Handle errors, validate model names, and calculate quota usage ( #978 )
...
- Improved error handling in various modules for better stability and responsiveness.
- Optimized code in several files for improved efficiency and readability.
- Enhanced user experience by providing more detailed error responses in the controller.
- Strengthened security by ignoring sensitive files in `.gitignore`.
2024-02-12 21:35:40 +08:00
JustSong
2cd1a78203
chore: update module name
2024-01-28 19:38:58 +08:00
JustSong
b9d3cb0c45
refactor: split RelayTextHelper function
2024-01-28 19:14:46 +08:00
JustSong
2d760d4a01
refactor: refactor relay part ( #957 )
...
* refactor: refactor relay part
* refactor: refactor config part
2024-01-21 23:21:42 +08:00
JustSong
eed9f5fdf0
refactor: refactor relay part ( #935 )
2024-01-14 19:21:03 +08:00