Dannon Baker deb7ecd706 Make agent retry budget configurable via inference_services
ChatGXY's router was hard-failing with 'Exceeded maximum output retries (1)':
its pydantic-ai Agent used the default retry budget of 1, and the router's
process() only caught (OSError, ValueError), so an UnexpectedModelBehavior sailed
past the graceful _handle_fallback and surfaced to the user as a generic 500.

This adds a per-agent 'retries' knob to inference_services, resolved through the
same _get_agent_config chain as temperature/max_tokens and wired into every
agent's Agent(retries=...). The default goes from pydantic-ai's 1 to 3 so a
transient bout of non-conforming model output recovers instead of failing the
run. custom_tool's producer keeps its retries=0 reflection-loop default but can
now be overridden. The router also catches UnexpectedModelBehavior so a genuinely
exhausted budget degrades to the existing fallback message instead of a 500.

Adds unit tests for the resolution chain, the config->Agent wiring, and the
router's graceful fallback (forced via an empty ModelResponse).
2026-06-12 12:59:27 -04:00
…
…
2026-06-11 10:23:27 +02:00
2026-05-20 15:29:45 +02:00
…
…
2026-05-06 05:31:43 +01:00
2026-06-11 10:23:27 +02:00
…

.. figure:: https://galaxyproject.org/images/galaxy-logos/galaxy_project_logo.jpg
   :alt: Galaxy Logo

The latest information about Galaxy can be found on the `Galaxy Community Hub <https://galaxyproject.org/>`__.

Community support is available at `Galaxy Help <https://help.galaxyproject.org/>`__.

.. image:: https://img.shields.io/badge/chat-gitter-blue.svg
    :target: https://gitter.im/galaxyproject/Lobby
    :alt: Chat on gitter

.. image:: https://img.shields.io/badge/chat-irc.freenode.net%23galaxyproject-blue.svg
    :target: https://webchat.freenode.net/?channels=galaxyproject
    :alt: Chat on irc

.. image:: https://img.shields.io/badge/release-documentation-blue.svg
    :target: https://docs.galaxyproject.org/en/master/
    :alt: Release Documentation

.. image:: https://travis-ci.org/galaxyproject/galaxy.svg?branch=dev
    :target: https://travis-ci.org/galaxyproject/galaxy
    :alt: Inspect the test results

Galaxy Quickstart
=================

Galaxy requires Python 3.10 or higher. To check your Python version, run:

.. code:: console

    $ python -V
    Python 3.10.12

Start Galaxy:

.. code:: console

    $ sh run.sh

Once Galaxy completes startup, you should be able to view Galaxy in your
browser at: http://localhost:8080

For more installation details please see: https://getgalaxy.org/

Documentation is available at: https://docs.galaxyproject.org/

Tutorials on how to use Galaxy, perform scientific analyses with it, develop Galaxy and its tools, and admin a Galaxy server are at: https://training.galaxyproject.org/

Tools
=====

Tools can be either installed from the Tool Shed or added manually.
For details please see the `tutorial <https://galaxyproject.org/admin/tools/add-tool-from-toolshed-tutorial/>`__.
Note that not all dependencies for the tools provided in the
``tool_conf.xml.sample`` are included. To install them please visit
"Manage dependencies" in the admin interface.

Issues and Galaxy Development
=============================

Please see `CONTRIBUTING.md <CONTRIBUTING.md>`_ .
Languages
Python 64.2%
TypeScript 14.6%
Vue 12.4%
JavaScript 3.7%
Jupyter Notebook 2.4%
Other 2.5%