(agentType: string)
| 103 | * Check if an agent should render as simple text instead of a full agent box |
| 104 | */ |
| 105 | export const shouldRenderAsSimpleText = (agentType: string): boolean => { |
| 106 | return SIMPLE_TEXT_AGENT_IDS.some((simpleTextId) => |
| 107 | agentType.includes(simpleTextId), |
| 108 | ) |
| 109 | } |
| 110 | |
| 111 | // Agent IDs that show progress-focused previews (multi-prompt editors) |
| 112 | export const MULTI_PROMPT_EDITOR_IDS = ['editor-multi-prompt'] as const |
no outgoing calls
no test coverage detected