Exceptions
All exceptions are exported from the top-level data_harness package.
MaxTurnsExceeded
data_harness.MaxTurnsExceeded
Bases: DataHarnessError, RuntimeError
The loop reached max_turns without the model finishing.
Still a RuntimeError because it was one before the taxonomy existed and
callers catch it that way.
Attributes:
| Name | Type | Description |
|---|---|---|
turns |
How many turns ran before the limit was hit. |
|
last_response |
The final provider response, if available. |