Function
makePausedResult
(
id: string,
request: FormElicitation | UrlElicitation,
)
Source from the content-addressed store, hash-verified
| 168 | |
| 169 | /** Build a stub paused ExecutionResult with the given id and elicitation request. */ |
| 170 | const makePausedResult = ( |
| 171 | id: string, |
| 172 | request: FormElicitation | UrlElicitation, |
| 173 | ): ExecutionResult => ({ |
| 174 | status: "paused", |
| 175 | execution: { |
| 176 | id, |
| 177 | elicitationContext: { address: STUB_TOOL_ADDRESS, args: {}, request }, |
| 178 | }, |
| 179 | }); |
| 180 | |
| 181 | const toolFile = (input: { |
| 182 | readonly name?: string; |
Tested by
no test coverage detected