mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-17 00:26:01 +00:00
Update README.md
This commit is contained in:
@@ -109,7 +109,7 @@ model_list = [{ # list of model deployments
|
||||
router = Router(model_list=model_list)
|
||||
|
||||
# openai.ChatCompletion.create replacement
|
||||
response = await router.completion(model="gpt-3.5-turbo",
|
||||
response = router.completion(model="gpt-3.5-turbo",
|
||||
messages=[{"role": "user", "content": "Hey, how's it going?"}])
|
||||
|
||||
print(response)
|
||||
|
||||
Reference in New Issue
Block a user