MCPcopy Create free account
hub / github.com/ScaleML/AgentSPEX / AgentIteration

Class AgentIteration

scripts/dashboard.py:85–99  ·  view source on GitHub ↗

Represents an agent iteration.

Source from the content-addressed store, hash-verified

83
84@dataclass
85class AgentIteration:
86 """Represents an agent iteration."""
87
88 number: int
89 max: int
90 tokens: int = 0
91 limit: int = 0
92 utilization: float = 0.0
93 reasoning_tokens: int = 0
94 content: List[str] = field(default_factory=list)
95 timeline: List[Dict[str, Any]] = field(default_factory=list)
96 messages: List[Dict[str, Any]] = field(default_factory=list)
97 usage: Dict[str, Any] = field(default_factory=dict)
98 context_tokens: int = 0
99 context_limit: int = 0
100
101
102@dataclass

Callers 1

_get_iterationMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected