Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4df472e commit ad0e9f2Copy full SHA for ad0e9f2
google/generativeai/types/generation_types.py
@@ -327,7 +327,7 @@ def text(self):
327
if len(parts) != 1 or "text" not in parts[0]:
328
raise ValueError(
329
"The `response.text` quick accessor only works for "
330
- "simple (single-`Part`) text responses. This response is not simple text."
+ "simple (single-`Part`) text responses. This response is not simple text. "
331
"Use the `result.parts` accessor or the full "
332
"`result.candidates[index].content.parts` lookup "
333
"instead."
0 commit comments