UNPKG

@fleek-platform/agents-ui

Version:

The Fleek Platform Agents UI provides a simple interface for deploying, monitoring, and configuring your agents––making management straightforward

19 lines (18 loc) 588 B
import { type AiAgentStatus, type AgentLog } from '../api'; export interface UseAgentLogsProps { isLoggedIn: boolean; agentId?: string; accessToken?: string; agentStatus?: AiAgentStatus; } export interface UseAgentLogsResult { logs: AgentLog[]; loading: boolean; error?: string; hasNextPage: boolean; refetch: () => void; fetchNextPage: () => Promise<void>; isFetchingNextPage: boolean; nextCursor?: string; } export declare const useAgentLogs: ({ isLoggedIn, agentId, agentStatus, accessToken, }: UseAgentLogsProps) => UseAgentLogsResult;