Merge pull request #525 from hwittenborn/main
Some checks failed
test / test (push) Has been cancelled
test / lint (push) Has been cancelled

Remove unused `messages` variable from `thinking-generate` example
This commit is contained in:
Devon Rifkin 2025-05-30 16:14:02 -07:00 committed by GitHub
commit 63ca747622
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,12 +1,5 @@
from ollama import generate
messages = [
{
'role': 'user',
'content': 'What is 10 + 23?',
},
]
response = generate('deepseek-r1', 'why is the sky blue', think=True)
print('Thinking:\n========\n\n' + response.thinking)