mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-05 23:41:49 +00:00
add "list" to step expansion modes
When you select LIST mode:
applyModeSteps("list", showUtils) is called
- Groups expand because: mode !== "collapsed" → "list" !== "collapsed" ✓
- Steps stay collapsed because: mode === "expanded" → "list" === "expanded" ✗
- During streaming, steps don't auto-expand because the condition checks for detailMode === "current", which is false.
This is why we only need one line for this new modality to work.
This commit is contained in:
parent
9ef6b2294c
commit
042f2d1393
1 changed files with 1 additions and 0 deletions
|
|
@ -73,6 +73,7 @@ const model = {
|
|||
// Detail mode options for UI sidebar
|
||||
detailModeOptions: [
|
||||
{ label: "NONE", value: "collapsed", title: "All collapsed" },
|
||||
{ label: "LIST", value: "list", title: "Steps collapsed" },
|
||||
{ label: "STEP", value: "current", title: "Current step only" },
|
||||
{ label: "ALL", value: "expanded", title: "All expanded" },
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue