feat(gemini): extend x-goog-api-client to TTS path + cite Google requirement

Follow-up to salvaged PR #47385. Google's partner-integration guidance
requires platform/library clients to send the x-goog-api-client header
(company-product/version) on Gemini API calls:
https://ai.google.dev/gemini-api/docs/partner-integration

- tools/tts_tool.py: add the header to the native Gemini TTS generateContent
  call (sibling site the original PR missed)
- agent/gemini_native_adapter.py: cite the requirement doc inline
- tests/tools/test_tts_gemini.py: assert the TTS header is present
- scripts/release.py: AUTHOR_MAP entry for dharmadhikari@google.com
This commit is contained in:
teknium1 2026-06-18 19:15:24 -07:00
parent 4437a5dade
commit ce2d3bed2a
No known key found for this signature in database
4 changed files with 28 additions and 1 deletions

View file

@ -475,6 +475,7 @@ AUTHOR_MAP = {
"bzarnitz13@gmail.com": "Beandon13",
"tony@tonysimons.dev": "asimons81",
"jetha@google.com": "jethac",
"dharmadhikari@google.com": "vishal-dharm",
"jani@0xhoneyjar.xyz": "deep-name",
# LINE messaging plugin (synthesis PR)
"32443648+leepoweii@users.noreply.github.com": "leepoweii",