diff --git a/app/components/chat.tsx b/app/components/chat.tsx index 3864a3292..0da1411c0 100644 --- a/app/components/chat.tsx +++ b/app/components/chat.tsx @@ -602,6 +602,11 @@ export function Chat(props: {
{message.date.toLocaleString()}
+ {message.model && ( +
+ {message.model} +
+ )} )} diff --git a/app/components/home.module.scss b/app/components/home.module.scss index 64ac2363f..c845ffa56 100644 --- a/app/components/home.module.scss +++ b/app/components/home.module.scss @@ -324,6 +324,7 @@ padding-top: 5px; box-sizing: border-box; font-size: 12px; + justify-content: space-between; } .chat-message-action-date { diff --git a/app/store/app.ts b/app/store/app.ts index 3e98757cb..24677f950 100644 --- a/app/store/app.ts +++ b/app/store/app.ts @@ -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()( role: "assistant", date: new Date().toLocaleString(), streaming: true, + model: get().config.modelConfig.model, }; // get recent messages