Skip to content

Commit 2f4e78d

Browse files
authored
chore(agent): update default layout config (#1311)
1 parent 8343182 commit 2f4e78d

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

multimodal/agent-tars/core/src/agent-tars.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ export class AgentTARS<T extends AgentTARSOptions = AgentTARSOptions> extends MC
6868
enableScreenshotRenderStrategySwitch: true,
6969
renderGUIAction: true,
7070
},
71+
layout: {
72+
defaultLayout: 'narrow-chat',
73+
enableLayoutSwitchButton: true,
74+
},
7175
};
7276
private workspace: string;
7377
// FIXME: remove it since options is strict type already

multimodal/omni-tars/omni-agent/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export default class OmniTARSAgent extends ComposableAgent {
6363
},
6464
layout: {
6565
defaultLayout: 'narrow-chat',
66-
enableLayoutSwitchButton: true,
66+
enableLayoutSwitchButton: false,
6767
},
6868
};
6969

0 commit comments

Comments
 (0)