feat(FN-2990): merge fusion/fn-2990
- Finalize the downstream porting plan in `docs/research/pi-autoresearch-analysis.md` with updated guidance and recommendations Commits merged: - docs(FN-2990): complete Step 6 — finalize downstream porting plan Files changed: docs/research/pi-autoresearch-analysis.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) Fusion-Task-Id: FN-2990
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import "./ModelOnboardingModal.css";
|
||||
import { useState, useEffect, useCallback, useRef } from "react";
|
||||
import { X, Loader2, CheckCircle, Key, Zap, GitPullRequest, Rocket, Plus, ChevronRight } from "lucide-react";
|
||||
import type { Task } from "@fusion/core";
|
||||
import { getErrorMessage, type Task } from "@fusion/core";
|
||||
import type { AuthProvider, ModelInfo, CustomProviderConfig } from "../api";
|
||||
import {
|
||||
fetchAuthStatus,
|
||||
|
||||
@@ -823,10 +823,11 @@ export function SettingsModal({
|
||||
}, [customProviderEditing, loadCustomProviders]);
|
||||
|
||||
const handleDeleteCustomProvider = useCallback(async (provider: CustomProviderConfig) => {
|
||||
const ok = await confirm(`Delete custom provider '${provider.id}'?`, {
|
||||
const ok = await confirm({
|
||||
title: "Delete custom provider",
|
||||
confirmText: "Delete",
|
||||
cancelText: "Cancel",
|
||||
message: `Delete custom provider '${provider.id}'?`,
|
||||
confirmLabel: "Delete",
|
||||
cancelLabel: "Cancel",
|
||||
danger: true,
|
||||
});
|
||||
if (!ok) return;
|
||||
|
||||
Reference in New Issue
Block a user