Skip to content

Commit 63ca747

Browse files
authored
Merge pull request #525 from hwittenborn/main
Remove unused `messages` variable from `thinking-generate` example
2 parents ce6846e + 4c11d50 commit 63ca747

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

examples/thinking-generate.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
from ollama import generate
22

3-
messages = [
4-
{
5-
'role': 'user',
6-
'content': 'What is 10 + 23?',
7-
},
8-
]
9-
103
response = generate('deepseek-r1', 'why is the sky blue', think=True)
114

125
print('Thinking:\n========\n\n' + response.thinking)

0 commit comments

Comments
 (0)