Skip to content

Commit 467fd83

Browse files
committed
Use client variable name for custom client in README.md
1 parent 9c60d15 commit 467fd83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ A custom client can be created with the following fields:
116116

117117
```python
118118
from ollama import Client
119-
ollama = Client(host='http://localhost:11434')
120-
response = ollama.chat(model='llama2', messages=[
119+
client = Client(host='http://localhost:11434')
120+
response = client.chat(model='llama2', messages=[
121121
{
122122
'role': 'user',
123123
'content': 'Why is the sky blue?',

0 commit comments

Comments
 (0)