We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03f167c commit 186b5deCopy full SHA for 186b5de
src/google/adk/models/google_llm.py
@@ -11,6 +11,8 @@
11
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
# See the License for the specific language governing permissions and
13
# limitations under the License.
14
+
15
16
from __future__ import annotations
17
18
import contextlib
@@ -179,7 +181,9 @@ def _live_api_client(self) -> Client:
179
181
api_version = 'v1beta1'
180
182
# use default api version for vertex
183
return Client(
- http_options=types.HttpOptions(headers=self._tracking_headers,api_version=api_version)
184
+ http_options=types.HttpOptions(
185
+ headers=self._tracking_headers, api_version=api_version
186
+ )
187
)
188
else:
189
# use v1alpha for ml_dev
0 commit comments