forked from phoenix/litellm-mirror
Update mistral.md
Incorrect syntax
This commit is contained in:
parent
8522bb60f3
commit
9f762bbd5b
1 changed files with 4 additions and 6 deletions
|
@ -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
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue