add inlined mistralai to avoid opentelemetry conflict

This commit is contained in:
2026-05-28 01:10:38 +02:00
parent e26984fd03
commit 21da64300d

View File

@@ -117,6 +117,11 @@ let
propagatedBuildInputs = with python3Packages; [ langchain-core ];
meta = with lib; { description = "LangChain text splitters"; homepage = "https://github.com/langchain-ai/langchain"; license = licenses.mit; };
};
mistralai = fetchWheel {
pname = "mistralai"; version = "2.4.7"; hash = lib.fakeHash;
propagatedBuildInputs = with python3Packages; [ httpx pydantic python-dateutil ];
meta = with lib; { description = "Mistral AI API client"; homepage = "https://github.com/mistralai/client-python"; license = licenses.asl20; };
};
in
python3Packages.buildPythonApplication rec {