Spaces:
Runtime error
Runtime error
| export default interface AgentWork { | |
| run: () => Promise<void>; | |
| conclude: () => Promise<void>; | |
| next: () => AgentWork | undefined; | |
| onError: (e: unknown) => boolean; // Handles errors and returns whether to continue retrying | |
| } | |