AI section "safety" generated (1710 tokens)
🤖 Generating AI description for section: features
6:25:20 PM [express] PUT /api/description-templates/8 200 in 143ms :: {"id":8,"name":"marcin 25","ca…
6:25:20 PM [express] GET /api/description-templates/8 200 in 143ms :: {"id":8,"name":"marcin 25","ca…
6:25:20 PM [express] GET /api/description-templates 200 in 377ms :: [{"id":8,"name":"marcin 25","cat…
6:25:20 PM [express] GET /api/description-templates/8 304 in 144ms :: {"id":8,"name":"marcin 25","ca…
6:25:22 PM [vite] hmr update /src/pages/product-matrix-editor.tsx, /src/index.css?v=bpswFM6XkL9Nc_RAN0ZPn (x3)
6:25:24 PM [express] GET /api/catalog-products 200 in 457ms :: {"products":[{"id":256,"sku":"SKU-256…
Error adding banners: error: relation "product_images" does not exist
    at /home/runner/workspace/node_modules/pg-pool/index.js:45:11
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async addBanners (/home/runner/workspace/server/ai-service.ts:400:29)
    at async generateProductDescription (/home/runner/workspace/server/ai-service.ts:198:17)
    at async buildTemplateContext (/home/runner/workspace/server/routes.ts:259:26)
    at async <anonymous> (/home/runner/workspace/server/routes.ts:9256:35) {
  length: 113,
  severity: 'ERROR',
  code: '42P01',
  detail: undefined,
  hint: undefined,
  position: '65',
  internalPosition: undefined,
  internalQuery: undefined,
  where: undefined,
  schema: undefined,
  table: undefined,
  column: undefined,
  dataType: undefined,
  constraint: undefined,
  file: 'parse_relation.c',
  line: '1449',
  routine: 'parserOpenTable'
}
✅ AI section "features" generated (1703 tokens)
🔍 Looking for accessory group: "tkaniny_wotan"
📦 Available groups: 
⚠️  Accessory group "tkaniny_wotan" not found or empty
🔍 Looking for accessory group: "eko_cayenne"
📦 Available groups: 
⚠️  Accessory group "eko_cayenne" not found or empty
✅ Updated product 257: Szafka TRES na buty z szufladą  TRES 60×36×82 cm 3 półki i szuflada BIALY
🎉 Regeneration complete: 2/2 products updated
6:25:24 PM [express] POST /api/product-matrices/7/regenerate-descriptions 200 in 47361ms :: {"succes…
6:25:24 PM [express] GET /api/product-matrices 200 in 191ms :: {"matrices":[{"id":7,"name":"Tres 60"…
6:25:27 PM [express] GET /api/description-templates 200 in 150ms :: [{"id":8,"name":"marcin 25","cat…
6:25:27 PM [express] GET /api/product-matrices/7/products 304 in 153ms :: [{"id":256,"sku":"SKU-256"…
6:25:29 PM [express] GET /api/allegro/connection-status 304 in 146ms :: {"connected":true,"requiresR…
🔄 Regenerating descriptions for all products from matrix ID: 7
📋 Matrix found: Tres 60, Template ID: 8
📦 Found 2 products to regenerate
❌ Error fetching accessories: error: relation "product_creator.matrix_accessories" does not exist
    at /home/runner/workspace/node_modules/pg-pool/index.js:45:11
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async buildTemplateContext (/home/runner/workspace/server/routes.ts:150:22)
    at async <anonymous> (/home/runner/workspace/server/routes.ts:9256:35) {
  length: 134,
  severity: 'ERROR',
  code: '42P01',
  detail: undefined,
  hint: undefined,
  position: '614',
  internalPosition: undefined,
  internalQuery: undefined,
  where: undefined,
  schema: undefined,
  table: undefined,
  column: undefined,
  dataType: undefined,
  constraint: undefined,
  file: 'parse_relation.c',
  line: '1428',
  routine: 'parserOpenTable'
}
🤖 Generating AI description for section: care
6:25:51 PM [express] GET /api/sync/status 304 in 148ms :: {"lastSyncAt":"2025-10-26T18:10:33.584Z","…
6:25:51 PM [express] GET /api/orders/statistics 304 in 365ms :: {"totalOrders":717,"paidOrders":653,…
6:25:51 PM [express] GET /api/orders/today-stats 304 in 145ms :: {"revenueToday":23968.92,"paidToday…
Error adding banners: error: relation "product_images" does not exist
    at /home/runner/workspace/node_modules/pg-pool/index.js:45:11
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async addBanners (/home/runner/workspace/server/ai-service.ts:400:29)
    at async generateProductDescription (/home/runner/workspace/server/ai-service.ts:198:17)
    at async buildTemplateContext (/home/runner/workspace/server/routes.ts:259:26)
    at async <anonymous> (/home/runner/workspace/server/routes.ts:9256:35) {
  length: 113,
  severity: 'ERROR',
  code: '42P01',
  detail: undefined,
  hint: undefined,
  position: '65',
  internalPosition: undefined,
  internalQuery: undefined,
  where: undefined,
  schema: undefined,
  table: undefined,
  column: undefined,
  dataType: undefined,
  constraint: undefined,
  file: 'parse_relation.c',
  line: '1449',
  routine: 'parserOpenTable'
}
✅ AI section "care" generated (1730 tokens)
🤖 Generating AI description for section: intro
6:25:56 PM [express] GET /api/sync/status 304 in 141ms :: {"lastSyncAt":"2025-10-26T18:10:33.584Z","…
6:25:56 PM [express] GET /api/orders/statistics 304 in 145ms :: {"totalOrders":717,"paidOrders":653,…
6:25:57 PM [express] GET /api/orders/today-stats 304 in 362ms :: {"revenueToday":23968.92,"paidToday…
Error adding banners: error: relation "product_images" does not exist
    at /home/runner/workspace/node_modules/pg-pool/index.js:45:11
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async addBanners (/home/runner/workspace/server/ai-service.ts:400:29)
    at async generateProductDescription (/home/runner/workspace/server/ai-service.ts:198:17)
    at async buildTemplateContext (/home/runner/workspace/server/routes.ts:259:26)
    at async <anonymous> (/home/runner/workspace/server/routes.ts:9256:35) {
  length: 113,
  severity: 'ERROR',
  code: '42P01',
  detail: undefined,
  hint: undefined,
  position: '65',
  internalPosition: undefined,
  internalQuery: undefined,
  where: undefined,
  schema: undefined,
  table: undefined,
  column: undefined,
  dataType: undefined,
  constraint: undefined,
  file: 'parse_relation.c',
  line: '1449',
  routine: 'parserOpenTable'
}
✅ AI section "intro" generated (1703 tokens)
🤖 Generating AI description for section: safety