mirror of
https://github.com/yihong0618/bilingual_book_maker.git
synced 2025-06-06 11:35:49 +00:00

fix(chatgptapi_translator): when use azure openai something wrong 1. when I use azure openai will get "api_base" not have this arribute error. So I add self.api_base = api_base 2. In line 84 when the message content type is None will get typeError. So I add a if else to avoid this error. * style: format code style * style: format code style * fix: lint