feat(FN-2280): improve agent heartbeat interval selection and validation
- Expand heartbeat interval presets to enforce a 5-minute minimum and include extended 48h/72h/1w options - Add custom heartbeat entry in AgentsView with typed minute input, save/cancel actions, and validation/clamp behavior - Show the Custom option only when the current interval is a preset, while preserving explicit custom interval labels when needed - Update dashboard tests and heartbeat utility tests to cover new preset boundaries, custom option behavior, and health staleness expectations - Document the 5-minute minimum heartbeat clamp behavior in agents documentation
This commit is contained in:
@@ -133,7 +133,7 @@ The `runtimeConfig` field on agents supports the following options:
|
||||
| `modelId` | `string` | — | AI model ID override for heartbeat session |
|
||||
| `budgetConfig` | `AgentBudgetConfig` | — | Token budget governance settings |
|
||||
|
||||
Heartbeat values are validated and minimum-clamped.
|
||||
Heartbeat values are validated and minimum-clamped to 5 minutes (300,000 ms).
|
||||
Project setting `heartbeatMultiplier` (default `1`) scales resolved heartbeat intervals globally; per-agent `heartbeatIntervalMs` remains the base interval before multiplier scaling.
|
||||
|
||||
## Agent Instructions (Dashboard)
|
||||
|
||||
Reference in New Issue
Block a user