mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-11-03 21:34:30 +08:00
Two follow-ups on the configurable-retries change. A shared `default` block `retries` was silently overriding custom_tool's producer-0, which would re-enable pydantic-ai's generic retry loop inside the producer's own reflection loop. The producer's 0 is a correctness requirement, not a tunable, so it now honors only an explicit `custom_tool.retries` and ignores the default block. Separately, a non-numeric or blank `retries` value used to blow up with a bare TypeError/ValueError at agent construction -- which the manager mistook for an unknown-agent fallback and double-faulted on -- so it now raises a clear ConfigurationError.