wingbot 3.76.10 → 3.76.11

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wingbot",
3
- "version": "3.76.10",
3
+ "version": "3.76.11",
4
4
  "description": "Enterprise Messaging Bot Conversation Engine",
5
5
  "main": "index.js",
6
6
  "type": "commonjs",
@@ -183,7 +183,9 @@ class LLMDispatcher {
183
183
 
184
184
  let aiRes;
185
185
  let llmRes;
186
- if ((!res || bounceAllow) && routing?.router) {
186
+
187
+ // lets skip llm routing when user uploads an attachment
188
+ if ((!res || bounceAllow) && routing?.router && !this._req.isAttachment()) {
187
189
  aiRes = await routing.router.resolve(this._llm, this._req, routing);
188
190
  }
189
191