@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.
11 lines (8 loc) • 338 B
text/typescript
import { useAiInfraStore } from '@/store/aiInfra';
import { aiModelSelectors } from '@/store/aiInfra/selectors';
export const useModelSupportVideo = (id?: string, provider?: string) => {
return useAiInfraStore((s) => {
if (!id || !provider) return false;
return aiModelSelectors.isModelSupportVideo(id, provider)(s);
});
};