ollama-python
ollama-python copied to clipboard
Max token question
How do you set the max token with ollama python?
My code doesn't seem to work. Thanks!
output=ollama.chat(model='my_model',max_token=5, messages=[])
set it in options, like this