MCPcopy Create free account
hub / github.com/ShipSecAI/studio / markCompletion

Function markCompletion

frontend/src/components/timeline/AgentTracePanel.tsx:942–946  ·  view source on GitHub ↗
(step: AgentDerivedStep)

Source from the content-addressed store, hash-verified

940 const findFallbackSnapshot = () => snapshots.find((candidate) => !candidate.hasReasoning);
941
942 const markCompletion = (step: AgentDerivedStep) => {
943 step.isComplete = Boolean(
944 step.finishedAt || (step.finishReason && step.finishReason !== 'tool-calls'),
945 );
946 };
947
948 parts.forEach((entry) => {
949 const chunk = entry.chunk as any;

Callers 1

deriveAgentStepsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected