({ query, conversationText, apiKey, model, onProgress, onModelText, signal })
| 105 | onToolCall |
| 106 | }); |
| 107 | } |
| 108 | |
| 109 | export 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 |
nothing calls this directly
no test coverage detected