MCPcopy Create free account
hub / github.com/Narrator-AI/NarratorAI / updateMessageLoadingState

Function updateMessageLoadingState

src/components/workflow-steps.tsx:2357–2361  ·  view source on GitHub ↗
(messageId: string, loading: boolean)

Source from the content-addressed store, hash-verified

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) => {

Callers 1

finishStepProcessingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected