Skip to content

Commit 3220d02

Browse files
committed
fix(app): restore v2 agent selector
1 parent f6d050d commit 3220d02

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/app/src/components/prompt-input-v2.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ export function usePromptInputV2Controller(props: PromptInputV2ControllerProps):
475475
view: {
476476
placeholder: designPlaceholder,
477477
agent:
478-
props.controls.agents.visible && props.controls.agents.options.length > 0
478+
props.controls.agents.options.length > 0
479479
? {
480480
options: () => props.controls.agents.options.map((name) => ({ id: name, label: name })),
481481
current: () => props.controls.agents.current,

0 commit comments

Comments
 (0)