Update README.md

This commit is contained in:
Ishaan Jaff 2023-08-08 16:23:59 -07:00 committed by GitHub
parent a2448d549b
commit 5b96906442
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,7 +58,7 @@ for chunk in response:
print(chunk['choices'][0]['delta'])
# claude 2
result = litellm.completion('claude-2', messages, stream=True)
result = completion('claude-2', messages, stream=True)
for chunk in result:
print(chunk['choices'][0]['delta'])
```