Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

350 B
Raw Blame
import { useAiInfraStore } from '@/store/aiInfra';
import { aiModelSelectors } from '@/store/aiInfra/selectors';

export const useModelSupportImageOutput = (id?: string, provider?: string) => {
  return useAiInfraStore((s) => {
    if (!id || !provider) return false;

    return aiModelSelectors.isModelSupportImageOutput(id, provider)(s);
  });
};