in chat list, show model display name if it exists

This commit is contained in:
suruiqiang
2025-02-13 18:00:32 +08:00
parent 12863f5213
commit c15dbf5296
2 changed files with 24 additions and 1 deletions

View File

@@ -1868,7 +1868,7 @@ function _Chat() {
</div>
{!isUser && (
<div className={styles["chat-model-name"]}>
{message.model}
{message.modelDisplayName ?? message.model}
</div>
)}