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