修复错误

This commit is contained in:
sijinhui 2024-07-12 00:21:14 +08:00
parent 9066c4eb55
commit 578f0b883c

View File

@ -366,6 +366,7 @@ function ChatAction(props: {
if (props.text.includes("使用") || allModels.includes(props.text)) {
customModelClassName = "chat-input-action-long-weight";
}
console.log("123123123", props.text);
function updateWidth() {
if (!iconRef.current || !textRef.current) return;
@ -609,7 +610,7 @@ export function ChatActions(props: {
<ChatAction
onClick={() => setShowModelSelector(true)}
text={currentModelName}
text={currentModel}
icon={<RobotIcon />}
/>