mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
feat(gemini.py): support google-genai system instruction
This commit is contained in:
parent
ba57434374
commit
67b1ad622f
3 changed files with 37 additions and 10 deletions
|
@ -417,7 +417,7 @@ def completion(
|
|||
return async_completion(**data)
|
||||
|
||||
if mode == "vision":
|
||||
print_verbose("\nMaking VertexAI Gemini Pro Vision Call")
|
||||
print_verbose("\nMaking VertexAI Gemini Pro / Pro Vision Call")
|
||||
print_verbose(f"\nProcessing input messages = {messages}")
|
||||
tools = optional_params.pop("tools", None)
|
||||
prompt, images = _gemini_vision_convert_messages(messages=messages)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue