runtime error
Exit code: 1. Reason: grok\",\"upstream_model\":\"grok-4.20-expert\",\"unit_points\":0,\"input_unit_points\":200,\"output_unit_points\":600,\"enabled\":true}' AS JSON))\nWHERE `key`='billing.model_prices' AND JSON_SEARCH(CAST(`value` AS JSON), 'one', 'grok-4.20-expert', NULL, '$[*].model_code') IS NULL;\nUPDATE `system_config`\nSET `value` = JSON_ARRAY_APPEND(CAST(`value` AS JSON), '$', CAST('{\"model_code\":\"grok-4.20-heavy\",\"name\":\"Grok 4.20 Heavy\",\"kind\":\"text\",\"provider\":\"grok\",\"upstream_model\":\"grok-4.20-heavy\",\"unit_points\":0,\"input_unit_points\":400,\"output_unit_points\":1200,\"enabled\":true}' AS JSON))\nWHERE `key`='billing.model_prices' AND JSON_SEARCH(CAST(`value` AS JSON), 'one', 'grok-4.20-heavy', NULL, '$[*].model_code') IS NULL;\nUPDATE `system_config`\nSET `value` = JSON_ARRAY_APPEND(CAST(`value` AS JSON), '$', CAST('{\"model_code\":\"grok-4.3-beta\",\"name\":\"Grok 4.3 Beta\",\"kind\":\"text\",\"provider\":\"grok\",\"upstream_model\":\"grok-4.3-beta\",\"unit_points\":0,\"input_unit_points\":300,\"output_unit_points\":900,\"enabled\":true}' AS JSON))\nWHERE `key`='billing.model_prices' AND JSON_SEARCH(CAST(`value` AS JSON), 'one', 'grok-4.3-beta', NULL, '$[*].model_code') IS NULL;\nUPDATE `system_config`\nSET `value` = JSON_ARRAY_APPEND(CAST(`value` AS JSON), '$', CAST('{\"model_code\":\"grok-imagine-video\",\"name\":\"Grok Imagine Video\",\"kind\":\"video\",\"provider\":\"grok\",\"upstream_model\":\"grok-imagine-video\",\"unit_points\":2000,\"enabled\":true}' AS JSON))\nWHERE `key`='billing.model_prices' AND JSON_SEARCH(CAST(`value` AS JSON), 'one', 'grok-imagine-video', NULL, '$[*].model_code') IS NULL;": Error 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'JSON), '$', CAST('{"model_code":"grok-4.20-fast","name":"Grok 4.20 Fast","kin...' at line 2 2026-05-13 18:33:55 6 [Warning] Aborted connection 6 to db: 'klein_ai' user: 'klein' host: 'localhost' (Got an error reading communication packets)
Container logs:
Fetching error logs...