mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 21:32:23 +03:00
python311Packages.litellm: 0.11.1 -> 1.7.11
This commit is contained in:
parent
5f69f0ed2e
commit
9e71df9f5e
@ -6,9 +6,16 @@
|
||||
, openai
|
||||
, python-dotenv
|
||||
, tiktoken
|
||||
, tokenizers
|
||||
, click
|
||||
, jinja2
|
||||
, certifi
|
||||
, appdirs
|
||||
, aiohttp
|
||||
, httpx
|
||||
}:
|
||||
let
|
||||
version = "0.11.1";
|
||||
version = "1.7.11";
|
||||
in
|
||||
buildPythonPackage rec {
|
||||
pname = "litellm";
|
||||
@ -19,7 +26,7 @@ buildPythonPackage rec {
|
||||
owner = "BerriAI";
|
||||
repo = "litellm";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-5Zk1lc7G0dU/AoLE5V+p30wE/gRfYRPsVS3sNgwWzCU=";
|
||||
hash = "sha256-B2LGaA6A+pU2aDzPS2d5stY+Z8Wxq3BkXB1CLY6vBiY=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@ -31,10 +38,16 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
importlib-metadata
|
||||
openai
|
||||
python-dotenv
|
||||
tiktoken
|
||||
importlib-metadata
|
||||
tokenizers
|
||||
click
|
||||
jinja2
|
||||
certifi
|
||||
appdirs
|
||||
aiohttp
|
||||
];
|
||||
|
||||
# the import check phase fails trying to do a network request to openai
|
||||
|
Loading…
Reference in New Issue
Block a user