stats
Class info¶
Classes¶
Name | Children | Inherits |
---|---|---|
AggregatedMessageStats llmling_agent.talk.stats Statistics aggregated from multiple connections. |
||
AggregatedTalkStats llmling_agent.talk.stats Statistics aggregated from multiple connections. |
||
MessageStats llmling_agent.talk.stats Statistics for a single connection. |
||
TalkStats llmling_agent.talk.stats Statistics for a single connection. |
🛈 DocStrings¶
Manages message flow between agents/groups.
AggregatedMessageStats
dataclass
¶
Statistics aggregated from multiple connections.
Source code in src/llmling_agent/talk/stats.py
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 |
|
messages
property
¶
messages: list[ChatMessage[Any]]
All messages across all connections, flattened.
tool_calls
property
¶
tool_calls: list[ToolCallInfo]
Accumulated tool calls going through this connection.
format
¶
Format all conversations in the team.
Source code in src/llmling_agent/talk/stats.py
124 125 126 |
|
AggregatedTalkStats
dataclass
¶
Bases: AggregatedMessageStats
Statistics aggregated from multiple connections.
Source code in src/llmling_agent/talk/stats.py
129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 |
|
MessageStats
dataclass
¶
Statistics for a single connection.
Source code in src/llmling_agent/talk/stats.py
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
|
tool_calls
property
¶
tool_calls: list[ToolCallInfo]
Accumulated tool calls going through this connection.
format
¶
Format the conversation that happened on this connection.
Source code in src/llmling_agent/talk/stats.py
50 51 52 |
|
TalkStats
dataclass
¶
Bases: MessageStats
Statistics for a single connection.
Source code in src/llmling_agent/talk/stats.py
60 61 62 63 64 65 |
|