python3Packages.openllm-client: fix optional-dependencies attribute

Without the change `python3Packages.openllm-client.optional-dependencies.full`
always fails to evaluate as:

    $ nix build --no-link -f. python3Packages.openllm-client.optional-dependencies.full
    error:
       error: attribute 'agents' missing
           49|       soundfile
           50|     ] ++ transformers.agents;
             |          ^
           51|     full = passthru.optional-dependencies.grpc ++ passthru.optional-dependencies.agents;

As `transformers` never exposed `agents` let's just drop the reference.
This commit is contained in:
Sergei Trofimovich 2023-12-30 19:29:02 +00:00
parent 01962add7e
commit 7a851d2593

View File

@ -47,7 +47,7 @@ buildPythonPackage rec {
transformers
# diffusers
soundfile
] ++ transformers.agents;
];
full = passthru.optional-dependencies.grpc ++ passthru.optional-dependencies.agents;
};