[google/syzkaller] 3620ef: pkg/aflow/backend/gemini: support explicit credent...

0 views
Skip to first unread message

Alexander Potapenko

unread,
10:49 AM (9 hours ago) 10:49 AM
to syzk...@googlegroups.com
Branch: refs/heads/gh-readonly-queue/master/pr-7525-991b4a336166ba0cdcdb564caa190d082d85d727
Home: https://github.com/google/syzkaller
Commit: 3620ef53e0b0543e24c36f177e229199e059dae6
https://github.com/google/syzkaller/commit/3620ef53e0b0543e24c36f177e229199e059dae6
Author: Alexander Potapenko <gli...@google.com>
Date: 2026-06-29 (Mon, 29 Jun 2026)

Changed paths:
M pkg/aflow/backend/gemini/gemini.go
M syz-cluster/pkg/triage/ai.go

Log Message:
-----------
pkg/aflow/backend/gemini: support explicit credentials config

Update gemini.Config to support passing a *genai.ClientConfig directly in the
configuration struct. This allows callers to explicitly choose the backend
provider and supply the credentials without relying on environment variables
queried inside pkg/aflow.

Additionally, update syz-cluster to pass the API key resolved from GCP secrets.


Commit: 0c9f90e3aadcde50f83d4116330be90a3f517527
https://github.com/google/syzkaller/commit/0c9f90e3aadcde50f83d4116330be90a3f517527
Author: Alexander Potapenko <gli...@google.com>
Date: 2026-06-29 (Mon, 29 Jun 2026)

Changed paths:
M syz-agent/agent/agent.go
M syz-agent/agent/config.go
M syz-agent/agent/config_test.go

Log Message:
-----------
syz-agent: support config-driven Vertex AI routing

Add "workflow_backends" map and "default_backend" configurations to syz-agent.
This allows routing specific workflows explicitly to a chosen LLM backend (e.g.,
"gemini" or "vertex") and fallback to a default.

Construct and pass the *genai.ClientConfig explicitly to gemini.NewProvider and
remove os.Setenv calls from the config loader.

Dynamically resolve the cloud project ID via gcpsecret.ProjectName() with environment
fallback to GOOGLE_CLOUD_PROJECT, removing the "cloud_project" field from the JSON config.

Additionally, remove the unused "workflows" ACL filtering list and simplify
validation checks to verify configured workflow names directly against registered
workflows.


Commit: 3b1e58161f919d1b8522b1ea7e96f69be4c1925b
https://github.com/google/syzkaller/commit/3b1e58161f919d1b8522b1ea7e96f69be4c1925b
Author: Alexander Potapenko <gli...@google.com>
Date: 2026-06-29 (Mon, 29 Jun 2026)

Changed paths:
M tools/syz-aflow/aflow.go

Log Message:
-----------
tools/syz-aflow: support vertex AI provider option

Add support for the "vertex" provider value to the -provider CLI flag. When selected,
verify GOOGLE_CLOUD_PROJECT is set and configure genai.ClientConfig to target Vertex AI
using Application Default Credentials (ADC).

Otherwise, default to the Gemini Developer API, requiring GOOGLE_API_KEY or
GEMINI_API_KEY env variables.


Commit: fff8d0a0e302881e84edbe2230016e3bec252ec6
https://github.com/google/syzkaller/commit/fff8d0a0e302881e84edbe2230016e3bec252ec6
Author: Alexander Potapenko <gli...@google.com>
Date: 2026-06-29 (Mon, 29 Jun 2026)

Changed paths:
M syz-agent/k8s/overlays/prod-agent/agent-config.json

Log Message:
-----------
syz-agent/k8s: configure repro-c to use vertex backend in deployment templates


Compare: https://github.com/google/syzkaller/compare/3620ef53e0b0%5E...fff8d0a0e302

To unsubscribe from these emails, change your notification settings at https://github.com/google/syzkaller/settings/notifications

Alexander Potapenko

unread,
11:03 AM (9 hours ago) 11:03 AM
to syzk...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages