@copilotz/chat-adapter 0.9.41 → 0.9.42
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/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1627,7 +1627,7 @@ var isTerminalEmptyLlmResultEvent = (event) => {
|
|
|
1627
1627
|
if (hasValues(payload.toolCalls)) return false;
|
|
1628
1628
|
const metadata = isRecord2(event.metadata) ? event.metadata : {};
|
|
1629
1629
|
const routing = isRecord2(metadata.routing) ? metadata.routing : {};
|
|
1630
|
-
if (
|
|
1630
|
+
if ((routing.action === "ask" || routing.action === "handoff") && typeof routing.targetId === "string" && routing.targetId.trim().length > 0) return false;
|
|
1631
1631
|
if (hasValues(metadata.targetQueue)) return false;
|
|
1632
1632
|
return true;
|
|
1633
1633
|
};
|