diff --git a/app/components/chat.tsx b/app/components/chat.tsx
index fe962db..5ff0cd0 100644
--- a/app/components/chat.tsx
+++ b/app/components/chat.tsx
@@ -373,17 +373,17 @@ function ChatAction(props: {
style={
props.icon && !props.loding
? ({
- "--icon-width": `${width.icon}px`,
- "--full-width": `${width.full}px`,
- ...props.style,
- } as React.CSSProperties)
+ "--icon-width": `${width.icon}px`,
+ "--full-width": `${width.full}px`,
+ ...props.style,
+ } as React.CSSProperties)
: props.loding
- ? ({
+ ? ({
"--icon-width": `30px`,
"--full-width": `30px`,
...props.style,
} as React.CSSProperties)
- : props.style
+ : props.style
}
>
{props.icon ? (
@@ -609,7 +609,7 @@ export function ChatActions(props: {
{config.pluginConfig.enable &&
/^gpt(?!.*03\d{2}$).*$/.test(currentModel) &&
- !currentModel.includes("vision") && (
+ currentModel != "gpt-4-vision-preview" && (