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

Function toAutoClassifierInput

src/tools/REPLTool/javascriptReplFactory.tsx:403–405  ·  view source on GitHub ↗
(input)

Source from the content-addressed store, hash-verified

401 return false
402 },
403 toAutoClassifierInput(input) {
404 return input.code
405 },
406 async checkPermissions(input, context): Promise<PermissionResult> {
407 const mode = context.getAppState().toolPermissionContext.mode
408 if (mode === 'acceptEdits') {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected