mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-16 23:41:43 +00:00
fix(vertex_httpx.py): return project id, if given
This commit is contained in:
parent
98c1fb0fbd
commit
4e9f66bc7e
1 changed files with 1 additions and 1 deletions
|
|
@ -1095,7 +1095,7 @@ class VertexLLM(BaseLLM):
|
|||
if not self._credentials or not self._credentials.token:
|
||||
raise RuntimeError("Could not resolve API token from the environment")
|
||||
|
||||
return self._credentials.token, self.project_id
|
||||
return self._credentials.token, project_id or self.project_id
|
||||
|
||||
def is_using_v1beta1_features(self, optional_params: dict) -> bool:
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue