fix: show engin type icon after chat created

This commit is contained in:
ulleo
2025-07-29 14:08:45 +08:00
parent 52a5e079fc
commit d4832da6af
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -189,6 +189,7 @@ def create_chat(session: SessionDep, current_user: CurrentUser, create_chat_obj:
if ds:
chat_info.datasource_exists = True
chat_info.datasource_name = ds.name
chat_info.ds_type = ds.type
if require_datasource and ds:
# generate first empty record
+1
View File
@@ -485,6 +485,7 @@ function onChatCreatedQuick(chat: ChatInfo) {
chatList.value.unshift(chat)
currentChatId.value = chat.id
currentChat.value = chat
console.log(chat)
onChatCreated(chat)
}