Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

623 B
Raw Blame
'use client'
import type { AgentIterationLogResponse } from '@dify/contracts/api/console/apps/types.gen'
import type { FC } from 'react'
import Iteration from './iteration'

type TracingPanelProps = Readonly<{
  list: AgentIterationLogResponse[]
}>

const TracingPanel: FC<TracingPanelProps> = ({ list }) => {
  return (
    <div className="bg-background-section">
      {list.map((iteration, index) => (
        <Iteration
          key={index}
          index={index + 1}
          isFinal={index + 1 === list.length}
          iterationInfo={iteration}
        />
      ))}
    </div>
  )
}

export default TracingPanel