mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-18 14:52:04 +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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue