Update mistral.md

Incorrect syntax
This commit is contained in:
nanowell 2023-12-16 17:51:41 +03:00 committed by GitHub
parent 8522bb60f3
commit 9f762bbd5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,9 +16,8 @@ os.environ['MISTRAL_API_KEY'] = ""
response = completion(
model="mistral/mistral-tiny"",
messages=[
"role": "user",
"content": "hello from litellm"
]
{"role": "user", "content": "hello from litellm"}
],
)
print(response)
```
@ -32,9 +31,8 @@ os.environ['MISTRAL_API_KEY'] = ""
response = completion(
model="mistral/mistral-tiny",
messages=[
"role": "user",
"content": "hello from litellm"
]
{"role": "user", "content": "hello from litellm"}
],
stream=True
)