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.

Luna Nova 0954b52d f8612d45

-138
-41
pkgs/development/python-modules/llama-index-agent-openai/default.nix
··· 1 - { 2 - lib, 3 - buildPythonPackage, 4 - fetchPypi, 5 - hatchling, 6 - llama-index-core, 7 - llama-index-llms-openai, 8 - pythonOlder, 9 - }: 10 - 11 - buildPythonPackage rec { 12 - pname = "llama-index-agent-openai"; 13 - version = "0.4.12"; 14 - pyproject = true; 15 - 16 - disabled = pythonOlder "3.8"; 17 - 18 - src = fetchPypi { 19 - pname = "llama_index_agent_openai"; 20 - inherit version; 21 - hash = "sha256-0v5T/rac/kV1LttzKL8NJfapBxs8BWeH5mG5Plt0iig="; 22 - }; 23 - 24 - pythonRelaxDeps = [ "llama-index-llms-openai" ]; 25 - 26 - build-system = [ hatchling ]; 27 - 28 - dependencies = [ 29 - llama-index-core 30 - llama-index-llms-openai 31 - ]; 32 - 33 - pythonImportsCheck = [ "llama_index.agent.openai" ]; 34 - 35 - meta = with lib; { 36 - description = "LlamaIndex Agent Integration for OpenAI"; 37 - homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/agent/llama-index-agent-openai"; 38 - license = licenses.mit; 39 - maintainers = with maintainers; [ fab ]; 40 - }; 41 - }
-40
pkgs/development/python-modules/llama-index-program-openai/default.nix
··· 1 - { 2 - lib, 3 - buildPythonPackage, 4 - fetchPypi, 5 - hatchling, 6 - llama-index-agent-openai, 7 - llama-index-core, 8 - llama-index-llms-openai, 9 - }: 10 - 11 - buildPythonPackage rec { 12 - pname = "llama-index-program-openai"; 13 - version = "0.3.2"; 14 - pyproject = true; 15 - 16 - src = fetchPypi { 17 - pname = "llama_index_program_openai"; 18 - inherit version; 19 - hash = "sha256-BMlZouYWSJiUvS7uu5lQDW8cF9WIw9oN3HXr0+t0Ue4="; 20 - }; 21 - 22 - pythonRelaxDeps = [ "llama-index-agent-openai" ]; 23 - 24 - build-system = [ hatchling ]; 25 - 26 - dependencies = [ 27 - llama-index-agent-openai 28 - llama-index-core 29 - llama-index-llms-openai 30 - ]; 31 - 32 - pythonImportsCheck = [ "llama_index.program.openai" ]; 33 - 34 - meta = with lib; { 35 - description = "LlamaIndex Program Integration for OpenAI"; 36 - homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/program/llama-index-program-openai"; 37 - license = licenses.mit; 38 - maintainers = with maintainers; [ fab ]; 39 - }; 40 - }
-41
pkgs/development/python-modules/llama-index-question-gen-openai/default.nix
··· 1 - { 2 - lib, 3 - buildPythonPackage, 4 - fetchPypi, 5 - hatchling, 6 - llama-index-core, 7 - llama-index-llms-openai, 8 - llama-index-program-openai, 9 - }: 10 - 11 - buildPythonPackage rec { 12 - pname = "llama-index-question-gen-openai"; 13 - version = "0.3.1"; 14 - pyproject = true; 15 - 16 - src = fetchPypi { 17 - pname = "llama_index_question_gen_openai"; 18 - inherit version; 19 - hash = "sha256-XpMRtDPMJYH/ilMfoZ+zqiGBW6/3WqrN7xF2CslSKqk="; 20 - }; 21 - 22 - build-system = [ hatchling ]; 23 - 24 - dependencies = [ 25 - llama-index-core 26 - llama-index-llms-openai 27 - llama-index-program-openai 28 - ]; 29 - 30 - # Tests are only available in the mono repo 31 - doCheck = false; 32 - 33 - pythonImportsCheck = [ "llama_index.question_gen.openai" ]; 34 - 35 - meta = with lib; { 36 - description = "LlamaIndex Question Gen Integration for Openai Generator"; 37 - homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/question_gen/llama-index-question-gen-openai"; 38 - license = licenses.mit; 39 - maintainers = with maintainers; [ fab ]; 40 - }; 41 - }
-6
pkgs/development/python-modules/llama-index/default.nix
··· 1 1 { 2 2 buildPythonPackage, 3 3 hatchling, 4 - llama-index-agent-openai, 5 4 llama-index-cli, 6 5 llama-index-core, 7 6 llama-index-embeddings-openai, ··· 9 8 llama-index-legacy, 10 9 llama-index-llms-openai, 11 10 llama-index-multi-modal-llms-openai, 12 - llama-index-program-openai, 13 - llama-index-question-gen-openai, 14 11 llama-index-readers-file, 15 12 llama-index-readers-llama-parse, 16 13 }: ··· 30 27 ]; 31 28 32 29 dependencies = [ 33 - llama-index-agent-openai 34 30 llama-index-cli 35 31 llama-index-core 36 32 llama-index-embeddings-openai ··· 38 34 llama-index-legacy 39 35 llama-index-llms-openai 40 36 llama-index-multi-modal-llms-openai 41 - llama-index-program-openai 42 - llama-index-question-gen-openai 43 37 llama-index-readers-file 44 38 llama-index-readers-llama-parse 45 39 ];
-10
pkgs/top-level/python-packages.nix
··· 8442 8442 8443 8443 llama-index = callPackage ../development/python-modules/llama-index { }; 8444 8444 8445 - llama-index-agent-openai = callPackage ../development/python-modules/llama-index-agent-openai { }; 8446 - 8447 8445 llama-index-cli = callPackage ../development/python-modules/llama-index-cli { }; 8448 8446 8449 8447 llama-index-core = callPackage ../development/python-modules/llama-index-core { }; ··· 8500 8498 8501 8499 llama-index-multi-modal-llms-openai = 8502 8500 callPackage ../development/python-modules/llama-index-multi-modal-llms-openai 8503 - { }; 8504 - 8505 - llama-index-program-openai = 8506 - callPackage ../development/python-modules/llama-index-program-openai 8507 - { }; 8508 - 8509 - llama-index-question-gen-openai = 8510 - callPackage ../development/python-modules/llama-index-question-gen-openai 8511 8501 { }; 8512 8502 8513 8503 llama-index-readers-database =