@fleek-platform/agents-ui
Version:
The Fleek Platform Agents UI provides a simple interface for deploying, monitoring, and configuring your agents––making management straightforward
18 lines (17 loc) • 477 B
TypeScript
export declare const useImprovePrompt: ({ onChunk, onStreaming, }: {
onChunk: (content: string) => void;
onStreaming: () => void;
}) => {
data: string;
error: Error | null;
status: "error" | "pending" | "streaming" | "success" | "idle";
mutate: (variables: {
content: string;
}) => Promise<void>;
isIdle: boolean;
isPending: boolean;
isStreaming: boolean;
isSuccess: boolean;
isError: boolean;
isLoading: boolean;
};