mirror of
https://github.com/ollama/ollama-python.git
synced 2026-01-13 21:57:16 +08:00
Remove unused messages variable from thinking-generate example
This commit is contained in:
parent
ce6846e4fc
commit
4c11d507b0
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user