Out of the Documentation, there is no reference of max_tokens. the ModelSettings does not accept the max_tokens parameter.. This becomes a problem especially when using anthropic models as they dont assume a max tokens value and need one to get passed.