refactor(framework): add order() to AbstractAgentModule.Running contract

This commit is contained in:
2026-02-20 15:30:55 +08:00
parent e2ef92ce43
commit 6b7c9db5b1

View File

@@ -17,7 +17,10 @@ abstract class AbstractAgentModule {
var moduleName: String = javaClass.simpleName var moduleName: String = javaClass.simpleName
interface Running<T : RunningFlowContext> { interface Running<T : RunningFlowContext> {
fun execute(context: T) fun execute(context: T)
fun order(): Int
} }
interface Sub<I, O> { interface Sub<I, O> {