Coverage for src/refinire/agents/flow/__init__.py: 100%

4 statements  

« prev     ^ index     » next       coverage.py v7.9.1, created at 2025-06-16 15:27 +0900

1""" 

2Refinire Flow - Workflow orchestration and execution 

3 

4This module provides workflow functionality for the Refinire AI agent platform: 

5- Flow orchestration engine for complex multi-step processes 

6- Step implementations for various workflow patterns 

7- Context management for shared state between steps 

8""" 

9 

10# Core workflow functionality 

11from .context import Context, Message 

12from .step import ( 

13 Step, 

14 FunctionStep, 

15 ConditionStep, 

16 ParallelStep, 

17 UserInputStep, 

18 ForkStep, 

19 JoinStep, 

20 DebugStep, 

21 create_simple_condition, 

22 create_lambda_step 

23) 

24from .flow import Flow, FlowExecutionError, create_simple_flow, create_conditional_flow 

25 

26__all__ = [ 

27 # Context management 

28 "Context", 

29 "Message", 

30 

31 # Step implementations 

32 "Step", 

33 "FunctionStep", 

34 "ConditionStep", 

35 "ParallelStep", 

36 "UserInputStep", 

37 "ForkStep", 

38 "JoinStep", 

39 "DebugStep", 

40 "create_simple_condition", 

41 "create_lambda_step", 

42 

43 # Flow orchestration 

44 "Flow", 

45 "FlowExecutionError", 

46 "create_simple_flow", 

47 "create_conditional_flow" 

48]