wingbot 3.71.0 → 3.71.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/Processor.js +3 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wingbot",
3
- "version": "3.71.0",
3
+ "version": "3.71.1",
4
4
  "description": "Enterprise Messaging Bot Conversation Engine",
5
5
  "main": "index.js",
6
6
  "type": "commonjs",
package/src/Processor.js CHANGED
@@ -407,6 +407,9 @@ class Processor extends EventEmitter {
407
407
 
408
408
  const llm = new LLM({
409
409
  provider: new LLMMockProvider(),
410
+ ...(typeof messageSender.logPrompt === 'function'
411
+ ? { logger: messageSender }
412
+ : {}),
410
413
  ...this.options.llm
411
414
  });
412
415