import { useConfig } from './ConfigContext'; import { toastService } from '../toasts'; import { Goose } from './icons'; import LocalModelPicker from './onboarding/LocalModelPicker'; interface LocalModelSetupProps { onSuccess: () => void; onCancel: () => void; } export function LocalModelSetup({ onSuccess, onCancel }: LocalModelSetupProps) { const { upsert } = useConfig(); const handleConfigured = async (_providerName: string, modelId: string) => { await upsert('GOOSE_PROVIDER', 'local', false); await upsert('GOOSE_MODEL', modelId, false); toastService.success({ title: 'Local Model Ready', msg: `Running entirely on your machine with ${modelId}.`, }); onSuccess(); }; return (
Download a model to run goose entirely on your machine — no API keys, no accounts, completely free and private.