Migrate new service (#1)

This commit is contained in:
AceDataCloud committed 2024-03-07 01:09:03 +08:00
1 parent f13ca37d63
commit 28da0263dc
109 files changed
+1160 -1053

No files matched your search

+8 -5
View File
@@ -1,12 +1,15 @@
import { CHAT_MODEL_CHATGPT } from '@/operators';
import { CHAT_MODEL_GPT_3_5 } from '@/constants';
import { IChatState } from './models';
import { Status } from '@/models';
export default (): IChatState => {
return {
model: CHAT_MODEL_CHATGPT,
applications: undefined,
getApplicationsStatus: undefined,
model: CHAT_MODEL_GPT_3_5,
application: undefined,
conversations: undefined,
getConversationsStatus: undefined
status: {
getApplication: Status.None,
getConversations: Status.None
}
};
};