feat(acp+): models/providers in desktop on ACP+ (#9987)

This commit is contained in:
Alex Hancock
2026-06-26 13:04:24 -04:00
committed by GitHub
parent d1d2166190
commit 2fda760641
49 changed files with 2734 additions and 1687 deletions
@@ -1,6 +1,6 @@
import { Button } from '../../ui/button';
import { RefreshCw } from 'lucide-react';
import { useConfig } from '../../ConfigContext';
import { acpClearDefaults } from '../../../acp/providers';
import { View, ViewOptions } from '../../../utils/navigationUtils';
import { defineMessages, useIntl } from '../../../i18n';
@@ -21,12 +21,10 @@ interface ResetProviderSectionProps {
export default function ResetProviderSection(_props: ResetProviderSectionProps) {
const intl = useIntl();
const { remove } = useConfig();
const handleResetProvider = async () => {
try {
await remove('GOOSE_PROVIDER', false);
await remove('GOOSE_MODEL', false);
await acpClearDefaults();
window.location.reload();
} catch (error) {