MCPcopy Index your code
hub / github.com/CopilotKit/OpenTag / isStatus

Function isStatus

e2e/run.ts:216–219  ·  view source on GitHub ↗
(t: string)

Source from the content-addressed store, hash-verified

214 // those out and use first vs last as "the interrupted reply" and
215 // "the new reply".
216 const isStatus = (t: string) =>
217 t.startsWith(":warning:") ||
218 t.startsWith(":wrench:") ||
219 t.startsWith(":white_check_mark:");
220 const meaningful = botReplies.filter((m) => !isStatus(m.text ?? ""));
221 const firstReply = meaningful[0]?.text;
222 const secondReply = meaningful[meaningful.length - 1]?.text;

Callers 1

runCaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected