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 6e796f0 commit e285bb4Copy full SHA for e285bb4
site/en/gemini-api/docs/get-started/python.ipynb
@@ -1761,7 +1761,6 @@
1761
" # Only one candidate for now.\n",
1762
" candidate_count=1,\n",
1763
" stop_sequences=['x'],\n",
1764
- " max_output_tokens=20,\n",
1765
" temperature=1.0)\n",
1766
")"
1767
]
@@ -1789,10 +1788,6 @@
1789
1788
],
1790
"source": [
1791
"text = response.text\n",
1792
- "\n",
1793
- "if response.candidates[0].finish_reason.name == \"MAX_TOKENS\":\n",
1794
- " text += '...'\n",
1795
1796
"to_markdown(text)"
1797
1798
},
0 commit comments