removed assertion in ollama.py and fixed typo in the readme

This commit is contained in:
Kai Wu 2024-12-03 16:15:47 -08:00
parent 435f34b05e
commit 98c97d3104
2 changed files with 2 additions and 3 deletions

View file

@ -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:")