You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(live): support speechConfig.languageCode, thinkingBudget, and urlContext/codeExecution tools #363
Allow generationConfig.speechConfig.languageCode on conversation audio models (with or without voice, encoding configuration[15] as [voiceConfig, languageCode] or [null, languageCode]).
Support generationConfig.thinkingConfig.thinkingBudget (capability code 35thinking_budget, encoding configuration[16] as [1, thinkingBudget], with -1 treated as dynamic default matching GenerateContent).
Support urlContext (Tool field 8 / index 7, _.H_a) and codeExecution (Tool field 1 / index 0, _.E_a) in Live setup and mid-session contextUpdate.
docs/protocol.md: sync Live setup and tools tables.
internal/aistudio/bidi_setup_parity_test.go, internal/api/live_gemini_setup_test.go: unit tests covering speechConfig.languageCode (with and without voice), thinkingBudget, and urlContext / codeExecution encoding in setup and contextUpdate.
验证 / Verification
go test -mod=readonly -trimpath -count=1 ./internal/aistudio/... ./internal/api/... (internal/aistudio0.046s, internal/api0.088s) — passed.
go vet -mod=readonly ./internal/aistudio/... ./internal/api/... ./internal/i18n/... — passed.
Activity