add improve prompt button to task block and action block (#4020)

This commit is contained in:
Jonathan Dobson
2025-11-18 08:43:17 -08:00
committed by GitHub
parent 5ead565fd8
commit 639c3a2948
4 changed files with 10 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ import { useCredentialGetter } from "@/hooks/useCredentialGetter";
import { ImprovePromptForWorkflowResponse } from "@/routes/workflows/types/workflowTypes";
interface Props {
context?: string;
context?: Record<string, unknown>;
isVisible?: boolean;
onBegin?: () => void;
onEnd?: () => void;

View File

@@ -10,7 +10,7 @@ import { useDebouncedCallback } from "use-debounce";
import { ImprovePrompt } from "./ImprovePrompt";
interface AiImprove {
context?: string;
context?: Record<string, unknown>;
useCase: string;
}