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
593 B
SQL
18 lines
593 B
SQL
-- Map claude-opus-4-6 to claude-opus-4-5-thinking
|
|
--
|
|
-- Notes:
|
|
-- - Updates existing Antigravity accounts' model_mapping
|
|
-- - Changes claude-opus-4-6 target from claude-opus-4-6 to claude-opus-4-5-thinking
|
|
-- - This is needed because previous versions didn't have this mapping
|
|
|
|
UPDATE accounts
|
|
SET credentials = jsonb_set(
|
|
credentials,
|
|
'{model_mapping,claude-opus-4-6}',
|
|
'"claude-opus-4-5-thinking"'::jsonb
|
|
)
|
|
WHERE platform = 'antigravity'
|
|
AND deleted_at IS NULL
|
|
AND credentials->'model_mapping' IS NOT NULL
|
|
AND credentials->'model_mapping'->>'claude-opus-4-6' IS NOT NULL;
|