1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-08-17 06:00:33 +03:00

scripts(setup-llm): tell when LLM is up-to-date

This commit is contained in:
louistiti 2024-01-30 00:09:20 +08:00
parent 93eb2d22b3
commit 46f6c09739
No known key found for this signature in database
GPG Key ID: 92CD6A2E497E1669

View File

@ -19,9 +19,10 @@ import { FileHelper } from '@/helpers/file-helper'
/**
* Download and set up LLM
* TODO...
* Download LLM via Helper method...
* Create manifest via Helper method...
* 1. Check minimum hardware requirements
* 2. Check if Hugging Face is accessible
* 3. Download the latest LLM from Hugging Face or mirror
* 4. Create manifest file
*/
function checkMinimumHardwareRequirements() {
@ -74,6 +75,8 @@ async function setupLLM() {
LogHelper.success('Manifest file created')
LogHelper.success(`${LLM_NAME_WITH_VERSION} ready`)
} else {
LogHelper.info(`${LLM_NAME_WITH_VERSION} is already set up and use the latest version`)
}
LogHelper.success('LLM is set up')