mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-17 14:33:41 +08:00
feat: show gpt model
This commit is contained in:
@@ -14,6 +14,7 @@ import Locale from "../locales";
|
||||
export type Message = ChatCompletionResponseMessage & {
|
||||
date: string;
|
||||
streaming?: boolean;
|
||||
model?: string;
|
||||
};
|
||||
|
||||
export enum SubmitKey {
|
||||
@@ -322,6 +323,7 @@ export const useChatStore = create<ChatStore>()(
|
||||
role: "assistant",
|
||||
date: new Date().toLocaleString(),
|
||||
streaming: true,
|
||||
model: get().config.modelConfig.model,
|
||||
};
|
||||
|
||||
// get recent messages
|
||||
|
||||
Reference in New Issue
Block a user