Fix chat model error (#69)

Co-authored-by: AceDataCloud <office@acedata.cloud>
This commit is contained in:
GermeyandAceDataCloud authored and GitHub committed 2024-07-03 17:56:03 +00:00
1 parent ca0372733d
commit c5a8c4a2fd
4 files changed
+15 -2

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
import { IApplication, IChatConversation, IChatModel, ICredential, IService, Status } from '@/models';
export interface IChatState {
model: IChatModel | undefined;
model: IChatModel;
application: IApplication | undefined;
service: IService | undefined;
conversations: IChatConversation[] | undefined;
-1
View File
@@ -6,7 +6,6 @@ export const resetAll = (state: IChatState): void => {
state.conversations = undefined;
state.credential = undefined;
state.service = undefined;
state.model = undefined;
};
export const setModel = (state: IChatState, payload: IChatModel): void => {