MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / shouldRenderAsSimpleText

Function shouldRenderAsSimpleText

cli/src/utils/constants.ts:105–109  ·  view source on GitHub ↗
(agentType: string)

Source from the content-addressed store, hash-verified

103 * Check if an agent should render as simple text instead of a full agent box
104 */
105export 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)
112export const MULTI_PROMPT_EDITOR_IDS = ['editor-multi-prompt'] as const

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected