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
+4 -6
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
)