diff --git a/web/app/components/plugins/marketplace/hooks.ts b/web/app/components/plugins/marketplace/hooks.ts index be7554a847..8f811d1b3e 100644 --- a/web/app/components/plugins/marketplace/hooks.ts +++ b/web/app/components/plugins/marketplace/hooks.ts @@ -151,7 +151,7 @@ export const useSearchBoxAutoAnimate = (searchBoxAutoAnimate?: boolean) => { if (!searchBoxAutoAnimate) { const clientWidth = document.documentElement.clientWidth - if (clientWidth < 1350) + if (clientWidth < 1400) setSearchBoxCanAnimate(false) else setSearchBoxCanAnimate(true) diff --git a/web/app/components/plugins/marketplace/list/list-wrapper.tsx b/web/app/components/plugins/marketplace/list/list-wrapper.tsx index 155dfe397a..2dc83ee831 100644 --- a/web/app/components/plugins/marketplace/list/list-wrapper.tsx +++ b/web/app/components/plugins/marketplace/list/list-wrapper.tsx @@ -37,10 +37,10 @@ const ListWrapper = ({ }, [handleQueryPlugins, marketplaceCollections, marketplaceCollectionsFromClient, isSuccessCollections]) return ( -
+
{ plugins && ( -
+
{t('plugin.marketplace.pluginsResult', { num: pluginsTotal })}
diff --git a/web/app/components/workflow/run/agent-log/agent-log-item.tsx b/web/app/components/workflow/run/agent-log/agent-log-item.tsx index 36b1d78bc6..49c279d58a 100644 --- a/web/app/components/workflow/run/agent-log/agent-log-item.tsx +++ b/web/app/components/workflow/run/agent-log/agent-log-item.tsx @@ -23,6 +23,7 @@ const AgentLogItem = ({ status, children, data, + metadata, } = item const [expanded, setExpanded] = useState(false) @@ -41,8 +42,17 @@ const AgentLogItem = ({ : }
-
{label}
- {/*
0.02s
*/} +
+ {label} +
+ { + metadata?.elapsed_time && ( +
{metadata?.elapsed_time?.toFixed(3)}s
+ ) + }
{ 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 0506f5ded0..ccfc6da8cf 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 @@ -62,7 +62,7 @@ const AgentLogNav = ({ ) } { - !!end && agentOrToolLogItemStackLength > 2 && ( + !!end && agentOrToolLogItemStackLength > 1 && ( <>
/
diff --git a/web/types/workflow.ts b/web/types/workflow.ts index b152c3615b..9cc1cbac15 100644 --- a/web/types/workflow.ts +++ b/web/types/workflow.ts @@ -11,6 +11,10 @@ export type AgentLogItem = { data: object, // debug data error?: string, status: string, + metadata?: { + elapsed_time?: number + provider?: string + }, } export type AgentLogItemWithChildren = AgentLogItem & {