MCPcopy Create free account
hub / github.com/Noumena-Network/code / renderToolUseProgressMessage

Function renderToolUseProgressMessage

src/tools/REPLTool/pyReplFactory.tsx:618–634  ·  view source on GitHub ↗
(progressMessages)

Source from the content-addressed store, hash-verified

616 return preview(compact, 120)
617 },
618 renderToolUseProgressMessage(progressMessages) {
619 const latest = [...progressMessages]
620 .reverse()
621 .find(
622 (
623 message,
624 ): message is ProgressMessage<ReplToolCallProgress> =>
625 message.data.type === 'repl_tool_call',
626 )
627 return (
628 <MessageResponse height={1}>
629 <Text dimColor>
630 {latest ? renderProgressHint(latest.data) : 'Running Python REPL script...'}
631 </Text>
632 </MessageResponse>
633 )
634 },
635 renderToolUseErrorMessage(content) {
636 return (
637 <MessageResponse height={1}>

Callers

nothing calls this directly

Calls 1

renderProgressHintFunction · 0.70

Tested by

no test coverage detected