@lobehub/chat
Version:
Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.
21 lines (19 loc) • 661 B
text/typescript
import { InstallationChecker, PackageInstallCheckResult } from '../types';
/**
* Manual Installation Checker
*/
export class ManualInstallationChecker implements InstallationChecker {
/**
* Check if manually installed package is installed
* Manually installed packages cannot be automatically detected, always returns not installed status, user needs to confirm manually
*/
async checkPackageInstalled(details: {
packageName?: string;
repositoryUrlToClone?: string;
}): Promise<PackageInstallCheckResult> {
return {
installed: false,
packageName: details.packageName || details.repositoryUrlToClone || '',
};
}
}