@fleek-platform/agents-ui
Version:
The Fleek Platform Agents UI provides a simple interface for deploying, monitoring, and configuring your agents––making management straightforward
20 lines (19 loc) • 597 B
TypeScript
/**
* This hook is exported and used in website.
* Make sure anything you add doesn't break there,
* since website doesn’t have access to everything that is available here
*/
export declare const useDeployFromPrompt: ({ onDeploy, onNeedsSubscription, onError, }?: {
onDeploy?: ({ agentId }: {
agentId: string;
}) => void;
onNeedsSubscription?: () => void;
onError?: (error: Error) => void;
}) => {
deploy: (args: {
prompt: string;
accessToken: string;
projectId: string;
}) => Promise<string | undefined>;
isDeploying: boolean;
};