افزودن ارائهدهندهٔ agy (Google Antigravity) با لاگین headless و پول چرخشی اکانت
- Adapter اکانتمحور با چرخش round-robin و بنچشدن خودکار روی ۴۲۹/۴۰۱ - ورود ادمین از طریق URL بازگشتی گوگل (PKCE) و ذخیرهٔ رمزنگاریشدهٔ refresh token - صفحهٔ مدیریت اکانتهای agy در پنل ادمین به همراه تست و فعال/غیرفعالسازی - مهاجرت Alembic b1c2d3e4f5a6 برای ستونهای اکانت agy - seed همیشه کاتالوگ agy را میسازد و فقط با AI_DEFAULT_PROVIDER=agy مسیریابی میشود
This commit is contained in:
@@ -64,6 +64,21 @@ class Settings(BaseSettings):
|
||||
openai_compatible_base_url: str = ""
|
||||
openai_compatible_api_key: str = ""
|
||||
|
||||
# --- agy (Google Antigravity) --------------------------------------------
|
||||
#: OAuth client of the public Antigravity CLI application. Overridable so a
|
||||
#: private Google Cloud OAuth client can be substituted without a code change.
|
||||
agy_client_id: str = (
|
||||
"1071006060591-tmhssin2h21lcre235vtolojh4g403ep.apps.googleusercontent.com"
|
||||
)
|
||||
agy_client_secret: str = "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"
|
||||
#: Must stay loopback — Google only allows it for public installed clients.
|
||||
agy_redirect_uri: str = "http://localhost:51121/oauth-callback"
|
||||
agy_user_agent: str = "antigravity/1.11.5 windows/amd64"
|
||||
#: Seconds an account is benched after Google answers 429 before the retry
|
||||
#: that reverses the cooldown succeeds. Conservative because the real reset
|
||||
#: wall is only known from quota headers when present.
|
||||
agy_429_cooldown_seconds: int = 900
|
||||
|
||||
# --- git -----------------------------------------------------------------
|
||||
git_provider: str = "mock"
|
||||
gitea_url: str = ""
|
||||
|
||||
Reference in New Issue
Block a user