import { RiArrowLeftLine } from '@remixicon/react' import AgentLogNavMore from './agent-log-nav-more' import Button from '@/app/components/base/button' import type { AgentLogItemWithChildren } from '@/types/workflow' type AgentLogNavProps = { agentOrToolLogItemStack: AgentLogItemWithChildren[] onShowAgentOrToolLog: (detail?: AgentLogItemWithChildren) => void } const AgentLogNav = ({ agentOrToolLogItemStack, onShowAgentOrToolLog, }: AgentLogNavProps) => { const options = agentOrToolLogItemStack.slice(2) return (
/
{ !!options.length && ( <>
/
) }
/
Run Actions
) } export default AgentLogNav