(messageId: string, loading: boolean)
| 2355 | |
| 2356 | // 更新消息加载状态 |
| 2357 | const updateMessageLoadingState = (messageId: string, loading: boolean) => { |
| 2358 | setChatMessages((prev) => |
| 2359 | prev.map((msg) => (msg.id === messageId ? { ...msg, loading } : msg)) |
| 2360 | ); |
| 2361 | }; |
| 2362 | |
| 2363 | // 处理步骤模拟函数 |
| 2364 | const processStep = (stepId: string) => { |
no outgoing calls
no test coverage detected