mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-16 23:41:43 +00:00
fix: fix unbound var
This commit is contained in:
parent
0eea01dae9
commit
4868a6cf55
1 changed files with 2 additions and 0 deletions
|
|
@ -1373,6 +1373,8 @@ class VertexLLM(BaseLLM):
|
|||
cached_content=optional_params.pop("cached_content", None),
|
||||
logging_obj=logging_obj,
|
||||
)
|
||||
else: # [TODO] implement context caching for gemini as well
|
||||
cached_content = optional_params.pop("cached_content", None)
|
||||
|
||||
# Separate system prompt from rest of message
|
||||
supports_system_message = get_supports_system_message(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue