diff --git a/app/api/openai.ts b/app/api/openai.ts index 6d11d6792..d32e45dd9 100644 --- a/app/api/openai.ts +++ b/app/api/openai.ts @@ -13,7 +13,7 @@ function getModels(remoteModelRes: OpenAIListModelResponse) { if (config.disableGPT4) { remoteModelRes.data = remoteModelRes.data.filter( - (m) => !m.id.startsWith("gpt-4"), + (m) => !m.id.startsWith("gpt-4") || m.id.startsWith("gpt-40-mini"), ); } diff --git a/app/components/button.tsx b/app/components/button.tsx index c6039acc2..87b4abd30 100644 --- a/app/components/button.tsx +++ b/app/components/button.tsx @@ -18,6 +18,7 @@ export function IconButton(props: { tabIndex?: number; autoFocus?: boolean; style?: CSSProperties; + aria?: string; }) { return ( ); diff --git a/app/components/chat.tsx b/app/components/chat.tsx index 6cb0cc88f..a0d909ca3 100644 --- a/app/components/chat.tsx +++ b/app/components/chat.tsx @@ -382,7 +382,7 @@ export function ChatAction(props: { } as React.CSSProperties } > -