Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
41 lines
883 B
Nix
41 lines
883 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
llm,
|
|
llm-venice,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "llm-venice";
|
|
version = "0.8.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ar-jan";
|
|
repo = "llm-venice";
|
|
tag = version;
|
|
hash = "sha256-jvZWMEJAWlX2y2Mivi8Kib5tbMtf+CXYP6fmLvNmD9k=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ llm ];
|
|
|
|
# Reaches out to the real API
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "llm_venice" ];
|
|
|
|
passthru.tests = llm.mkPluginTest llm-venice;
|
|
|
|
meta = {
|
|
description = "LLM plugin to access models available via the Venice API";
|
|
homepage = "https://github.com/ar-jan/llm-venice";
|
|
changelog = "https://github.com/ar-jan/llm-venice/releases/tag/${version}/CHANGELOG.md";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ philiptaron ];
|
|
};
|
|
}
|