Diff: https://github.com/ar-jan/llm-venice/compare/refs/tags/0.6.0...refs/tags/0.7.0 Changelog: https://github.com/ar-jan/llm-venice/releases/tag/0.7.0/CHANGELOG.md
44 lines
893 B
Nix
44 lines
893 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
llm,
|
|
llm-venice,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "llm-venice";
|
|
version = "0.7.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ar-jan";
|
|
repo = "llm-venice";
|
|
tag = version;
|
|
hash = "sha256-vsb3oXGr+2FDJnTwYomICfald1ptben28hAJ8ypKiBI=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
llm
|
|
];
|
|
|
|
dependencies = [ ];
|
|
|
|
# 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 ];
|
|
};
|
|
}
|