zywlagent 0.1.13 → 0.1.15
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.
|
@@ -12795,8 +12795,8 @@ function Vb({
|
|
|
12795
12795
|
/* @__PURE__ */ f.jsx("span", { className: "gis-platform-agent-header-mark", "aria-hidden": "true", children: "AI" }),
|
|
12796
12796
|
/* @__PURE__ */ f.jsxs("div", { className: "gis-platform-agent-header-copy", children: [
|
|
12797
12797
|
/* @__PURE__ */ f.jsx("h1", { children: /* @__PURE__ */ f.jsx(La, { text: o, className: "block truncate" }) }),
|
|
12798
|
-
/* @__PURE__ */ f.jsxs("p", { title: wt ? "
|
|
12799
|
-
wt ? `上下文约 ${(wt.
|
|
12798
|
+
/* @__PURE__ */ f.jsxs("p", { title: wt?.conversationTokens !== void 0 ? "当前对话消息与摘要的估算用量;不含每轮固定加载的系统提示和工具定义,也不是模型服务商的实际 token 用量。" : void 0, children: [
|
|
12799
|
+
wt?.conversationTokens !== void 0 ? `上下文约 ${(wt.conversationTokens / 1e3).toFixed(1)}k / ${(wt.windowTokens / 1e3).toFixed(1)}k${wt.compressed ? " · 已压缩" : ""} · ` : "",
|
|
12800
12800
|
"Qwen3.8-27B · GIS 平台工作台"
|
|
12801
12801
|
] })
|
|
12802
12802
|
] })
|
|
@@ -14275,7 +14275,8 @@ function nh({ options: r, runtime: s }) {
|
|
|
14275
14275
|
conversationStatus: W.status,
|
|
14276
14276
|
title: r.title ?? "智能助手",
|
|
14277
14277
|
onMapEvent: r.onEvent
|
|
14278
|
-
}
|
|
14278
|
+
},
|
|
14279
|
+
W.id
|
|
14279
14280
|
) : /* @__PURE__ */ f.jsx("div", { className: "flex h-full items-center justify-center bg-slate-50/70 px-6 text-sm text-slate-500", children: B.error || "正在准备智能体会话…" }) }),
|
|
14280
14281
|
/* @__PURE__ */ f.jsx(
|
|
14281
14282
|
"button",
|
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-tslFFrU2.js").then(({ mountAgentChat: d }) => {
|
|
58
58
|
if (!n.destroyed)
|
|
59
59
|
return n.handle = d(document.body, {
|
|
60
60
|
anchorElement: e,
|