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 +1 -1
- package/src/LLMDispatcher.js +3 -1
package/package.json
CHANGED
package/src/LLMDispatcher.js
CHANGED
|
@@ -183,7 +183,9 @@ class LLMDispatcher {
|
|
|
183
183
|
|
|
184
184
|
let aiRes;
|
|
185
185
|
let llmRes;
|
|
186
|
-
|
|
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
|
|