add improve prompt button to task block and action block (#4020)
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -10,7 +10,7 @@ import { useDebouncedCallback } from "use-debounce";
|
||||
import { ImprovePrompt } from "./ImprovePrompt";
|
||||
|
||||
interface AiImprove {
|
||||
context?: string;
|
||||
context?: Record<string, unknown>;
|
||||
useCase: string;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user