Open KenMacD opened 2 months ago
If attempting to override the package using the services.private-gpt.package option the original package is still used in the service preStart:
services.private-gpt.package
cp ${pkgs.python3Packages.private-gpt}/${pkgs.python3.sitePackages}/private_gpt/settings.yaml ${cfg.stateDir}/settings/settings.yaml
It looks like the fix for this will need a passthru.python that could be accessed to get the correct directory (unless there's a better way).
passthru.python
Add a :+1: reaction to issues you find important.
Should be able to get to it via .pythonModule already edit: thought you meant the original python module
.pythonModule
Describe the bug
If attempting to override the package using the
services.private-gpt.package
option the original package is still used in the service preStart:It looks like the fix for this will need a
passthru.python
that could be accessed to get the correct directory (unless there's a better way).Add a :+1: reaction to issues you find important.