diff --git a/google/generativeai/generative_models.py b/google/generativeai/generative_models.py index 02cab0b29..6bb6bb033 100644 --- a/google/generativeai/generative_models.py +++ b/google/generativeai/generative_models.py @@ -684,7 +684,7 @@ def history(self) -> list[glm.Content]: if last._error is not None: raise generation_types.BrokenResponseError( - "Can not build a coherent char history after a broken " + "Can not build a coherent chat history after a broken " "streaming response " "(See the previous Exception fro details). " "To inspect the last response object, use `chat.last`."