mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-23 10:42:00 +00:00
fix(antigravity): register google-antigravity ProviderProfile + AUTHOR_MAP
The salvaged PR wired auth.py / providers.py / runtime_provider.py for google-antigravity but never registered a ProviderProfile, so the provider was invisible to list_providers() / the model picker / alias resolution. Register it in the gemini model-provider plugin (alongside gemini and google-gemini-cli) with the antigravity-pa:// scheme and aliases. Also add @pmos69 to release.py AUTHOR_MAP (CI gate).
This commit is contained in:
parent
b7a912ea45
commit
37c37c9dc5
2 changed files with 19 additions and 0 deletions
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
gemini: Google AI Studio (API key) — uses GeminiNativeClient
|
||||
google-gemini-cli: Google Cloud Code Assist (OAuth) — uses GeminiCloudCodeClient
|
||||
google-antigravity: Google Antigravity Code Assist (OAuth) — uses AntigravityCloudCodeClient
|
||||
|
||||
Both report api_mode="chat_completions" but use custom native clients
|
||||
that bypass the standard OpenAI transport. The profile captures auth
|
||||
|
|
@ -68,5 +69,22 @@ google_gemini_cli = GeminiProfile(
|
|||
auth_type="oauth_external",
|
||||
)
|
||||
|
||||
google_antigravity = GeminiProfile(
|
||||
name="google-antigravity",
|
||||
aliases=(
|
||||
"antigravity",
|
||||
"antigravity-oauth",
|
||||
"antigravity-cli",
|
||||
"google-antigravity-oauth",
|
||||
"agy",
|
||||
"agy-cli",
|
||||
),
|
||||
api_mode="chat_completions",
|
||||
env_vars=(), # OAuth — no API key
|
||||
base_url="antigravity-pa://google", # Antigravity Code Assist internal scheme
|
||||
auth_type="oauth_external",
|
||||
)
|
||||
|
||||
register_provider(gemini)
|
||||
register_provider(google_gemini_cli)
|
||||
register_provider(google_antigravity)
|
||||
|
|
|
|||
|
|
@ -45,6 +45,7 @@ ACP_REGISTRY_MANIFEST = REPO_ROOT / "acp_registry" / "agent.json"
|
|||
|
||||
# Auto-extracted from noreply emails + manual overrides
|
||||
AUTHOR_MAP = {
|
||||
"pedro.m.simoes@gmail.com": "pmos69", # PR #29474 salvage (native Antigravity OAuth provider; Gemini CLI sunset #29294/#49701)
|
||||
"mediratta01.pally@gmail.com": "orbisai0security", # PR #9560 salvage (session.py path-traversal guard, V-009)
|
||||
"panghuer023@users.noreply.github.com": "panghuer023", # PR #37994 salvage (interrupt unblocks pending gateway approval; #8697)
|
||||
"w.a.t.s.o.n.mk10@gmail.com": "natehale", # PR #48678 salvage (typing indicator lingers after final reply)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue