()
| 274 | isChatHistoryInitialized |
| 275 | ) { |
| 276 | const processPrompts = async () => { |
| 277 | const { processAndCombinePrompts } = await import( |
| 278 | "../../util/promptProcessor.js" |
| 279 | ); |
| 280 | const finalMessage = await processAndCombinePrompts( |
| 281 | additionalPrompts, |
| 282 | initialPrompt, |
| 283 | ); |
| 284 | |
| 285 | if (finalMessage) { |
| 286 | await handleUserMessage(finalMessage); |
| 287 | } |
| 288 | }; |
| 289 | |
| 290 | processPrompts().catch(console.error); |
| 291 | } |
no test coverage detected