blob: e3b86a463838f6b19e0e1ca3f6f051b264741e98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
llm,
llm-venice,
}:
buildPythonPackage rec {
pname = "llm-venice";
version = "0.8.2";
pyproject = true;
src = fetchFromGitHub {
owner = "ar-jan";
repo = "llm-venice";
tag = version;
hash = "sha256-CwvFthuahWPmenI4jrhGmscJd1sJCXkkvU+hYYYekx0=";
};
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 ];
};
}
|