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:
parent
93eb2d22b3
commit
46f6c09739
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user