mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-17 14:52:37 +00:00
removed assertion in ollama.py and fixed typo in the readme
This commit is contained in:
parent
435f34b05e
commit
98c97d3104
2 changed files with 2 additions and 3 deletions
|
|
@ -21,7 +21,7 @@ print(response)
|
|||
```python
|
||||
response = await client.inference.chat_completion(
|
||||
messages=[UserMessage(content="What is the capital of France?", role="user")],
|
||||
model="Llama3.1-8B-Instruct",
|
||||
model_id="Llama3.1-8B-Instruct",
|
||||
stream=False,
|
||||
)
|
||||
print("\nChat completion response:")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue