Commit graph

474 commits

Author SHA1 Message Date
TorgemanTarak
f439c6717b
sorry i forgot the pre commit hooks 2024-12-17 16:35:06 +01:00
TorgemanTarak
d360800cbf
pass the reigion name to the boto3.session.client to use region gated models on bedrock 2024-12-16 15:04:49 +01:00
莘权 马
f1565e2cca fixbug: #1565 zhipuai model exception 2024-11-04 17:11:34 +08:00
zhaoweiguo
0c0cfe017f
Update openai_api.py
不用对openrouter.ai单独处理
2024-10-31 14:05:05 +08:00
EvensXia
2bca5c9d06 fix embedding output 2024-10-30 09:55:13 +08:00
EvensXia
062b13fc6c fix embed 2024-10-30 09:50:21 +08:00
EvensXia
f2aa4e3f9d tested for embeddings/embed 2024-10-30 09:47:10 +08:00
EvensXia
187e512547 fixup ollama_api chat prompt 2024-10-29 23:09:38 +08:00
EvensXia
685d301a66 f 2024-10-29 16:38:20 +08:00
EvensXia
c48d16d475 fix embedding 2024-10-29 16:37:23 +08:00
EvensXia
7d3d15a324 format 2024-10-29 16:19:41 +08:00
EvensXia
322974a917 fix for test 2024-10-29 16:10:56 +08:00
EvensXia
a5f33e2d51 update ollama 2024-10-29 14:51:37 +08:00
EvensXia
fdb834674d update ollama 2024-10-29 11:56:11 +08:00
EvensXia
3fefc48efa fix ollama to add llava support 2024-10-28 17:55:50 +08:00
voidking
ac4eb309c3 删除codecov 2024-10-20 15:01:37 +08:00
Alexander Wu
8f34c746a7
Merge pull request #1450 from JGalego/feat/bedrock-update
feat(bedrock): Temporary AWS credentials via env vars + supported models update
2024-10-20 13:58:03 +08:00
better629
e094e2a615
update openai_api.py 2024-10-18 17:57:34 +08:00
João Galego
47be4f50d1 Commented out legacy Llama 2, smaller Llama 3 and Mistral 7B Instruct models 2024-10-14 14:25:05 +01:00
João Galego
4b1a616af2 Added inf param refs; Added Llama 3.2 model IDs; Removed titan-tg1-large; 2024-10-14 14:09:51 +01:00
voidking
5afa7f045a chore: 代码格式化 2024-10-11 17:47:12 +08:00
Alexander Wu
cb8fcb9323
Merge pull request #1465 from MorpheusI0/feature/support_for_open_webui
feat: add optional authorization header for Ollama to support Open WebUI
2024-10-11 17:18:30 +08:00
Alexander Wu
be5100ab2d
Merge pull request #1460 from iorisa/fixbug/qianfan_timeout
fixbug: qianfan timeout
2024-10-11 13:34:53 +08:00
better629
c023a235a4 fix dashscope high version problem 2024-10-10 22:07:34 +08:00
better629
325e45247e support o1-series 2024-09-29 15:15:29 +08:00
better629
50cdecf627 simplify code 2024-09-29 14:47:25 +08:00
better629
f7dd8c965e update close-source latest model usage 2024-09-29 14:38:11 +08:00
Maximilian Knoll
fa7e3ae24e
add authorization header to support open webui 2024-08-27 13:27:47 +02:00
莘权 马
5bec4bbaa0 fixbug: qianfan timeout 2024-08-21 14:07:10 +08:00
JGalego
61141e97b9 Added support for Command R/R+ 2024-08-17 03:57:38 +01:00
JGalego
4d59dd69cc Added Mistral Small 2024-08-17 03:20:39 +01:00
JGalego
ddb5409118 Fixed max tokens; Corrected typo 2024-08-17 03:10:06 +01:00
JGalego
58a5720f01 Added streaming support for Jamba-Instruct 2024-08-17 01:56:15 +01:00
JGalego
d65e5556dd Refactored Ai21Provider to add support for Jamba-Instruct 2024-08-17 01:38:17 +01:00
JGalego
9f9e405e86 Updated bedrock supported models 2024-08-17 00:55:20 +01:00
JGalego
adecdf1764 Refactored BedrockLLM client to accept temp creds via env vars 2024-08-17 00:53:26 +01:00
莘权 马
09d07393fb feat: merge geekan:main 2024-08-06 16:59:33 +08:00
莘权 马
67842cf60d feat: +provider ark. #1429 2024-08-05 20:04:50 +08:00
shenchucheng
6edf7001d6 Support configuration of QianFan API base_url to fix #1392 2024-07-15 21:27:59 +08:00
Wei-Jianan
df0d6de5fd [upd] support claude-3.5-connet 2024-06-21 02:35:59 +00:00
Wei-Jianan
bcf1fcebc0 [fix] Type hint 2024-06-13 05:08:44 +00:00
Wei-Jianan
f77e685bd1 [feat] support async in bedrockLLM by loop.run_in_executor 2024-06-13 05:04:47 +00:00
Alexander Wu
a705a515fb
Merge pull request #1288 from usamimeri/huoshan
Feat: Add Ark support (For Doubao)
2024-05-29 16:21:51 +08:00
Alexander Wu
519be03d4a
Merge pull request #1291 from usamimeri/update_spark
Feat: support async spark api
2024-05-29 16:20:29 +08:00
xun
db26e36d37 处理usage为类的情况 2024-05-23 21:08:45 +08:00
usamimeri_renko
7d33755749 add tests 2024-05-22 23:13:38 +08:00
usamimeri_renko
f304fb3871 add type hint 2024-05-22 22:43:10 +08:00
usamimeri_renko
bb8ea2eaf9 implement streaming 2024-05-22 22:05:15 +08:00
usamimeri_renko
1b13a28a77 implement spark chat 2024-05-22 21:10:55 +08:00
usamimeri_renko
ff37dc1193 add tests 2024-05-22 11:11:12 +08:00