Python package for easily interfacing with chat apps, with robust features and minimal code complexity.
3.43k
stars
224
forks
source link
TypeError: BaseModel.model_dump_json() got an unexpected keyword argument 'option' #75
Closed
stephenyaupro2021 closed 10 months ago
in simpleaichat.py,![image](https://github.com/minimaxir/simpleaichat/assets/94089429/42e252e0-efc1-4994-8f17-d83f060373d9)
--> 220 return self.default_session.model_dump_json( 221 exclude={"api_key", "api_url"}, 222 exclude_none=True, 223 option=orjson.OPT_INDENT_2, 224 )
TypeError: BaseModel.model_dump_json() got an unexpected keyword argument 'option'