forked from phoenix/litellm-mirror
Merge pull request #5326 from BerriAI/litellm_Add_vertex_multimodal_embedding
[Feat] add vertex multimodal embedding support
This commit is contained in:
commit
dd524a4f50
5 changed files with 242 additions and 16 deletions
|
@ -541,7 +541,7 @@ def function_setup(
|
|||
call_type == CallTypes.embedding.value
|
||||
or call_type == CallTypes.aembedding.value
|
||||
):
|
||||
messages = args[1] if len(args) > 1 else kwargs["input"]
|
||||
messages = args[1] if len(args) > 1 else kwargs.get("input", None)
|
||||
elif (
|
||||
call_type == CallTypes.image_generation.value
|
||||
or call_type == CallTypes.aimage_generation.value
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue