From d34eaf4e6e6faa3be60492cc603227a444d15864 Mon Sep 17 00:00:00 2001 From: Julien Veyssier Date: Wed, 5 Nov 2025 11:46:31 +0100 Subject: [PATCH] fix(chat-ui): fix wrong prop type for informationSourceNames Signed-off-by: Julien Veyssier --- src/components/ChattyLLM/ConversationBox.vue | 2 +- src/components/ChattyLLM/Message.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/ChattyLLM/ConversationBox.vue b/src/components/ChattyLLM/ConversationBox.vue index 5fbf5235d..c73e03089 100644 --- a/src/components/ChattyLLM/ConversationBox.vue +++ b/src/components/ChattyLLM/ConversationBox.vue @@ -91,7 +91,7 @@ export default { return { regenerateFromId: null, deleteMessageId: null, - informationSourceNames: loadState('assistant', 'contextAgentToolSources'), + informationSourceNames: loadState('assistant', 'contextAgentToolSources', {}), } }, diff --git a/src/components/ChattyLLM/Message.vue b/src/components/ChattyLLM/Message.vue index d2111805e..ff776294c 100644 --- a/src/components/ChattyLLM/Message.vue +++ b/src/components/ChattyLLM/Message.vue @@ -136,7 +136,7 @@ export default { default: false, }, informationSourceNames: { - type: Array, + type: Object, default: null, }, },