(
turn_count: int = 3, total_input: int = 100, total_output: int = 200
)
| 36 | |
| 37 | |
| 38 | def _make_tracker( |
| 39 | turn_count: int = 3, total_input: int = 100, total_output: int = 200 |
| 40 | ) -> MagicMock: |
| 41 | t = MagicMock() |
| 42 | t.turn_count = turn_count |
| 43 | t.total_input = total_input |
| 44 | t.total_output = total_output |
| 45 | t.total_tokens = total_input + total_output |
| 46 | return t |
| 47 | |
| 48 | |
| 49 | def _make_chat_context( |
no outgoing calls
no test coverage detected