forked from phoenix/litellm-mirror
feat(vertex_ai_partner.py): initial working commit for calling vertex ai mistral
Closes https://github.com/BerriAI/litellm/issues/4874
This commit is contained in:
parent
1a8f45e8da
commit
5b71421a7b
10 changed files with 343 additions and 140 deletions
|
@ -160,7 +160,7 @@ class MistralConfig:
|
|||
optional_params["max_tokens"] = value
|
||||
if param == "tools":
|
||||
optional_params["tools"] = value
|
||||
if param == "stream" and value == True:
|
||||
if param == "stream" and value is True:
|
||||
optional_params["stream"] = value
|
||||
if param == "temperature":
|
||||
optional_params["temperature"] = value
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue