Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ feat(chat): 对话的时候,在工具栏直接显示当前模型的名称 #5516

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions app/components/chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -780,6 +780,32 @@ 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",
justifyContent: "flex-end",
overflow: "hidden",
whiteSpace: "nowrap",
}}
>
<span
style={{
opacity: 0.8,
overflow: "hidden",
textOverflow: "ellipsis",
whiteSpace: "nowrap",
minWidth: 0,
maxWidth: "175px",
}}
>
{currentModelName}
</span>
</div>
</div>
);
}
Expand Down
Loading