mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-09 04:40:45 +08:00
Increase default tool rounds to 100 with 300 cap.
Raise Admin/UI defaults and backend clamps for AIA_TURN_MAX_TOOL_ROUNDS across gateway, worker, and direct loop paths. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
89b295293d
commit
8233db93db
9 changed files with 18 additions and 18 deletions
|
|
@ -4381,7 +4381,7 @@ async function renderPlugins() {
|
|||
tool_loop_state_machine: true,
|
||||
tool_signature_budget: 2,
|
||||
turn_max_tool_workers: 8,
|
||||
turn_max_tool_rounds: 30,
|
||||
turn_max_tool_rounds: 100,
|
||||
turn_max_context_messages: 80,
|
||||
turn_runner_impl: "oclaw",
|
||||
manager_decision_mode: "",
|
||||
|
|
@ -4635,8 +4635,8 @@ async function renderPlugins() {
|
|||
class: "input",
|
||||
type: "number",
|
||||
min: "1",
|
||||
max: "100",
|
||||
value: String(Number(toolPolicy.turn_max_tool_rounds || 30)),
|
||||
max: "300",
|
||||
value: String(Number(toolPolicy.turn_max_tool_rounds || 100)),
|
||||
style: "max-width:120px",
|
||||
});
|
||||
const turnMaxCtxInput = el("input", {
|
||||
|
|
@ -4728,7 +4728,7 @@ async function renderPlugins() {
|
|||
onclick: async () => {
|
||||
const r = await apiPost("/admin/api/tool-policy", {
|
||||
turn_max_tool_workers: Number(turnMaxWorkersInput.value || 8),
|
||||
turn_max_tool_rounds: Number(turnMaxRoundsInput.value || 30),
|
||||
turn_max_tool_rounds: Number(turnMaxRoundsInput.value || 100),
|
||||
turn_max_context_messages: Number(turnMaxCtxInput.value || 80),
|
||||
// manager_decision_mode is legacy-only; no longer submitted.
|
||||
sse_queue_maxsize: Number(sseQueueMaxsizeInput.value || 2000),
|
||||
|
|
@ -6069,7 +6069,7 @@ async function renderPlugins() {
|
|||
turnMaxWorkersInput,
|
||||
]),
|
||||
el("div", { class: "row" }, [
|
||||
el("label", { text: "Turn max tool rounds (1-100)" }),
|
||||
el("label", { text: "Turn max tool rounds (1-300)" }),
|
||||
turnMaxRoundsInput,
|
||||
]),
|
||||
el("div", { class: "row" }, [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue