使用共享 UI 包或自定义导入别名? 配置您的安装路径 在运行 CLI 之前。复制粘贴示例使用默认导入。
自定义步骤
传递任何有序列表 steps。该块根据该列表计算其展开高度、倒计时、活动状态和总体进度。
<AgentProgress steps={[ "Analyze the request", "Generate the component", "Run accessibility checks", "Prepare the response", ]}/>时间和完成
设置每个任务的时间 stepDuration。最后勾选后, completionDelay 控制完成状态之前保持的时间 onFinished 火灾。
<AgentProgress steps={steps} stepDuration={2400} completionDelay={1000} onFinished={() => { sendAgentResponse(); }}/>