fix for compatibility with transformers 4.49

#7
by katuni4ka - opened

in transformers 4.49 get_max_length was removed and renamed to get_max_cache_shape, it is not possible to run model.chat() with this version and above

czczup changed pull request status to merged

Sign up or log in to comment