zywlagent 0.1.16 → 0.1.17
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.
|
@@ -12133,7 +12133,7 @@ function Fb({
|
|
|
12133
12133
|
)
|
|
12134
12134
|
), O;
|
|
12135
12135
|
}), w = r.message.trim(), M = r.toolResults.some(
|
|
12136
|
-
(T) => xm(T) === w || cn(T.output) && T.output.kind === "chat" && T.output.message === w
|
|
12136
|
+
(T) => xm(T) === w || typeof T.error == "string" && w === `工具 ${T.toolName} 调用失败:${T.error.trim()}` || cn(T.output) && T.output.kind === "chat" && T.output.message === w
|
|
12137
12137
|
);
|
|
12138
12138
|
return !g && w && !M && f.unshift(
|
|
12139
12139
|
/* @__PURE__ */ o.jsx(
|
package/dist/gis-agent.js
CHANGED
|
@@ -54,7 +54,7 @@ function A({
|
|
|
54
54
|
n.handle.toggle();
|
|
55
55
|
return;
|
|
56
56
|
}
|
|
57
|
-
n.loading || (n.loading = import("./chunks/index-
|
|
57
|
+
n.loading || (n.loading = import("./chunks/index-CZpm7Y_i.js").then(({ mountAgentChat: d }) => {
|
|
58
58
|
if (!n.destroyed)
|
|
59
59
|
return n.handle = d(document.body, {
|
|
60
60
|
anchorElement: e,
|