diff --git a/module/ai/view/models.html.php b/module/ai/view/models.html.php index 596ec43b42..b57b3cec8c 100644 --- a/module/ai/view/models.html.php +++ b/module/ai/view/models.html.php @@ -18,7 +18,7 @@ ai->models->apiKey;?> - key;?> + key) ? $lang->ai->models->unconfigured : ('' . substr_replace($modelConfig->key, '...', 4, strlen($modelConfig->key) - 8) . '');?> ai->models->proxyType;?> @@ -26,7 +26,7 @@ proxyType)) echo 'style="display: none;"'; ?>> ai->models->proxyAddr;?> - proxyAddr;?> + proxyAddr) ? $lang->ai->models->unconfigured : ('' . substr_replace($modelConfig->proxyAddr, '://...', strpos($modelConfig->proxyAddr, ':')) . '');?> ai->models->description;?>