MCPcopy Create free account
hub / github.com/openai/plugins / isFailureEvent

Function isFailureEvent

plugins/plugin-eval/src/core/benchmark-events.js:151–154  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

149}
150
151function isFailureEvent(event) {
152 const type = typeof event?.type === "string" ? event.type : "";
153 return type.includes("failed") || type === "error" || Boolean(event?.error);
154}
155
156export function parseCodexJsonStream(text) {
157 const lines = String(text || "").split(/\r?\n/);

Callers 1

summarizeCodexEventsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected