diff --git a/samples/chatbot-easy-rag/pom.xml b/samples/chatbot-easy-rag/pom.xml index 20ebeeba3..058f3094d 100644 --- a/samples/chatbot-easy-rag/pom.xml +++ b/samples/chatbot-easy-rag/pom.xml @@ -68,7 +68,7 @@ org.mvnpm wc-chatbot - 0.1.2 + 0.2.0 runtime diff --git a/samples/chatbot-easy-rag/src/main/resources/META-INF/resources/components/demo-chat.js b/samples/chatbot-easy-rag/src/main/resources/META-INF/resources/components/demo-chat.js index b8f6819b1..24b086fa1 100644 --- a/samples/chatbot-easy-rag/src/main/resources/META-INF/resources/components/demo-chat.js +++ b/samples/chatbot-easy-rag/src/main/resources/META-INF/resources/components/demo-chat.js @@ -7,6 +7,7 @@ export class DemoChat extends LitElement { const socket = new WebSocket("ws://" + window.location.host + "/chatbot"); socket.onmessage = function (event) { + chatBot.hideAllLoading(); chatBot.sendMessage(event.data, { right: false, sender: {name: 'Bob', id: '007'} diff --git a/samples/chatbot-web-search/pom.xml b/samples/chatbot-web-search/pom.xml index d6a5b41bf..35b7119f3 100644 --- a/samples/chatbot-web-search/pom.xml +++ b/samples/chatbot-web-search/pom.xml @@ -68,7 +68,7 @@ org.mvnpm wc-chatbot - 0.1.2 + 0.2.0 runtime diff --git a/samples/chatbot-web-search/src/main/resources/META-INF/resources/components/demo-chat.js b/samples/chatbot-web-search/src/main/resources/META-INF/resources/components/demo-chat.js index b1efa6b5b..473592ae2 100644 --- a/samples/chatbot-web-search/src/main/resources/META-INF/resources/components/demo-chat.js +++ b/samples/chatbot-web-search/src/main/resources/META-INF/resources/components/demo-chat.js @@ -8,6 +8,7 @@ export class DemoChat extends LitElement { const socket = new WebSocket("ws://" + window.location.host + "/chatbot"); socket.onmessage = function (event) { + chatBot.hideAllLoading(); chatBot.sendMessage(event.data, { right: false, sender: {name: 'Bob', id: '007'} diff --git a/samples/chatbot/pom.xml b/samples/chatbot/pom.xml index 11c608006..f384bfa9b 100644 --- a/samples/chatbot/pom.xml +++ b/samples/chatbot/pom.xml @@ -68,7 +68,7 @@ org.mvnpm wc-chatbot - 0.1.2 + 0.2.0 runtime diff --git a/samples/chatbot/src/main/resources/META-INF/resources/components/demo-chat.js b/samples/chatbot/src/main/resources/META-INF/resources/components/demo-chat.js index b1efa6b5b..473592ae2 100644 --- a/samples/chatbot/src/main/resources/META-INF/resources/components/demo-chat.js +++ b/samples/chatbot/src/main/resources/META-INF/resources/components/demo-chat.js @@ -8,6 +8,7 @@ export class DemoChat extends LitElement { const socket = new WebSocket("ws://" + window.location.host + "/chatbot"); socket.onmessage = function (event) { + chatBot.hideAllLoading(); chatBot.sendMessage(event.data, { right: false, sender: {name: 'Bob', id: '007'} diff --git a/samples/sql-chatbot/pom.xml b/samples/sql-chatbot/pom.xml index ceabf42ce..5cdca0aed 100644 --- a/samples/sql-chatbot/pom.xml +++ b/samples/sql-chatbot/pom.xml @@ -76,7 +76,7 @@ org.mvnpm wc-chatbot - 0.1.2 + 0.2.0 runtime diff --git a/samples/sql-chatbot/src/main/resources/META-INF/resources/components/demo-chat.js b/samples/sql-chatbot/src/main/resources/META-INF/resources/components/demo-chat.js index b8f6819b1..24b086fa1 100644 --- a/samples/sql-chatbot/src/main/resources/META-INF/resources/components/demo-chat.js +++ b/samples/sql-chatbot/src/main/resources/META-INF/resources/components/demo-chat.js @@ -7,6 +7,7 @@ export class DemoChat extends LitElement { const socket = new WebSocket("ws://" + window.location.host + "/chatbot"); socket.onmessage = function (event) { + chatBot.hideAllLoading(); chatBot.sendMessage(event.data, { right: false, sender: {name: 'Bob', id: '007'}