The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.
TypeScript agentai-chatai-studioall-in-onecoding-agentdesktop-appfluximage-generationlinuxllmlocal-ailocal-llmopen-sourceprivacyself-hostedstable-diffusionuncensoreduncensored-aivideo-generationwindows
/**
* Does the chat model of this phone get sub agents, as a hook for the pages.
* The rule itself is lib/phone-sub-agents.ts, the same one the tool registry asks.
*/
import { subAgentsOffered } from '../../../../lib/phone-sub-agents'
import { useModelStore } from '../../../../stores/modelStore'
export function useSubAgentsOffered(): boolean {
return useModelStore((s) => subAgentsOffered(s.activeModel))
}