llmasaservice-ui 0.7.18 → 0.7.19

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 CHANGED
@@ -237,6 +237,7 @@ var ChatPanel = ({
237
237
  }
238
238
  }, [idle]);
239
239
  (0, import_react3.useEffect)(() => {
240
+ console.log("initialHistory", initialHistory);
240
241
  setHistory(initialHistory);
241
242
  }, [initialHistory]);
242
243
  (0, import_react3.useEffect)(() => {
package/dist/index.mjs CHANGED
@@ -203,6 +203,7 @@ var ChatPanel = ({
203
203
  }
204
204
  }, [idle]);
205
205
  useEffect(() => {
206
+ console.log("initialHistory", initialHistory);
206
207
  setHistory(initialHistory);
207
208
  }, [initialHistory]);
208
209
  useEffect(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "llmasaservice-ui",
3
- "version": "0.7.18",
3
+ "version": "0.7.19",
4
4
  "description": "Prebuilt UI components for LLMAsAService.io",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
package/src/ChatPanel.tsx CHANGED
@@ -157,6 +157,7 @@ const ChatPanel: React.FC<ChatPanelProps & ExtraProps> = ({
157
157
  }, [idle]);
158
158
 
159
159
  useEffect(() => {
160
+ console.log("initialHistory", initialHistory);
160
161
  //if (Object.keys(initialHistory).length > 0) {
161
162
  setHistory(initialHistory);
162
163
  //}