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
18 lines
734 B
SQL
18 lines
734 B
SQL
-- Map claude-haiku-4-5 variants target from claude-sonnet-4-5 to claude-sonnet-4-6
|
|
--
|
|
-- Only updates when the current target is exactly claude-sonnet-4-5.
|
|
|
|
-- 1. claude-haiku-4-5
|
|
UPDATE accounts
|
|
SET credentials = jsonb_set(credentials, '{model_mapping,claude-haiku-4-5}', '"claude-sonnet-4-6"')
|
|
WHERE platform = 'antigravity'
|
|
AND deleted_at IS NULL
|
|
AND credentials->'model_mapping'->>'claude-haiku-4-5' = 'claude-sonnet-4-5';
|
|
|
|
-- 2. claude-haiku-4-5-20251001
|
|
UPDATE accounts
|
|
SET credentials = jsonb_set(credentials, '{model_mapping,claude-haiku-4-5-20251001}', '"claude-sonnet-4-6"')
|
|
WHERE platform = 'antigravity'
|
|
AND deleted_at IS NULL
|
|
AND credentials->'model_mapping'->>'claude-haiku-4-5-20251001' = 'claude-sonnet-4-5';
|