State for LoopAgent.
| 41 | |
| 42 | @experimental(FeatureName.AGENT_STATE) |
| 43 | class LoopAgentState(BaseAgentState): |
| 44 | """State for LoopAgent.""" |
| 45 | |
| 46 | current_sub_agent: str = '' |
| 47 | """The name of the current sub-agent to run in the loop.""" |
| 48 | |
| 49 | times_looped: int = 0 |
| 50 | """The number of times the loop agent has looped.""" |
| 51 | |
| 52 | |
| 53 | @deprecated( |
no outgoing calls