| 171 | }, []); |
| 172 | |
| 173 | const runTest = () => { |
| 174 | ctlRef.current = agentRef.current.run(); |
| 175 | setTimeout(() => { |
| 176 | ctlRef.current.refresh([ |
| 177 | { |
| 178 | parameters: [ |
| 179 | { |
| 180 | input: '{\"useMemory\":false,\"chatId\":\"9f1c069ec8224b7d93e72fa402217ebd\",\"Question\":\"11111\"}', |
| 181 | output: '{\"useMemory\":false,\"chatId\":\"9f1c069ec8224b7d93e72fa402217ebd\",\"Question\":\"11111\"}', |
| 182 | }, |
| 183 | ], |
| 184 | nodeId: 'jade6qm5eg', |
| 185 | nodeType: 'START', |
| 186 | startTime: 1724772633987, |
| 187 | runCost: 0, |
| 188 | status: 'ARCHIVED', |
| 189 | errorMsg: '', |
| 190 | }, |
| 191 | { |
| 192 | parameters: [ |
| 193 | { |
| 194 | input: '{\"query\":\"11111\",\"maximum\":3,\"knowledge\":[{}]}', |
| 195 | output: '{\"output\":{\"retrievalOutput\":\"\"}}', |
| 196 | }, |
| 197 | ], |
| 198 | nodeId: 'jade0pg2ag', |
| 199 | nodeType: 'STATE', |
| 200 | startTime: 1724772634000, |
| 201 | runCost: 47, |
| 202 | status: 'ARCHIVED', |
| 203 | errorMsg: '', |
| 204 | }, |
| 205 | ]); |
| 206 | setTimeout(() => { |
| 207 | ctlRef.current.stop([ |
| 208 | { |
| 209 | parameters: [ |
| 210 | { |
| 211 | input: '{\"chatId\":\"2ad84f7cbc2445798dc62d219f0fca42\",\"Question\":\"11111\"}', |
| 212 | output: '{\"chatId\":\"2ad84f7cbc2445798dc62d219f0fca42\",\"Question\":\"11111\"}', |
| 213 | }, |
| 214 | ], |
| 215 | nodeId: 'jade6qm5eg', |
| 216 | nodeType: 'START', |
| 217 | startTime: 1725290745940, |
| 218 | runCost: 0, |
| 219 | status: 'ARCHIVED', |
| 220 | errorMsg: '', |
| 221 | }, |
| 222 | { |
| 223 | parameters: [ |
| 224 | { |
| 225 | input: '{\"query\":\"11111\",\"maximum\":3,\"knowledge\":[{}]}', |
| 226 | output: '{\"output\":{\"retrievalOutput\":\"\"}}', |
| 227 | }, |
| 228 | ], |
| 229 | nodeId: 'jade0pg2ag', |
| 230 | nodeType: 'STATE', |