MCPcopy Index your code
hub / github.com/continuedev/continue / showCurrentOutput

Function showCurrentOutput

extensions/cli/src/tools/runTerminalCommand.ts:288–300  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

286 };
287
288 const showCurrentOutput = () => {
289 if (!context?.toolCallId) return;
290 try {
291 const currentOutput = stdout + (stderr ? `\nStderr: ${stderr}` : "");
292 services.chatHistory.addToolResult(
293 context.toolCallId,
294 currentOutput,
295 "calling",
296 );
297 } catch {
298 // Ignore errors during streaming updates
299 }
300 };
301
302 // Start the initial timeout
303 resetTimeout();

Callers 2

onStdoutFunction · 0.85
onStderrFunction · 0.85

Calls 1

addToolResultMethod · 0.80

Tested by

no test coverage detected