This commit is contained in:
parent
2d2fac5f1c
commit
70153d8bfe
@ -175,7 +175,7 @@ const props = defineProps({
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
const isMobile = useIsMobile()
|
const isMobile = useIsMobile();
|
||||||
const userStore = useUserStore();
|
const userStore = useUserStore();
|
||||||
const chatStore = useChatStore();
|
const chatStore = useChatStore();
|
||||||
const compositionStart = ref(false);
|
const compositionStart = ref(false);
|
||||||
@ -560,6 +560,9 @@ const getChat = async () => {
|
|||||||
.data ?? {};
|
.data ?? {};
|
||||||
|
|
||||||
chatStore.currentChat = chatData.value;
|
chatStore.currentChat = chatData.value;
|
||||||
|
if (chatData.value.assistant_id) {
|
||||||
|
chatStore.currentAssistantId = chatData.value.assistant_id;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user