Skip to content

Commit

Permalink
🔀 Merge branch 'model-name-tip'
Browse files Browse the repository at this point in the history
  • Loading branch information
frostime committed Oct 2, 2024
2 parents fdb3816 + ba0651d commit dc159b1
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions app/components/chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -781,16 +781,30 @@ export function ChatActions(props: {
/>
)}

{/* If you want to add any successive actions, please place them above */}
<div
style={{
display: "flex",
alignItems: "top",
flex: 1,
fontSize: "0.7rem",
justifyContent: "flex-end",
overflow: "hidden",
whiteSpace: "nowrap",
}}
>
<div style={{ flex: 1 }}></div>
<span style={{ opacity: 0.8 }}>{currentModelName}</span>
<span
style={{
opacity: 0.8,
overflow: "hidden",
textOverflow: "ellipsis",
whiteSpace: "nowrap",
minWidth: 0,
maxWidth: "175px",
}}
>
{currentModelName}
</span>
</div>
</div>
);
Expand Down

0 comments on commit dc159b1

Please sign in to comment.