python3Packages.llama-index-{agent,program,question-gen}-openai: remove

These packages were removed in upstream llama-index due to breaking changes:
- Agent classes including FunctionCallingAgent, ReActAgent, AgentRunner deprecated
- QueryPipeline class and associated code removed
- Agent-based chat engines removed in favor of workflow-based agents

Users should migrate to new workflow agents: FunctionAgent, CodeActAgent,
ReActAgent, and AgentWorkflow.
This commit is contained in:
Luna Nova
2025-08-24 20:03:57 -07:00
parent f8612d451f
commit 0954b52dc7
5 changed files with 0 additions and 138 deletions
@@ -1,41 +0,0 @@
{
lib,
buildPythonPackage,
fetchPypi,
hatchling,
llama-index-core,
llama-index-llms-openai,
pythonOlder,
}:
buildPythonPackage rec {
pname = "llama-index-agent-openai";
version = "0.4.12";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "llama_index_agent_openai";
inherit version;
hash = "sha256-0v5T/rac/kV1LttzKL8NJfapBxs8BWeH5mG5Plt0iig=";
};
pythonRelaxDeps = [ "llama-index-llms-openai" ];
build-system = [ hatchling ];
dependencies = [
llama-index-core
llama-index-llms-openai
];
pythonImportsCheck = [ "llama_index.agent.openai" ];
meta = with lib; {
description = "LlamaIndex Agent Integration for OpenAI";
homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/agent/llama-index-agent-openai";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}
@@ -1,40 +0,0 @@
{
lib,
buildPythonPackage,
fetchPypi,
hatchling,
llama-index-agent-openai,
llama-index-core,
llama-index-llms-openai,
}:
buildPythonPackage rec {
pname = "llama-index-program-openai";
version = "0.3.2";
pyproject = true;
src = fetchPypi {
pname = "llama_index_program_openai";
inherit version;
hash = "sha256-BMlZouYWSJiUvS7uu5lQDW8cF9WIw9oN3HXr0+t0Ue4=";
};
pythonRelaxDeps = [ "llama-index-agent-openai" ];
build-system = [ hatchling ];
dependencies = [
llama-index-agent-openai
llama-index-core
llama-index-llms-openai
];
pythonImportsCheck = [ "llama_index.program.openai" ];
meta = with lib; {
description = "LlamaIndex Program Integration for OpenAI";
homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/program/llama-index-program-openai";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}
@@ -1,41 +0,0 @@
{
lib,
buildPythonPackage,
fetchPypi,
hatchling,
llama-index-core,
llama-index-llms-openai,
llama-index-program-openai,
}:
buildPythonPackage rec {
pname = "llama-index-question-gen-openai";
version = "0.3.1";
pyproject = true;
src = fetchPypi {
pname = "llama_index_question_gen_openai";
inherit version;
hash = "sha256-XpMRtDPMJYH/ilMfoZ+zqiGBW6/3WqrN7xF2CslSKqk=";
};
build-system = [ hatchling ];
dependencies = [
llama-index-core
llama-index-llms-openai
llama-index-program-openai
];
# Tests are only available in the mono repo
doCheck = false;
pythonImportsCheck = [ "llama_index.question_gen.openai" ];
meta = with lib; {
description = "LlamaIndex Question Gen Integration for Openai Generator";
homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/question_gen/llama-index-question-gen-openai";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}
@@ -1,7 +1,6 @@
{
buildPythonPackage,
hatchling,
llama-index-agent-openai,
llama-index-cli,
llama-index-core,
llama-index-embeddings-openai,
@@ -9,8 +8,6 @@
llama-index-legacy,
llama-index-llms-openai,
llama-index-multi-modal-llms-openai,
llama-index-program-openai,
llama-index-question-gen-openai,
llama-index-readers-file,
llama-index-readers-llama-parse,
}:
@@ -30,7 +27,6 @@ buildPythonPackage {
];
dependencies = [
llama-index-agent-openai
llama-index-cli
llama-index-core
llama-index-embeddings-openai
@@ -38,8 +34,6 @@ buildPythonPackage {
llama-index-legacy
llama-index-llms-openai
llama-index-multi-modal-llms-openai
llama-index-program-openai
llama-index-question-gen-openai
llama-index-readers-file
llama-index-readers-llama-parse
];
-10
View File
@@ -8442,8 +8442,6 @@ self: super: with self; {
llama-index = callPackage ../development/python-modules/llama-index { };
llama-index-agent-openai = callPackage ../development/python-modules/llama-index-agent-openai { };
llama-index-cli = callPackage ../development/python-modules/llama-index-cli { };
llama-index-core = callPackage ../development/python-modules/llama-index-core { };
@@ -8502,14 +8500,6 @@ self: super: with self; {
callPackage ../development/python-modules/llama-index-multi-modal-llms-openai
{ };
llama-index-program-openai =
callPackage ../development/python-modules/llama-index-program-openai
{ };
llama-index-question-gen-openai =
callPackage ../development/python-modules/llama-index-question-gen-openai
{ };
llama-index-readers-database =
callPackage ../development/python-modules/llama-index-readers-database
{ };