diff --git a/app/components/chat/BaseChat.tsx b/app/components/chat/BaseChat.tsx index 12929b10..b8712202 100644 --- a/app/components/chat/BaseChat.tsx +++ b/app/components/chat/BaseChat.tsx @@ -413,15 +413,17 @@ export const BaseChat = React.forwardRef( apiKeys={apiKeys} modelLoading={isModelLoading} /> - {(providerList || []).length > 0 && provider && !LOCAL_PROVIDERS.includes(provider.name) && ( - { - onApiKeysChange(provider.name, key); - }} - /> - )} + {(providerList || []).length > 0 && + provider && + (!LOCAL_PROVIDERS.includes(provider.name) || 'OpenAILike') && ( + { + onApiKeysChange(provider.name, key); + }} + /> + )} )}