MCPcopy Index your code
hub / github.com/enowdev/enowX-Coder / statusLabel

Function statusLabel

src/components/chat/ToolExecutionBlock.tsx:11–16  ·  view source on GitHub ↗
(status: ToolCall['status'])

Source from the content-addressed store, hash-verified

9}
10
11const statusLabel = (status: ToolCall['status']) => {
12 if (status === 'failed') return 'failed';
13 if (status === 'completed') return 'done';
14 if (status === 'running') return 'running';
15 return 'queued';
16};
17
18export const ToolExecutionBlock: React.FC<ToolExecutionBlockProps> = ({
19 tool,

Callers 1

ToolExecutionBlockFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected