- Introduced null-safety for all ChatClient APIs and verified via extensive auto-tests.
- Made the final message list computed by ChatClient consistent and predictable across the different options for providing messages (
prompt()
,messages()
,user()
,system()
) and verified via extensive auto-tests. - Added even more auto-tests to cover as many scenarios and edge cases as possible.
Comment From: tzolov
Very useful improvements for reliability and consistency. Thanks @ThomasVitale
Comment From: tzolov
Rebased and merged at 048d54b82bcb3fb984aafacc5f28efd194342ab4