|
|
|
@ -140,6 +140,9 @@ const ConfigPopup: FC<PopupProps> = ({
|
|
|
|
const configuredProviderPanel = () => {
|
|
|
|
const configuredProviderPanel = () => {
|
|
|
|
const configuredPanels: any[] = []
|
|
|
|
const configuredPanels: any[] = []
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (weaveConfig)
|
|
|
|
|
|
|
|
configuredPanels.push(weavePanel)
|
|
|
|
|
|
|
|
|
|
|
|
if (langSmithConfig)
|
|
|
|
if (langSmithConfig)
|
|
|
|
configuredPanels.push(langSmithPanel)
|
|
|
|
configuredPanels.push(langSmithPanel)
|
|
|
|
|
|
|
|
|
|
|
|
@ -149,14 +152,13 @@ const ConfigPopup: FC<PopupProps> = ({
|
|
|
|
if (opikConfig)
|
|
|
|
if (opikConfig)
|
|
|
|
configuredPanels.push(opikPanel)
|
|
|
|
configuredPanels.push(opikPanel)
|
|
|
|
|
|
|
|
|
|
|
|
if (weaveConfig)
|
|
|
|
|
|
|
|
configuredPanels.push(weavePanel)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return configuredPanels
|
|
|
|
return configuredPanels
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const moreProviderPanel = () => {
|
|
|
|
const moreProviderPanel = () => {
|
|
|
|
const notConfiguredPanels: any[] = []
|
|
|
|
const notConfiguredPanels: any[] = []
|
|
|
|
|
|
|
|
if (!weaveConfig)
|
|
|
|
|
|
|
|
notConfiguredPanels.push(weavePanel)
|
|
|
|
|
|
|
|
|
|
|
|
if (!langSmithConfig)
|
|
|
|
if (!langSmithConfig)
|
|
|
|
notConfiguredPanels.push(langSmithPanel)
|
|
|
|
notConfiguredPanels.push(langSmithPanel)
|
|
|
|
@ -167,8 +169,6 @@ const ConfigPopup: FC<PopupProps> = ({
|
|
|
|
if (!opikConfig)
|
|
|
|
if (!opikConfig)
|
|
|
|
notConfiguredPanels.push(opikPanel)
|
|
|
|
notConfiguredPanels.push(opikPanel)
|
|
|
|
|
|
|
|
|
|
|
|
if (!weaveConfig)
|
|
|
|
|
|
|
|
notConfiguredPanels.push(weavePanel)
|
|
|
|
|
|
|
|
return notConfiguredPanels
|
|
|
|
return notConfiguredPanels
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@ -220,10 +220,10 @@ const ConfigPopup: FC<PopupProps> = ({
|
|
|
|
<>
|
|
|
|
<>
|
|
|
|
<div className='system-xs-medium-uppercase text-text-tertiary'>{t(`${I18N_PREFIX}.configProviderTitle.${providerAllConfigured ? 'configured' : 'notConfigured'}`)}</div>
|
|
|
|
<div className='system-xs-medium-uppercase text-text-tertiary'>{t(`${I18N_PREFIX}.configProviderTitle.${providerAllConfigured ? 'configured' : 'notConfigured'}`)}</div>
|
|
|
|
<div className='mt-2 space-y-2'>
|
|
|
|
<div className='mt-2 space-y-2'>
|
|
|
|
|
|
|
|
{weavePanel}
|
|
|
|
{langSmithPanel}
|
|
|
|
{langSmithPanel}
|
|
|
|
{langfusePanel}
|
|
|
|
{langfusePanel}
|
|
|
|
{opikPanel}
|
|
|
|
{opikPanel}
|
|
|
|
{weavePanel}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</>
|
|
|
|
</>
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|