Skip to content

Commit

Permalink
Merge pull request ChatGPTNextWeb#5270 from DDMeaqua/main
Browse files Browse the repository at this point in the history
feat: add model name to conversation page
  • Loading branch information
Dogtiti authored Aug 15, 2024
2 parents 122aa94 + fb5fc13 commit 87325fa
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/components/chat.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,12 @@
flex-wrap: nowrap;
}
}

.chat-model-name {
font-size: 12px;
color: var(--black);
margin-left: 6px;
}
}

.chat-message-container {
Expand Down
5 changes: 5 additions & 0 deletions app/components/chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1524,6 +1524,11 @@ function _Chat() {
</>
)}
</div>
{!isUser && (
<div className={styles["chat-model-name"]}>
{message.model}
</div>
)}

{showActions && (
<div className={styles["chat-message-actions"]}>
Expand Down

0 comments on commit 87325fa

Please sign in to comment.