| 1 | import { |
| 2 | THREAD_ROLLBACK_AFTER_PROMPT, |
| 3 | THREAD_ROLLBACK_FIRST_PROMPT, |
| 4 | THREAD_ROLLBACK_SECOND_PROMPT, |
| 5 | type OrchestratorFixtureInput, |
| 6 | } from "../shared.ts"; |
| 7 | |
| 8 | export function threadRollbackInput(): OrchestratorFixtureInput { |
| 9 | return { |
| 10 | steps: [ |
| 11 | { type: "message", text: THREAD_ROLLBACK_FIRST_PROMPT }, |
| 12 | { type: "message", text: THREAD_ROLLBACK_SECOND_PROMPT }, |
| 13 | { |
| 14 | type: "rollback", |
| 15 | checkpointScopeSuffix: "root", |
| 16 | checkpointSuffix: "1", |
| 17 | }, |
| 18 | { type: "message", text: THREAD_ROLLBACK_AFTER_PROMPT }, |
| 19 | ], |
| 20 | }; |
| 21 | } |