Open sinking8 opened 1 week ago
max_tokens = -1 is used to avoid restrictions on the length of generated texts. I've never experienced such an error with self hosted models.
I am using ChatGPT and I have installed pyautogen=0.2.31
Ok, It seems that non self-hosted models require such parameters to be greater than 0 (to provide boundaries on generated text lengths).
Update YClient to v1.0.0 (released today) and change the config.json accordingly.
I got this error when I ran the simulation tool