update pnpm wordings

This commit is contained in:
Henry
2024-03-12 16:53:20 +08:00
parent 474681e113
commit c557d8d19c
4 changed files with 2 additions and 10 deletions
@@ -107,7 +107,7 @@ export class HuggingFaceInference extends LLM implements HFInput {
const { HfInference } = await import('@huggingface/inference')
return { HfInference }
} catch (e) {
throw new Error('Please install huggingface as a dependency with, e.g. `yarn add @huggingface/inference`')
throw new Error('Please install huggingface as a dependency with, e.g. `pnpm add @huggingface/inference`')
}
}
}