Commit 4ffe8fb
fix: api client initialization logic to be mutually exclusive between ExpressMode and GCP projects
Otherwise we get errors of the form: `Project/location and API key are mutually exclusive in the client initializer` (https://github.com/googleapis/python-genai/blob/1ccad7b70ae1068cb5f3e866ad7ca4d42aa55e1e/google/genai/_api_client.py#L590-L591).
Co-authored-by: Yeesian Ng <ysian@google.com>
PiperOrigin-RevId: 8905889271 parent cdb3ff4 commit 4ffe8fb
File tree
2 files changed
+8
-6
lines changed- src/google/adk
- memory
- sessions
2 files changed
+8
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
397 | 397 | | |
398 | 398 | | |
399 | 399 | | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
405 | 403 | | |
406 | 404 | | |
407 | 405 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
376 | 376 | | |
377 | 377 | | |
378 | 378 | | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
379 | 384 | | |
380 | 385 | | |
381 | 386 | | |
382 | 387 | | |
383 | | - | |
384 | 388 | | |
385 | 389 | | |
386 | 390 | | |
| |||
0 commit comments