MCPcopy Create free account
hub / github.com/FIND-Lab/AgentWard / formatMessageSendingWarning

Function formatMessageSendingWarning

core/warnings.ts:91–95  ·  view source on GitHub ↗
(error: Warning | Warning[], suspend_demo: string | null = null)

Source from the content-addressed store, hash-verified

89}
90
91export function formatMessageSendingWarning(error: Warning | Warning[], suspend_demo: string | null = null): string {
92 if (suspend_demo)
93 return `${formatBasic(error, "🛡️AgentWard Warning:")}\n${suspend_demo}`;
94 return formatBasic(error, "🛡️AgentWard Warning:");
95}

Callers 1

registerFunction · 0.90

Calls 1

formatBasicFunction · 0.85

Tested by

no test coverage detected