no message

This commit is contained in:
kuaifan
2025-02-22 11:26:16 +08:00
parent 154e0039d1
commit 30cfb1200d
4 changed files with 4 additions and 2 deletions
@@ -344,7 +344,7 @@ class SystemController extends AbstractController
$baseUrl = trim(Request::input('base_url'));
if ($type == 'ollama') {
if (empty($baseUrl)) {
return Base::retError('请填写基础URL');
return Base::retError('请先填写 Base URL');
}
return Extranet::ollamaModels($baseUrl);
}