fix: #3570605: Add support for string and array input types in chat()

Closes #3570605

Merge request reports

Loading