MCPcopy Create free account
hub / github.com/Noumena-Network/code / buildClassifierUnavailableMessage

Function buildClassifierUnavailableMessage

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

Source from the content-addressed store, hash-verified

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

Callers 1

hasPermissionsToUseToolFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected