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

Function makeContext

src/utils/handlePromptSubmit.ts:426–428  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

424 setAbortController(abortController)
425
426 function makeContext(): ProcessUserInputContext {
427 return getToolUseContext(messages, [], abortController, mainLoopModel)
428 }
429
430 // Wrap in try-finally so the guard is released even if processUserInput
431 // throws or onQuery is skipped. onQuery's finally calls queryGuard.end(),

Callers 1

executeUserInputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected