JustSong
8f4d78e24d
chore: reorganize billing related package
2024-04-06 01:26:48 +08:00
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
JustSong
0cb224e62e
chore: fix typo
2024-04-05 23:55:25 +08:00
JustSong
eec41849ec
chore: fix ali image implementation
2024-04-05 18:25:57 +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
manjieqi
b50b43eb65
feat: update baidu model name & ratio ( #1277 )
2024-04-05 17:30:48 +08:00
JustSong
5b41f57423
feat: support stepfun's models
2024-04-05 12:32:05 +08:00
JustSong
0bb7db0b44
fix: do not detect quota field in error message ( close #1276 )
2024-04-05 12:11:50 +08:00
JustSong
76569bb0b6
chore: disable channel when error message contain credit or balance
2024-04-05 00:31:41 +08:00
JustSong
1994256bac
chore: disable channel when error message contain quota
2024-04-05 00:18:26 +08:00
JustSong
1f80b0a39f
chore: add omitempty for xunfei functions
2024-04-05 00:13:37 +08:00
manjieqi
f73f2e51df
feat: update baidu model name & ratio ( #1253 )
...
* 修正百度模型名称
* 更新百度模型名称,并保留旧版兼容以及修正单价
* chore: add more model and adjust order
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2024-04-05 00:02:15 +08:00
Yang Fei
6f036bd0c9
feat: add embedding-2 support for zhipu ( #1273 )
...
* 增加对智谱embedding-2模型的支持
* fix: fix usage & ratio
---------
Co-authored-by: yangfei <yangfei@xuyao.info>
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2024-04-04 23:32:59 +08:00
JustSong
065da8ef8c
fix: fix ali function call ( #1242 )
2024-04-04 00:46:30 +08:00
JustSong
e3cfb1fa52
feat: use given usage if available in stream mode
2024-03-31 23:41:52 +08:00
JustSong
f89ae5ad58
feat: initial function call support for xunfei
2024-03-31 23:12:29 +08:00
JustSong
06a3fc5421
chore: update GeneralOpenAIRequest
2024-03-31 22:23:42 +08:00
JustSong
3f3c13c98c
feat: support top_k for claude ( close #1239 )
2024-03-30 10:47:07 +08:00
JustSong
2ba28c72cb
feat: support function call for ali ( close #1242 )
2024-03-30 10:43:26 +08:00
JustSong
f76c46d648
feat: add gemini-1.5-pro ( #1211 )
2024-03-24 22:50:09 +08:00
JustSong
56ddbb842a
fix: return pre-consumed quota when error happened for audio ( close #1217 )
2024-03-24 22:20:41 +08:00
JustSong
99f81a267c
fix: fix xunfei error handling ( close #1218 )
2024-03-24 22:14:45 +08:00
xietong
c243cd5535
feat: 支持 ollama 的 embedding 接口 ( #1221 )
...
* 增加ollama的embedding接口
* chore: fix function name
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2024-03-24 21:51:31 +08:00
GuangxiaoLong
e96b173abe
feat: 移除 azure model 的 TrimSuffix ( #1193 )
2024-03-24 21:47:46 +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
1185303346
chore: update comments
2024-03-17 14:10:35 +08:00
majian
205aba694f
chore: limit the temperature and top_p parameter value range to (0.0, 1) for zhipu ( #1091 )
2024-03-16 13:39:30 +08:00
Jguobao
66efabd5ae
fix: fix baidu url check ( #1143 )
...
添加百度的另外3个向量模型【"bge-large-zh",
"bge-large-en",
"tao-8k",
】
2024-03-14 23:31:07 +08:00
JustSong
b169173860
fix: force set Accept header for ali stream request ( close #1151 )
2024-03-14 23:20:38 +08:00
JustSong
e3767cbb07
fix: fix haiku model name ( close #1149 )
2024-03-14 23:13:05 +08:00
JustSong
be9eb59fbb
feat: support lingyiwanwu
2024-03-14 23:11:36 +08:00
JustSong
2dcef85285
feat: support ollama now ( close #870 )
2024-03-14 01:02:47 +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
49cad7d4a5
feat: update func ShouldDisableChannel for claude
2024-03-13 19:11:30 +08:00
sparanoid
a45fc7d736
fix: model name typo ( #1109 )
2024-03-11 00:44:49 +08:00
JustSong
1ea598c773
feat: check claude's error response
2024-03-10 20:39:55 +08:00
JustSong
8388aa537f
chore: able to search channel now
2024-03-10 14:59:57 +08:00
JustSong
2346bf70af
fix: check response type when expect stream response
2024-03-10 14:59:40 +08:00
JustSong
f05b403ca5
feat: use real system prompt now ( close #1079 )
2024-03-10 14:32:30 +08:00
JustSong
b33616df44
feat: support groq now ( close #1087 )
2024-03-10 14:09:44 +08:00
JustSong
bf2e26a48f
feat: support claude-3 ( close #1080 , close #1094 )
2024-03-09 01:12:47 +08:00
momomobinx
4fb22ad4ce
feat: support third part models of baidu ( #1046 )
...
百度千帆平台上的第三方大模型调用
2024-03-03 23:50:28 +08:00
JustSong
c6ace985c2
fix: set missing ali parameters ( close #1028 )
2024-03-03 22:51:01 +08:00
JustSong
9d8967f7d3
feat: support Mistral's models now ( close #1051 )
2024-03-03 21:46:45 +08:00