aider-chat: fix build with litellm 1.80.0

This commit is contained in:
Robert Schütz
2025-11-27 00:21:16 -08:00
parent 70391f471a
commit 8cfaa27f02
+8
View File
@@ -3,6 +3,7 @@
stdenv,
python312Packages,
fetchFromGitHub,
fetchpatch,
replaceVars,
gitMinimal,
portaudio,
@@ -151,6 +152,13 @@ let
(replaceVars ./fix-flake8-invoke.patch {
flake8 = lib.getExe python3Packages.flake8;
})
# https://github.com/Aider-AI/aider/pull/4671
(fetchpatch {
name = "add-new-exceptions-to-LiteLLMExceptions.patch";
url = "https://github.com/Aider-AI/aider/commit/7201abc56539ae8ee2bf4ea0926f584c9ec5558c.patch";
hash = "sha256-bjL9nbEQGGNkFczm1hDOMP3b48eRJk17zcivXjOdVnw=";
})
];
disabledTestPaths = [