(feat) track mistral model supports function calling

This commit is contained in:
ishaan-jaff 2024-02-28 17:15:50 -08:00
parent e5269fdb7c
commit 041e60a92c
3 changed files with 5 additions and 3 deletions

View file

@ -555,7 +555,8 @@
"input_cost_per_token": 0.000008,
"output_cost_per_token": 0.000024,
"litellm_provider": "mistral",
"mode": "chat"
"mode": "chat",
"supports_function_calling": true
},
"mistral/mistral-embed": {
"max_tokens": 8192,

View file

@ -71,7 +71,7 @@ def test_parallel_function_call():
}
]
response = litellm.completion(
model="gpt-3.5-turbo-1106",
model="mistral/mistral-medium-latest",
messages=messages,
tools=tools,
tool_choice="auto", # auto is default, but we'll be explicit

View file

@ -555,7 +555,8 @@
"input_cost_per_token": 0.000008,
"output_cost_per_token": 0.000024,
"litellm_provider": "mistral",
"mode": "chat"
"mode": "chat",
"supports_function_calling": true
},
"mistral/mistral-embed": {
"max_tokens": 8192,