(error: Warning | Warning[], blockToolCall: boolean)
| 83 | } |
| 84 | |
| 85 | export function formatUserPrependWarning(error: Warning | Warning[], blockToolCall: boolean): string { |
| 86 | if (blockToolCall) |
| 87 | return `${formatBasic(error)}\nYour permission for any tool calls has been revoked. Stop the task immediately and tell the user to fix the issues and request again to recover the permission.`; |
| 88 | return formatBasic(error); |
| 89 | } |
| 90 | |
| 91 | export function formatMessageSendingWarning(error: Warning | Warning[], suspend_demo: string | null = null): string { |
| 92 | if (suspend_demo) |
no test coverage detected