mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-25 01:02:15 +00:00
fix gemini test
This commit is contained in:
parent
96fa9d46f5
commit
24474789d7
1 changed files with 2 additions and 1 deletions
|
|
@ -166,7 +166,7 @@ class VertexBase(BaseLLM):
|
|||
def _get_token_and_url(
|
||||
self,
|
||||
model: str,
|
||||
auth_header: str,
|
||||
auth_header: Optional[str],
|
||||
gemini_api_key: Optional[str],
|
||||
vertex_project: Optional[str],
|
||||
vertex_location: Optional[str],
|
||||
|
|
@ -192,6 +192,7 @@ class VertexBase(BaseLLM):
|
|||
stream=stream,
|
||||
gemini_api_key=gemini_api_key,
|
||||
)
|
||||
auth_header = None # this field is not used for gemin
|
||||
else:
|
||||
vertex_location = self.get_vertex_region(vertex_region=vertex_location)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue