Skip to content

Commit

Permalink
✨ feat(chat): 对话的时候,在工具栏直接显示当前模型的名称
Browse files Browse the repository at this point in the history
  • Loading branch information
frostime committed Sep 24, 2024
1 parent 46fc2a5 commit 72e6cd7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions app/components/chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -780,6 +780,19 @@ export function ChatActions(props: {
icon={<ShortcutkeyIcon />}
/>
)}

{/* If you want to add any successive actions, please place them above */}
<div
style={{
display: "flex",
alignItems: "top",
flex: 1,
fontSize: "0.7rem",
}}
>
<div style={{ flex: 1 }}></div>
<span style={{ opacity: 0.8 }}>{currentModelName}</span>
</div>
</div>
);
}
Expand Down

0 comments on commit 72e6cd7

Please sign in to comment.