Commit graph

436 commits

Author SHA1 Message Date
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
usamimeri_renko
c220da280d pre-commit 2024-05-20 15:16:40 +08:00
usamimeri_renko
48189e98d8 add huoshan_ark 2024-05-20 15:12:49 +08:00
geekan
e03db313a2 tuning code 2024-05-18 15:23:21 +08:00
Wei-Jianan
e7c7b44a0b [format] 2024-05-17 18:44:05 +08:00
Wei-Jianan
3338c304b5 [fix] max token problem in llama2 2024-05-17 10:34:10 +00:00
Wei-Jianan
1911e27219 [fix] serval bugs in bedrock LLM 2024-05-17 10:21:16 +00:00
Wei-Jianan
cda6451b59 Merge remote-tracking branch 'origin/main' into fix/cstream_not_work 2024-05-17 13:46:45 +08:00
Wei-Jianan
f31d2a198e [fix] use config.stream inside BaseLLM other than global 2024-05-17 11:42:57 +08:00
usamimeri_renko
0916399313
Merge branch 'geekan:main' into main 2024-05-16 20:51:52 +08:00
Guess
9ff1e2f6c9
Merge pull request #1264 from jainkunal/main
fix aask() got an unexpected keyword argument 'images'
2024-05-16 12:25:40 +08:00
garylin2099
00e1c93275
Merge pull request #1253 from aa875982361/fix/none-usage
fix: failure when usage is none
2024-05-14 15:47:50 +08:00
usamimeri_renko
82b4be51bd fix schema bug 2024-05-13 15:00:22 +08:00
Kunal Jain
d4bd668983 fix ask() got an unexpected keyword argument 'images' 2024-05-11 19:03:55 +05:30
Wei-Jianan
8f209bfeb5 [fix] stream field in llmconfig not work 2024-05-09 21:11:59 +08:00
huangpeilin
a473c74c90 feat: 优化判断逻辑 2024-05-09 11:36:07 +08:00
huangpeilin
8695629fce fix: 修复usage 值为none 的情况 2024-05-08 19:22:10 +08:00
usamimeri_renko
f7b29edaf7 change log for non-streaming model 2024-04-29 17:35:58 +08:00
usamimeri_renko
0006b62901 resolve problem and add cost manager 2024-04-29 17:29:41 +08:00
usamimeri_renko
f14a1f63ef add pre-commit 2024-04-29 15:04:33 +08:00
usamimeri_renko
3f108abd06 rename bedrock class and add more tests 2024-04-29 10:46:50 +08:00
usamimeri_renko
cb8e14dca8 add token counts 2024-04-28 19:30:09 +08:00
usamimeri_renko
79251cd3cd resolve problems 2024-04-28 19:18:12 +08:00
usamimeri_renko
98cb452911 remove opus since unavailable now and fix bug 2024-04-27 13:09:04 +08:00
usamimeri_renko
a05d25757c fix claude streaming bug 2024-04-27 12:18:35 +08:00
usamimeri_renko
6776e5cc18
Update amazon_bedrock_api.py
fix naming
2024-04-26 23:12:19 +08:00
usamimeri_renko
b0ed292fa7 update test 2024-04-26 17:30:03 +08:00
usamimeri_renko
83c8ccb6b9 update 2024-04-26 17:15:24 +08:00
usamimeri_renko
8fafa2eb4e stream test 2024-04-26 17:03:06 +08:00
usamimeri_renko
4c394a1cac add test 2024-04-26 16:08:39 +08:00
usamimeri_renko
cafe666bfd lazy installation 2024-04-26 02:02:38 +08:00
usamimeri_renko
6561c7aa7e add docs 2024-04-26 01:29:43 +08:00
usamimeri_renko
e9723f4955 add claude chat template 2024-04-26 01:16:54 +08:00
usamimeri_renko
0cdca1b642 fix llama3 chat template bug 2024-04-26 01:05:04 +08:00
usamimeri_renko
784c6265ee update max tokens and support max_tokens field 2024-04-25 23:41:21 +08:00
usamimeri_renko
6452adf82a update provider package 2024-04-25 21:47:57 +08:00
usamimeri_renko
aded1dc2ed add some type hint 2024-04-25 21:23:25 +08:00
usamimeri_renko
f45a379183 add titan 2024-04-25 21:16:22 +08:00
usamimeri_renko
a6058ca629 change provider to private 2024-04-25 20:58:50 +08:00