diff --git a/web/app/components/workflow/run/agent-log/agent-log-nav.tsx b/web/app/components/workflow/run/agent-log/agent-log-nav.tsx index 50501ef026..a56730a45a 100644 --- a/web/app/components/workflow/run/agent-log/agent-log-nav.tsx +++ b/web/app/components/workflow/run/agent-log/agent-log-nav.tsx @@ -5,16 +5,13 @@ import type { AgentLogItemWithChildren } from '@/types/workflow' type AgentLogNavProps = { agentOrToolLogItemStack: { id: string; label: string }[] - agentOrToolLogListMap: Record onShowAgentOrToolLog: (detail?: AgentLogItemWithChildren) => void } const AgentLogNav = ({ agentOrToolLogItemStack, - agentOrToolLogListMap, onShowAgentOrToolLog, }: AgentLogNavProps) => { - const top = agentOrToolLogItemStack[agentOrToolLogItemStack.length - 1] - const options = agentOrToolLogListMap[top.id] + const options = agentOrToolLogItemStack.slice(2) return (
@@ -37,11 +34,17 @@ const AgentLogNav = ({ Agent strategy -
/
- + { + !!options.length && ( + <> +
/
+ + + ) + }
/
Run Actions diff --git a/web/app/components/workflow/run/agent-log/agent-result-panel.tsx b/web/app/components/workflow/run/agent-log/agent-result-panel.tsx index fe40d751d3..3028384f4a 100644 --- a/web/app/components/workflow/run/agent-log/agent-result-panel.tsx +++ b/web/app/components/workflow/run/agent-log/agent-result-panel.tsx @@ -19,7 +19,6 @@ const AgentResultPanel = ({
{