(input: PromptInput)
| 222 | }) |
| 223 | |
| 224 | async function runPrompt(input: PromptInput) { |
| 225 | const message = await createUserMessage(input) |
| 226 | await Session.touch(input.sessionID) |
| 227 | |
| 228 | if (input.noReply === true) { |
| 229 | return message |
| 230 | } |
| 231 | |
| 232 | return loop(input.sessionID) |
| 233 | } |
| 234 | |
| 235 | async function benchmarkFanout(parent: Session.Info, input: PromptInput) { |
| 236 | if (!SessionBenchmark.isParent(parent)) { |
no test coverage detected