Skip to content

Commit 445c9c1

Browse files
committed
Dont collapse info and super
1 parent eb099eb commit 445c9c1

File tree

2 files changed

+4
-4
lines changed
  • apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/copilot/components

2 files changed

+4
-4
lines changed

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/copilot/components/tool-call/tool-call.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1162,10 +1162,10 @@ function SubAgentThinkingContent({
11621162

11631163
/**
11641164
* Subagents that should collapse when done streaming.
1165-
* Default behavior is to NOT collapse (stay expanded like edit).
1166-
* Only these specific subagents collapse into "Planned for Xs >" style headers.
1165+
* Default behavior is to NOT collapse (stay expanded like edit, superagent, info, etc.).
1166+
* Only plan, debug, and research collapse into summary headers.
11671167
*/
1168-
const COLLAPSIBLE_SUBAGENTS = new Set(['plan', 'debug', 'research', 'info', 'superagent'])
1168+
const COLLAPSIBLE_SUBAGENTS = new Set(['plan', 'debug', 'research'])
11691169

11701170
/**
11711171
* SubagentContentRenderer handles the rendering of subagent content.

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/copilot/components/user-input/user-input.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ const UserInput = forwardRef<UserInputRef, UserInputProps>(
509509
if (e.key === 'Enter' && !e.shiftKey && !e.nativeEvent.isComposing) {
510510
e.preventDefault()
511511
if (showSlashMenu) {
512-
const TOP_LEVEL_COMMANDS = ['plan', 'debug', 'fast', 'superagent', 'deploy', 'research']
512+
const TOP_LEVEL_COMMANDS = ['fast', 'plan', 'debug', 'research', 'deploy', 'superagent']
513513
const WEB_COMMANDS = ['search', 'read', 'scrape', 'crawl']
514514
const ALL_COMMANDS = [...TOP_LEVEL_COMMANDS, ...WEB_COMMANDS]
515515

0 commit comments

Comments
 (0)