MCPcopy Create free account
hub / github.com/codeaashu/claude-code / buildClassifierUnavailableMessage

Function buildClassifierUnavailableMessage

src/utils/messages.ts:288–298  ·  view source on GitHub ↗
(
  toolName: string,
  classifierModel: string,
)

Source from the content-addressed store, hash-verified

286 * Tells the agent to wait and retry, and suggests working on other tasks.
287 */
288export function buildClassifierUnavailableMessage(
289 toolName: string,
290 classifierModel: string,
291): string {
292 return (
293 `${classifierModel} is temporarily unavailable, so auto mode cannot determine the safety of ${toolName} right now. ` +
294 `Wait briefly and then try this action again. ` +
295 `If it keeps failing, continue with other tasks that don't require this action and come back to it later. ` +
296 `Note: reading files, searching code, and other read-only operations do not require the classifier and can still be used.`
297 )
298}
299
300export const SYNTHETIC_MODEL = '<synthetic>'
301

Callers 1

hasPermissionsToUseToolFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected