Something went wrong. Try again.
lol
Something went wrong. Try again.
942 B · 46 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ lib, buildPythonPackage, fetchFromGitHub, setuptools, llm, llm-echo, pytest-asyncio, pytestCheckHook, writableTmpDirAsHomeHook,}:
buildPythonPackage rec { pname = "llm-echo"; version = "0.4"; pyproject = true;
src = fetchFromGitHub { owner = "simonw"; repo = "llm-echo"; tag = version; hash = "sha256-E0C/SZ+0t1iPWulr/xaQQPzRR7Qg7nF/X5/HX8QxkMw="; };
build-system = [ setuptools ];
dependencies = [ llm ];
nativeCheckInputs = [ pytest-asyncio pytestCheckHook writableTmpDirAsHomeHook ];
pythonImportsCheck = [ "llm_echo" ];
passthru.tests = llm.mkPluginTest llm-echo;
meta = { description = "Debug plugin for LLM"; homepage = "https://github.com/simonw/llm-echo"; changelog = "https://github.com/simonw/llm-echo/releases/tag/${version}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ philiptaron ]; };}