mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-03 06:00:34 +00:00
Introduce validate_tool_request() extensible method in agent.py to validate tool request structure (dict with tool_name string and tool_args dict fields) before processing. Add after_plugin_change() helper in helpers/plugins.py that clears cache and sends a frontend reload notification (throttled to display_time interval) with a reload button. Update plugin installer install/delete flows to call after_plugin_change(). Extend notification
32 lines
934 B
HTML
32 lines
934 B
HTML
<html>
|
|
<head>
|
|
<title>Error retry</title>
|
|
</head>
|
|
|
|
<body>
|
|
<div x-data>
|
|
<template x-if="config">
|
|
<div>
|
|
<div class="section-title">Error retry</div>
|
|
<div class="section-description">
|
|
Settings for retrying failed operations.
|
|
</div>
|
|
|
|
<div class="field">
|
|
<div class="field-label">
|
|
<div class="field-title">Retries</div>
|
|
<div class="field-description">
|
|
Number of retries after an error occurs.
|
|
</div>
|
|
</div>
|
|
<div class="field-control">
|
|
<input type="number" min="0"
|
|
x-model.number="config.retries" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</div>
|
|
</body>
|
|
|
|
</html>
|