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

This commit is contained in:
frostime 2024-08-04 22:19:02 +08:00
parent 46fc2a5012
commit 72e6cd7f03

View File

@ -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>
);
}