• agent: enforce the configured call budgets instead of hardcoded 100/50

    vptyp released this 2026-09-15 14:39:24 +03:00 | 3 commits to master since this release

    The bridge counted tool and model calls against fixed 100 and 50 caps, so
    CONFLUENCE_WEB_MAX_CONFLUENCE_CALLS / CONFLUENCE_WEB_MAX_MODEL_CALLS above the
    defaults were cut short inside the container, and the model cap failed the run
    outright. The backend now passes both values into the container at start, the
    supervisor forwards them to the bridge, and LIMITS reads them with the same
    1-1000 validation as the backend, falling back to 100/50 when absent or
    invalid. Add a test that loads LIMITS in fresh processes with good and bad
    values for both budgets and the deadline.

    Downloads