v1.1.0
- Added
max_function_rounds
toKani.full_round
,Kani.full_round_str
, andKani.full_round_stream
:The maximum number of function calling rounds to perform in this round. If this number is reached, the model is allowed to generate a final response without any functions defined.
Default unlimited (continues until model's response does not contain a function call). - Added
__repr__
to engines - Fixed an issue where Kani could underestimate the token usage for certain OpenAI models using parallel function calling