Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
import * as color from 'src/ui/colors';
export const formatTitle = (errorsCount: number): string[] => {
if (errorsCount === 1) {
return [''];
}
const libName = color.bold(`${color.underline(color.redBright('effect-errors'))}`);
const title = color.bold(
color.cyanBright(`${errorsCount} error${errorsCount > 1 ? 's' : ''} occurred`)
);
return ['', `❌ ${libName} ❌ ${title}`, '', ''];
};