diff --git a/google/genai/files.py b/google/genai/files.py index 6057a20bd..a1fabb95e 100644 --- a/google/genai/files.py +++ b/google/genai/files.py @@ -588,7 +588,7 @@ def upload( binary mode. In other words, do not use non-blocking mode or text mode. The given stream must be seekable, that is, it must be able to call `seek()` on 'path'. - config: Optional parameters to set `diplay_name`, `mime_type`, and `name`. + config: Optional parameters to set `display_name`, `mime_type`, and `name`. """ if self._api_client.vertexai: raise ValueError( @@ -1207,7 +1207,7 @@ async def upload( binary mode. In other words, do not use non-blocking mode or text mode. The given stream must be seekable, that is, it must be able to call `seek()` on 'path'. - config: Optional parameters to set `diplay_name`, `mime_type`, and `name`. + config: Optional parameters to set `display_name`, `mime_type`, and `name`. """ if self._api_client.vertexai: raise ValueError(