This commit is contained in:
pablodanswer 2024-10-24 15:09:25 -07:00
parent 62b29b26d5
commit 6439c5a003
3 changed files with 7 additions and 3 deletions

View File

@ -32,7 +32,11 @@ function LLMProviderUpdateModal({
existingLlmProvider?.name ||
"Custom LLM Provider";
return (
<Modal title={`Setup ${providerName}`} onOutsideClick={() => onClose()}>
<Modal
width="max-w-4xl"
title={`Setup ${providerName}`}
onOutsideClick={() => onClose()}
>
<div className="max-h-[70vh] overflow-y-auto px-4">
{llmProviderDescriptor ? (
<LLMProviderUpdateForm

View File

@ -173,7 +173,7 @@ export function ProviderCreationModal({
return (
<Modal
width="max-w-3xl"
width="max-w-4xl w-full"
title={`Configure ${selectedProvider.provider_type}`}
onOutsideClick={onCancel}
icon={selectedProvider.icon}

View File

@ -56,7 +56,7 @@ export function Modal({
}}
className={`bg-background text-emphasis rounded shadow-2xl
transform transition-all duration-300 ease-in-out
${width ?? "w-11/12 max-w-3xl"}
${width ?? "w-11/12 max-w-4xl"}
${noPadding ? "" : "p-10"}
${className || ""}`}
>