change

You can modify a setting using the change() method. For example, to increase the number of connection retry attempts for retry stream:

from zerogpt.utils import settings

settings.change('retry stream', retries=9)

Available parameters (kwargs) for each setting can be found using:

settings.options()

Last updated