remove defaulting value of candidates in unary api. remove unused variables and imports. remove throwing GoogleAIError when candidates undefined or empty. (6c0c31c)
replace any type with explicit types in post fetch processing functions (4099129)
throw ClientError or GoogleGenerativeAIError according to response status so that users can catch them and handle them according to class name. (ea0dcb7)