mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-11-25 08:39:30 +08:00
Importing any galaxy.agents submodule runs the package __init__, which imports every agent class and with them pydantic-ai. The app and the celery tasks only need the lightweight modules, so move those next to their users: - galaxy.agents.iwc -> galaxy.workflow.iwc (next to iwc_manifest) - galaxy.agents.gtn -> galaxy.gtn (`python -m galaxy.gtn --refresh`) - galaxy.agents.registry + galaxy.agents.factory -> galaxy.managers.agent_registry No behaviour change yet: the registry still imports galaxy.agents.base.