Skip to content

fix: log model download URL and destination - #1564

Open
RSKKSOFFICIAL wants to merge 1 commit into
nextcloud:mainfrom
RSKKSOFFICIAL:fix/1403-log-model-download-info
Open

fix: log model download URL and destination#1564
RSKKSOFFICIAL wants to merge 1 commit into
nextcloud:mainfrom
RSKKSOFFICIAL:fix/1403-log-model-download-info

Conversation

@RSKKSOFFICIAL

Copy link
Copy Markdown

Summary

Fixes #1403.

The recognize:download-models command previously did not show the model download URL and destination path.

This change adds optional logging to DownloadModelsService::download() and wires it to the console command output.

The command now reports:

  • The existing models directory being removed
  • The model archive download URL
  • The archive destination path
  • The model extraction path

This makes it possible to identify the exact URL and paths when the Nextcloud instance does not have direct Internet access.

Testing

Tested locally with:

docker compose exec --user www-data nextcloud php occ recognize:download-models

Signed-off-by: RSKKSOFFICIAL <rsksofficial02@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Print model downloads URLs and destination

2 participants