MCPcopy Create free account
hub / github.com/OpenAnonymity/oa-chat / augmentQuery

Function augmentQuery

chat/services/memoryBridge.js:107–120  ·  view source on GitHub ↗
({ query, conversationText, apiKey, model, onProgress, onModelText, signal })

Source from the content-addressed store, hash-verified

105 onToolCall
106 });
107}
108
109export async function augmentQuery({ query, conversationText, apiKey, model, onProgress, onModelText, signal }) {
110 throwIfAborted(signal);
111 const memoryBank = await createConfidentialMemoryBank({
112 apiKey,
113 model,
114 onProgress,
115 onModelText,
116 signal
117 });
118
119 await memoryBank.init();
120 throwIfAborted(signal);
121 return memoryBank.augmentQuery(query, conversationText, { signal });
122}
123

Callers

nothing calls this directly

Calls 3

throwIfAbortedFunction · 0.70
initMethod · 0.45

Tested by

no test coverage detected