From efaf1ec10509aaa9d44c4f2f376da8fd86e9385d Mon Sep 17 00:00:00 2001 From: Cascade Bot Date: Mon, 16 Mar 2026 15:08:00 +0000 Subject: [PATCH] =?UTF-8?q?feat(ui):=20reorder=20engine/model/iterations?= =?UTF-8?q?=20fields=20=E2=80=94=20engine=20first=20across=20all=203=20loc?= =?UTF-8?q?ations?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../projects/project-agent-configs.tsx | 86 ++++++++--------- .../projects/project-harness-form.tsx | 96 +++++++++---------- .../settings/agent-config-form-dialog.tsx | 54 +++++------ 3 files changed, 115 insertions(+), 121 deletions(-) diff --git a/web/src/components/projects/project-agent-configs.tsx b/web/src/components/projects/project-agent-configs.tsx index e02a9b4e..ae61877a 100644 --- a/web/src/components/projects/project-agent-configs.tsx +++ b/web/src/components/projects/project-agent-configs.tsx @@ -316,19 +316,45 @@ function DefinitionAgentSection({ {/* Engine Tab */} +
+ + +
+
+ + +
+ {effectiveEngine && ( + + )}
-
- - -
-
-
-
- - -
- {effectiveEngine && ( - - )}
{/* Prompts Tab */} @@ -552,9 +548,9 @@ function AgentRow({ {displayModel || displayEngine ? ( - {displayModel && {displayModel}} - {displayModel && displayEngine && · } {displayEngine && {displayEngine}} + {displayEngine && displayModel && · } + {displayModel && {displayModel}} {hasCustomEngineSettings && ( Custom settings @@ -636,7 +632,7 @@ function AgentListView({ Agent Status - Model / Engine + Engine / Model Active Triggers diff --git a/web/src/components/projects/project-harness-form.tsx b/web/src/components/projects/project-harness-form.tsx index 5a41d05c..bba36e43 100644 --- a/web/src/components/projects/project-harness-form.tsx +++ b/web/src/components/projects/project-harness-form.tsx @@ -187,62 +187,60 @@ export function ProjectHarnessForm({ project }: { project: Project }) { Determines which AI SDK processes agent runs.

+
+
+ + + + + + + Individual agents can override this in the Agents tab. + + +
+ +

+ Project default model. Per-agent overrides in the Agents tab. +

+
setEngineSettings(next ?? {})} engineDefaults={engineDefaults} /> -
-
-
- - - - - - - Individual agents can override this in the Agents tab. - - -
- -

- Project default model. Per-agent overrides in the Agents tab. -

-
-
-
- - - - - - - Individual agents can override this in the Agents tab. - - -
- setMaxIterations(e.target.value)} - placeholder={defaults ? `${defaults.maxIterations} (default)` : 'e.g. 50'} - /> -

- Safety limit on tool-call iterations per run. -

+
+
+ + + + + + + Individual agents can override this in the Agents tab. + +
+ setMaxIterations(e.target.value)} + placeholder={defaults ? `${defaults.maxIterations} (default)` : 'e.g. 50'} + /> +

+ Safety limit on tool-call iterations per run. +

diff --git a/web/src/components/settings/agent-config-form-dialog.tsx b/web/src/components/settings/agent-config-form-dialog.tsx index 654daab8..e25d1aef 100644 --- a/web/src/components/settings/agent-config-form-dialog.tsx +++ b/web/src/components/settings/agent-config-form-dialog.tsx @@ -114,33 +114,6 @@ export function AgentConfigFormDialog({ open, onOpenChange, config }: AgentConfi required />
-
-
- - -
-
- - setMaxIterations(e.target.value)} - placeholder="Optional" - /> -
-
-
- - setMaxConcurrency(e.target.value)} - placeholder="Optional — limits concurrent runs per project" - /> -
+
+ + +
{effectiveEngine && ( )} +
+
+ + setMaxIterations(e.target.value)} + placeholder="Optional" + /> +
+
+ + setMaxConcurrency(e.target.value)} + placeholder="Optional — limits concurrent runs per project" + /> +
+