llmasaservice-ui 0.14.2 → 0.14.3
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.mjs +1 -1
- package/package.json +1 -1
- package/src/AgentPanel.tsx +1 -1
package/dist/index.js
CHANGED
|
@@ -2913,7 +2913,7 @@ var AgentPanel = ({
|
|
|
2913
2913
|
ChatPanel_default,
|
|
2914
2914
|
__spreadProps(__spreadValues({
|
|
2915
2915
|
project_id: agentData == null ? void 0 : agentData.projectId,
|
|
2916
|
-
service: (agentData == null ? void 0 : agentData.groupId) || null,
|
|
2916
|
+
service: service && service !== "" ? service : (agentData == null ? void 0 : agentData.groupId) || null,
|
|
2917
2917
|
url,
|
|
2918
2918
|
title: (_a = agentData == null ? void 0 : agentData.displayTitle) != null ? _a : "",
|
|
2919
2919
|
theme: theme ? theme : (agentData == null ? void 0 : agentData.displayTheme) === "light" ? "light" : "dark",
|
package/dist/index.mjs
CHANGED
|
@@ -2885,7 +2885,7 @@ var AgentPanel = ({
|
|
|
2885
2885
|
ChatPanel_default,
|
|
2886
2886
|
__spreadProps(__spreadValues({
|
|
2887
2887
|
project_id: agentData == null ? void 0 : agentData.projectId,
|
|
2888
|
-
service: (agentData == null ? void 0 : agentData.groupId) || null,
|
|
2888
|
+
service: service && service !== "" ? service : (agentData == null ? void 0 : agentData.groupId) || null,
|
|
2889
2889
|
url,
|
|
2890
2890
|
title: (_a = agentData == null ? void 0 : agentData.displayTitle) != null ? _a : "",
|
|
2891
2891
|
theme: theme ? theme : (agentData == null ? void 0 : agentData.displayTheme) === "light" ? "light" : "dark",
|
package/package.json
CHANGED
package/src/AgentPanel.tsx
CHANGED
|
@@ -223,7 +223,7 @@ const AgentPanel: React.FC<AgentPanelProps & ExtraProps> = ({
|
|
|
223
223
|
{agentData && (
|
|
224
224
|
<ChatPanel
|
|
225
225
|
project_id={agentData?.projectId}
|
|
226
|
-
service={agentData?.groupId || null}
|
|
226
|
+
service={service && service !== "" ? service : (agentData?.groupId || null)}
|
|
227
227
|
url={url}
|
|
228
228
|
title={agentData?.displayTitle ?? ""}
|
|
229
229
|
theme={
|