P0 fixes: - ModelError.Is(): use exact matching instead of substring contains() - shouldClearStickySession: add context param for cancellation/tracing P1 fixes: - TODO stubs: return 501 Not Implemented errors - validateInstanceSignature: deduplicate to shared validateCodeSignature() - Error messages: standardize to English only - http.go: remove pseudo if-else with duplicate branches
12 lines
469 B
SQL
12 lines
469 B
SQL
-- Migrate upstream accounts to apikey type
|
|
-- Background: upstream type is no longer needed. Antigravity platform APIKey accounts
|
|
-- with base_url pointing to an upstream sub2api instance can reuse the standard
|
|
-- APIKey forwarding path. GetBaseURL()/GetGeminiBaseURL() automatically appends
|
|
-- /antigravity for Antigravity platform APIKey accounts.
|
|
|
|
UPDATE accounts
|
|
SET type = 'apikey'
|
|
WHERE type = 'upstream'
|
|
AND platform = 'antigravity'
|
|
AND deleted_at IS NULL;
|