mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-06 18:23:07 +00:00
Update mistral.md
Incorrect syntax
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user