-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcreated-modules.log
More file actions
561 lines (543 loc) · 127 KB
/
Copy pathcreated-modules.log
File metadata and controls
561 lines (543 loc) · 127 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
[28/05/2026, 18:53:49] [INFO] [AdminModulesActions.updateModule] Módulo atualizado com sucesso pelo professor | Meta: {"moduleId":"cmpo5p8j8000homl0q652d744","title":"Introdução e Endereçamento IPv6","description":"Aprenda os conceitos fundamentais do protocolo IPv6, incluindo a estrutura do cabeçalho, notação hexadecimal e tipos de endereços."}
[28/05/2026, 18:55:42] [INFO] [AdminModulesActions.updateModule] Módulo atualizado com sucesso pelo professor | Meta: {"moduleId":"cmpo5p8j8000homl0q652d744","title":"Introdução e Endereçamento IPv6","description":"Aprenda os conceitos fundamentais do protocolo IPv6, incluindo a estrutura do cabeçalho, notação hexadecimal e tipos de endereços."}
[28/05/2026, 18:55:58] [INFO] [RagIngestionService.processSourceFile] Enfileirando arquivo para processamento | Meta: {"fileId":"cmpq127yf0002omtsvxy5v3wr","mimeType":"application/pdf"}
[28/05/2026, 18:55:58] [INFO] [RagIngestionService.processSourceFile] Arquivo enfileirado com sucesso | Meta: {"fileId":"cmpq127yf0002omtsvxy5v3wr"}
[28/05/2026, 18:56:01] [INFO] [RagIngestionService.processSourceFile] Enfileirando arquivo para processamento | Meta: {"fileId":"cmpq123uk0001omtsttfddlos","mimeType":"application/pdf"}
[28/05/2026, 18:56:01] [INFO] [RagIngestionService.processSourceFile] Arquivo enfileirado com sucesso | Meta: {"fileId":"cmpq123uk0001omtsttfddlos"}
[28/05/2026, 18:56:04] [INFO] [RagIngestionService.processSourceFile] Enfileirando arquivo para processamento | Meta: {"fileId":"cmpq121ji0000omts6zl04y0f","mimeType":"application/pdf"}
[28/05/2026, 18:56:04] [INFO] [RagIngestionService.processSourceFile] Arquivo enfileirado com sucesso | Meta: {"fileId":"cmpq121ji0000omts6zl04y0f"}
[28/05/2026, 18:56:59] [INFO] [AdminModulesActions.updateModule] Módulo atualizado com sucesso pelo professor | Meta: {"moduleId":"cmpo5p8j8000homl0q652d744","title":"Introdução e Endereçamento IPv6","description":"Aprenda os conceitos fundamentais do protocolo IPv6, incluindo a estrutura do cabeçalho, notação hexadecimal e tipos de endereços."}
[28/05/2026, 18:57:02] [INFO] [AdminModulesActions.updateModule] Módulo atualizado com sucesso pelo professor | Meta: {"moduleId":"cmpo5p8j8000homl0q652d744","title":"Introdução e Endereçamento IPv6","description":"Aprenda os conceitos fundamentais do protocolo IPv6, incluindo a estrutura do cabeçalho, notação hexadecimal e tipos de endereços."}
[28/05/2026, 18:57:19] [INFO] [AdminModulesActions.updateModule] Módulo atualizado com sucesso pelo professor | Meta: {"moduleId":"cmpo5p8j8000homl0q652d744","title":"Introdução e Endereçamento IPv6","description":"Aprenda os conceitos fundamentais do protocolo IPv6, incluindo a estrutura do cabeçalho, notação hexadecimal e tipos de endereços."}
[28/05/2026, 18:57:45] [INFO] [AdminModulesActions.updateModule] Módulo atualizado com sucesso pelo professor | Meta: {"moduleId":"cmpo5p8j8000homl0q652d744","title":"Introdução e Endereçamento IPv6","description":"Aprenda os conceitos fundamentais do protocolo IPv6, incluindo a estrutura do cabeçalho, notação hexadecimal e tipos de endereços."}
[28/05/2026, 19:03:35] [INFO] [WorkerProcess.Startup] Starting BullMQ workers...
[28/05/2026, 19:03:35] [INFO] [EmbeddingWorker.Worker] Embedding worker is ready and waiting for jobs
[28/05/2026, 19:03:35] [INFO] [WorkerProcess.Worker] Embedding worker is ready and waiting for jobs
[28/05/2026, 19:03:35] [INFO] [EmbeddingWorker.Worker] Started processing job 12
[28/05/2026, 19:03:35] [INFO] [WorkerProcess.Worker] Started processing job 12
[28/05/2026, 19:03:35] [INFO] [EmbeddingWorker.Worker] Processing job 12 for file cmpq127yf0002omtsvxy5v3wr
[28/05/2026, 19:03:35] [INFO] [EmbeddingWorker.Worker] Chunks gerados pelo SemanticChunker | Meta: {"totalChunks":12,"parents":1,"children":11}
[28/05/2026, 19:03:38] [INFO] [EmbeddingWorker.Worker] Embeddings batch 1/1 concluído
[28/05/2026, 19:03:39] [INFO] [EmbeddingWorker.Worker] Job 12 concluído com sucesso | Meta: {"parents":1,"children":11}
[28/05/2026, 19:03:39] [INFO] [EmbeddingWorker.Worker] Completed job 12
[28/05/2026, 19:03:39] [INFO] [WorkerProcess.Worker] Completed job 12
[28/05/2026, 19:03:39] [INFO] [EmbeddingWorker.Worker] Processing job 13 for file cmpq123uk0001omtsttfddlos
[28/05/2026, 19:03:41] [INFO] [EmbeddingWorker.Worker] Chunks gerados pelo SemanticChunker | Meta: {"totalChunks":179,"parents":15,"children":164}
[28/05/2026, 19:03:43] [INFO] [EmbeddingWorker.Worker] Embeddings batch 1/4 concluído
[28/05/2026, 19:03:45] [INFO] [EmbeddingWorker.Worker] Embeddings batch 2/4 concluído
[28/05/2026, 19:03:46] [INFO] [EmbeddingWorker.Worker] Embeddings batch 3/4 concluído
[28/05/2026, 19:03:47] [INFO] [EmbeddingWorker.Worker] Embeddings batch 4/4 concluído
[28/05/2026, 19:03:52] [ERROR] [EmbeddingWorker.Worker] Failed job 13:
Invalid `prisma.$executeRawUnsafe()` invocation:
Transaction API error: Transaction already closed: A query cannot be executed on an expired transaction. The timeout for this transaction was 5000 ms, however 5033 ms passed since the start of the transaction. Consider increasing the interactive transaction timeout or doing less work in the transaction.
[28/05/2026, 19:03:52] [ERROR] [EmbeddingWorker.Worker] Job 13 failed:
Invalid `prisma.$executeRawUnsafe()` invocation:
Transaction API error: Transaction already closed: A query cannot be executed on an expired transaction. The timeout for this transaction was 5000 ms, however 5033 ms passed since the start of the transaction. Consider increasing the interactive transaction timeout or doing less work in the transaction.
[28/05/2026, 19:03:52] [ERROR] [WorkerProcess.Worker] Job 13 failed:
Invalid `prisma.$executeRawUnsafe()` invocation:
Transaction API error: Transaction already closed: A query cannot be executed on an expired transaction. The timeout for this transaction was 5000 ms, however 5033 ms passed since the start of the transaction. Consider increasing the interactive transaction timeout or doing less work in the transaction.
[28/05/2026, 19:03:52] [INFO] [EmbeddingWorker.Worker] Processing job 14 for file cmpq121ji0000omts6zl04y0f
[28/05/2026, 19:03:54] [INFO] [EmbeddingWorker.Worker] Chunks gerados pelo SemanticChunker | Meta: {"totalChunks":915,"parents":433,"children":482}
[28/05/2026, 19:03:56] [INFO] [EmbeddingWorker.Worker] Embeddings batch 1/10 concluído
[28/05/2026, 19:03:57] [INFO] [EmbeddingWorker.Worker] Embeddings batch 2/10 concluído
[28/05/2026, 19:03:58] [INFO] [EmbeddingWorker.Worker] Embeddings batch 3/10 concluído
[28/05/2026, 19:04:01] [INFO] [EmbeddingWorker.Worker] Embeddings batch 4/10 concluído
[28/05/2026, 19:04:02] [INFO] [EmbeddingWorker.Worker] Embeddings batch 5/10 concluído
[28/05/2026, 19:04:04] [INFO] [EmbeddingWorker.Worker] Embeddings batch 6/10 concluído
[28/05/2026, 19:04:05] [INFO] [EmbeddingWorker.Worker] Embeddings batch 7/10 concluído
[28/05/2026, 19:04:06] [INFO] [EmbeddingWorker.Worker] Embeddings batch 8/10 concluído
[28/05/2026, 19:04:07] [INFO] [EmbeddingWorker.Worker] Embeddings batch 9/10 concluído
[28/05/2026, 19:04:08] [INFO] [EmbeddingWorker.Worker] Embeddings batch 10/10 concluído
[28/05/2026, 19:04:13] [INFO] [EmbeddingWorker.Worker] Job 14 concluído com sucesso | Meta: {"parents":433,"children":482}
[28/05/2026, 19:04:13] [INFO] [EmbeddingWorker.Worker] Completed job 14
[28/05/2026, 19:04:13] [INFO] [WorkerProcess.Worker] Completed job 14
[28/05/2026, 19:04:13] [INFO] [EmbeddingWorker.Worker] Processing job 13 for file cmpq123uk0001omtsttfddlos
[28/05/2026, 19:04:15] [INFO] [EmbeddingWorker.Worker] Chunks gerados pelo SemanticChunker | Meta: {"totalChunks":179,"parents":15,"children":164}
[28/05/2026, 19:04:17] [INFO] [EmbeddingWorker.Worker] Embeddings batch 1/4 concluído
[28/05/2026, 19:04:18] [INFO] [EmbeddingWorker.Worker] Embeddings batch 2/4 concluído
[28/05/2026, 19:04:19] [INFO] [EmbeddingWorker.Worker] Embeddings batch 3/4 concluído
[28/05/2026, 19:04:20] [INFO] [EmbeddingWorker.Worker] Embeddings batch 4/4 concluído
[28/05/2026, 19:04:25] [ERROR] [EmbeddingWorker.Worker] Failed job 13:
Invalid `prisma.$executeRawUnsafe()` invocation:
Transaction API error: Transaction already closed: A query cannot be executed on an expired transaction. The timeout for this transaction was 5000 ms, however 5044 ms passed since the start of the transaction. Consider increasing the interactive transaction timeout or doing less work in the transaction.
[28/05/2026, 19:04:25] [ERROR] [EmbeddingWorker.Worker] Job 13 failed:
Invalid `prisma.$executeRawUnsafe()` invocation:
Transaction API error: Transaction already closed: A query cannot be executed on an expired transaction. The timeout for this transaction was 5000 ms, however 5044 ms passed since the start of the transaction. Consider increasing the interactive transaction timeout or doing less work in the transaction.
[28/05/2026, 19:04:25] [ERROR] [WorkerProcess.Worker] Job 13 failed:
Invalid `prisma.$executeRawUnsafe()` invocation:
Transaction API error: Transaction already closed: A query cannot be executed on an expired transaction. The timeout for this transaction was 5000 ms, however 5044 ms passed since the start of the transaction. Consider increasing the interactive transaction timeout or doing less work in the transaction.
[28/05/2026, 19:04:29] [INFO] [EmbeddingWorker.Worker] Started processing job 13
[28/05/2026, 19:04:29] [INFO] [WorkerProcess.Worker] Started processing job 13
[28/05/2026, 19:04:29] [INFO] [EmbeddingWorker.Worker] Processing job 13 for file cmpq123uk0001omtsttfddlos
[28/05/2026, 19:04:32] [INFO] [EmbeddingWorker.Worker] Chunks gerados pelo SemanticChunker | Meta: {"totalChunks":179,"parents":15,"children":164}
[28/05/2026, 19:04:33] [INFO] [EmbeddingWorker.Worker] Embeddings batch 1/4 concluído
[28/05/2026, 19:04:34] [INFO] [EmbeddingWorker.Worker] Embeddings batch 2/4 concluído
[28/05/2026, 19:04:36] [INFO] [EmbeddingWorker.Worker] Embeddings batch 3/4 concluído
[28/05/2026, 19:04:37] [INFO] [EmbeddingWorker.Worker] Embeddings batch 4/4 concluído
[28/05/2026, 19:04:42] [ERROR] [EmbeddingWorker.Worker] Failed job 13:
Invalid `prisma.$executeRawUnsafe()` invocation:
Transaction API error: Transaction already closed: A query cannot be executed on an expired transaction. The timeout for this transaction was 5000 ms, however 5011 ms passed since the start of the transaction. Consider increasing the interactive transaction timeout or doing less work in the transaction.
[28/05/2026, 19:04:42] [ERROR] [EmbeddingWorker.Worker] Job 13 failed:
Invalid `prisma.$executeRawUnsafe()` invocation:
Transaction API error: Transaction already closed: A query cannot be executed on an expired transaction. The timeout for this transaction was 5000 ms, however 5011 ms passed since the start of the transaction. Consider increasing the interactive transaction timeout or doing less work in the transaction.
[28/05/2026, 19:04:42] [ERROR] [WorkerProcess.Worker] Job 13 failed:
Invalid `prisma.$executeRawUnsafe()` invocation:
Transaction API error: Transaction already closed: A query cannot be executed on an expired transaction. The timeout for this transaction was 5000 ms, however 5011 ms passed since the start of the transaction. Consider increasing the interactive transaction timeout or doing less work in the transaction.
[28/05/2026, 19:06:59] [INFO] [WorkerProcess.Startup] Starting BullMQ workers...
[28/05/2026, 19:06:59] [INFO] [EmbeddingWorker.Worker] Embedding worker is ready and waiting for jobs
[28/05/2026, 19:06:59] [INFO] [WorkerProcess.Worker] Embedding worker is ready and waiting for jobs
[28/05/2026, 19:11:30] [INFO] [RagIngestionService.processSourceFile] Enfileirando arquivo para processamento | Meta: {"fileId":"cmpq123uk0001omtsttfddlos","mimeType":"application/pdf"}
[28/05/2026, 19:11:30] [INFO] [RagIngestionService.processSourceFile] Arquivo enfileirado com sucesso | Meta: {"fileId":"cmpq123uk0001omtsttfddlos"}
[28/05/2026, 19:11:30] [INFO] [EmbeddingWorker.Worker] Started processing job 15
[28/05/2026, 19:11:30] [INFO] [WorkerProcess.Worker] Started processing job 15
[28/05/2026, 19:11:30] [INFO] [EmbeddingWorker.Worker] Processing job 15 for file cmpq123uk0001omtsttfddlos
[28/05/2026, 19:11:33] [INFO] [EmbeddingWorker.Worker] Chunks gerados pelo SemanticChunker | Meta: {"totalChunks":179,"parents":15,"children":164}
[28/05/2026, 19:11:34] [INFO] [EmbeddingWorker.Worker] Embeddings batch 1/4 concluído
[28/05/2026, 19:11:36] [INFO] [EmbeddingWorker.Worker] Embeddings batch 2/4 concluído
[28/05/2026, 19:11:37] [INFO] [EmbeddingWorker.Worker] Embeddings batch 3/4 concluído
[28/05/2026, 19:11:38] [INFO] [EmbeddingWorker.Worker] Embeddings batch 4/4 concluído
[28/05/2026, 19:11:46] [INFO] [EmbeddingWorker.Worker] Job 15 concluído com sucesso | Meta: {"parents":15,"children":164}
[28/05/2026, 19:11:46] [INFO] [EmbeddingWorker.Worker] Completed job 15
[28/05/2026, 19:11:46] [INFO] [WorkerProcess.Worker] Completed job 15
[28/05/2026, 19:12:12] [INFO] [ModuleContentRagService.generate] Iniciando geração RAG | Meta: {"moduleId":"cmpo5p8j8000homl0q652d744"}
[28/05/2026, 19:12:14] [INFO] [LlmRouter.generateText] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[28/05/2026, 19:13:44] [WARN] [LlmRouter.withRetry] generateText:gemini — tentativa 1 falhou, aguardando 500ms | Meta: {"error":"Gemini timeout após 90000ms"}
[28/05/2026, 19:15:15] [WARN] [LlmRouter.withRetry] generateText:gemini — tentativa 2 falhou, aguardando 1000ms | Meta: {"error":"Gemini timeout após 90000ms"}
[28/05/2026, 19:15:52] [INFO] [AdminModulesActions.updateModule] Módulo atualizado com sucesso pelo professor | Meta: {"moduleId":"cmpo5p8j8000homl0q652d744","title":"Introdução e Endereçamento IPv6","description":"Aprenda os conceitos fundamentais do protocolo IPv6, incluindo a estrutura do cabeçalho, notação hexadecimal e tipos de endereços."}
[28/05/2026, 19:15:54] [INFO] [AdminModulesActions.updateModule] Módulo atualizado com sucesso pelo professor | Meta: {"moduleId":"cmpo5p8j8000homl0q652d744","title":"Introdução e Endereçamento IPv6","description":"Aprenda os conceitos fundamentais do protocolo IPv6, incluindo a estrutura do cabeçalho, notação hexadecimal e tipos de endereços."}
[28/05/2026, 19:15:58] [INFO] [ModuleContentRagService.generate] Iniciando geração RAG | Meta: {"moduleId":"cmpo5p8j8000homl0q652d744"}
[28/05/2026, 19:16:00] [INFO] [LlmRouter.generateText] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[28/05/2026, 19:16:01] [WARN] [LlmRouter.withRetry] generateText:gemini — tentativa 1 falhou, aguardando 500ms | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\\nPlease retry in 58.549415476s.\",\"status\":\"RESOURCE_EXHAUSTED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.Help\",\"links\":[{\"description\":\"Learn more about Gemini API quotas\",\"url\":\"https://ai.google.dev/gemini-api/docs/rate-limits\"}]},{\"@type\":\"type.googleapis.com/google.rpc.QuotaFailure\",\"violations\":[{\"quotaMetric\":\"generativelanguage.googleapis.com/generate_content_free_tier_requests\",\"quotaId\":\"GenerateRequestsPerDayPerProjectPerModel-FreeTier\",\"quotaDimensions\":{\"location\":\"global\",\"model\":\"gemini-2.5-flash\"},\"quotaValue\":\"20\"}]},{\"@type\":\"type.googleapis.com/google.rpc.RetryInfo\",\"retryDelay\":\"58s\"}]}}"}
[28/05/2026, 19:16:03] [WARN] [LlmRouter.withRetry] generateText:gemini — tentativa 2 falhou, aguardando 1000ms | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\\nPlease retry in 57.067063062s.\",\"status\":\"RESOURCE_EXHAUSTED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.Help\",\"links\":[{\"description\":\"Learn more about Gemini API quotas\",\"url\":\"https://ai.google.dev/gemini-api/docs/rate-limits\"}]},{\"@type\":\"type.googleapis.com/google.rpc.QuotaFailure\",\"violations\":[{\"quotaMetric\":\"generativelanguage.googleapis.com/generate_content_free_tier_requests\",\"quotaId\":\"GenerateRequestsPerDayPerProjectPerModel-FreeTier\",\"quotaDimensions\":{\"location\":\"global\",\"model\":\"gemini-2.5-flash\"},\"quotaValue\":\"20\"}]},{\"@type\":\"type.googleapis.com/google.rpc.RetryInfo\",\"retryDelay\":\"57s\"}]}}"}
[28/05/2026, 19:16:05] [ERROR] [LlmRouter.generateText] gemini falhou, tentando fallback | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\\nPlease retry in 55.100488355s.\",\"status\":\"RESOURCE_EXHAUSTED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.Help\",\"links\":[{\"description\":\"Learn more about Gemini API quotas\",\"url\":\"https://ai.google.dev/gemini-api/docs/rate-limits\"}]},{\"@type\":\"type.googleapis.com/google.rpc.QuotaFailure\",\"violations\":[{\"quotaMetric\":\"generativelanguage.googleapis.com/generate_content_free_tier_requests\",\"quotaId\":\"GenerateRequestsPerDayPerProjectPerModel-FreeTier\",\"quotaDimensions\":{\"location\":\"global\",\"model\":\"gemini-2.5-flash\"},\"quotaValue\":\"20\"}]},{\"@type\":\"type.googleapis.com/google.rpc.RetryInfo\",\"retryDelay\":\"55s\"}]}}"}
[28/05/2026, 19:16:05] [INFO] [LlmRouter.generateText] Tentando fallback para groq
[28/05/2026, 19:16:36] [INFO] [LlmRouter.generateText] gemini respondeu | Meta: {"durationMs":261208}
[28/05/2026, 19:16:36] [WARN] [LlmRouter.saveMetadataAsync] Falha ao salvar metadados (não crítico) | Meta: {"error":"\nInvalid `prisma.aiGenerationMetadata.create()` invocation:\n\n\nNull constraint violation on the fields: (`criticScore`)"}
[28/05/2026, 19:16:36] [INFO] [ModuleContentRagService.generate] Conteúdo gerado e salvo | Meta: {"moduleId":"cmpo5p8j8000homl0q652d744"}
[28/05/2026, 19:16:53] [INFO] [AdminModulesActions.updateModule] Módulo atualizado com sucesso pelo professor | Meta: {"moduleId":"cmpo5p8j8000homl0q652d744","title":"Introdução e Endereçamento IPv6","description":"Aprenda os conceitos fundamentais do protocolo IPv6, incluindo a estrutura do cabeçalho, notação hexadecimal e tipos de endereços."}
[28/05/2026, 19:22:00] [INFO] [WorkerProcess.Startup] Starting BullMQ workers...
[28/05/2026, 19:22:00] [INFO] [EmbeddingWorker.Worker] Embedding worker is ready and waiting for jobs
[28/05/2026, 19:22:00] [INFO] [WorkerProcess.Worker] Embedding worker is ready and waiting for jobs
[28/05/2026, 19:23:51] [INFO] [AdminModulesActions.updateModule] Módulo atualizado com sucesso pelo professor | Meta: {"moduleId":"cmpo5p8jb000joml04j3uz0zh","title":"Roteamento e Protocolo ICMPv6","description":"Estude o funcionamento do Neighbor Discovery Protocol (NDP), configuração automática (SLAAC) e os tipos de mensagens ICMPv6."}
[28/05/2026, 19:24:10] [INFO] [RagIngestionService.processSourceFile] Enfileirando arquivo para processamento | Meta: {"fileId":"cmpq28hys0001ommoy8c2pcf7","mimeType":"application/pdf"}
[28/05/2026, 19:24:10] [INFO] [RagIngestionService.processSourceFile] Arquivo enfileirado com sucesso | Meta: {"fileId":"cmpq28hys0001ommoy8c2pcf7"}
[28/05/2026, 19:24:10] [INFO] [EmbeddingWorker.Worker] Started processing job 16
[28/05/2026, 19:24:10] [INFO] [WorkerProcess.Worker] Started processing job 16
[28/05/2026, 19:24:10] [INFO] [EmbeddingWorker.Worker] Processing job 16 for file cmpq28hys0001ommoy8c2pcf7
[28/05/2026, 19:24:11] [INFO] [RagIngestionService.processSourceFile] Enfileirando arquivo para processamento | Meta: {"fileId":"cmpq28fsw0000ommo2f8qqc0s","mimeType":"application/pdf"}
[28/05/2026, 19:24:11] [INFO] [RagIngestionService.processSourceFile] Arquivo enfileirado com sucesso | Meta: {"fileId":"cmpq28fsw0000ommo2f8qqc0s"}
[28/05/2026, 19:24:11] [INFO] [EmbeddingWorker.Worker] Started processing job 17
[28/05/2026, 19:24:11] [INFO] [WorkerProcess.Worker] Started processing job 17
[28/05/2026, 19:24:11] [INFO] [EmbeddingWorker.Worker] Processing job 17 for file cmpq28fsw0000ommo2f8qqc0s
[28/05/2026, 19:24:11] [INFO] [EmbeddingWorker.Worker] Chunks gerados pelo SemanticChunker | Meta: {"totalChunks":12,"parents":1,"children":11}
[28/05/2026, 19:24:11] [INFO] [EmbeddingWorker.Worker] Chunks gerados pelo SemanticChunker | Meta: {"totalChunks":4,"parents":1,"children":3}
[28/05/2026, 19:24:14] [INFO] [EmbeddingWorker.Worker] Embeddings batch 1/1 concluído
[28/05/2026, 19:24:14] [INFO] [EmbeddingWorker.Worker] Job 17 concluído com sucesso | Meta: {"parents":1,"children":3}
[28/05/2026, 19:24:14] [INFO] [EmbeddingWorker.Worker] Completed job 17
[28/05/2026, 19:24:14] [INFO] [WorkerProcess.Worker] Completed job 17
[28/05/2026, 19:24:56] [INFO] [EmbeddingWorker.Worker] Embeddings batch 1/1 concluído
[28/05/2026, 19:24:56] [INFO] [EmbeddingWorker.Worker] Job 16 concluído com sucesso | Meta: {"parents":1,"children":11}
[28/05/2026, 19:24:56] [INFO] [EmbeddingWorker.Worker] Completed job 16
[28/05/2026, 19:24:56] [INFO] [WorkerProcess.Worker] Completed job 16
[28/05/2026, 19:25:13] [INFO] [ModuleContentRagService.generate] Iniciando geração RAG | Meta: {"moduleId":"cmpo5p8jb000joml04j3uz0zh"}
[28/05/2026, 19:25:15] [INFO] [LlmRouter.generateText] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[28/05/2026, 19:25:17] [WARN] [LlmRouter.withRetry] generateText:gemini — tentativa 1 falhou, aguardando 500ms | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\\nPlease retry in 43.030778776s.\",\"status\":\"RESOURCE_EXHAUSTED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.Help\",\"links\":[{\"description\":\"Learn more about Gemini API quotas\",\"url\":\"https://ai.google.dev/gemini-api/docs/rate-limits\"}]},{\"@type\":\"type.googleapis.com/google.rpc.QuotaFailure\",\"violations\":[{\"quotaMetric\":\"generativelanguage.googleapis.com/generate_content_free_tier_requests\",\"quotaId\":\"GenerateRequestsPerDayPerProjectPerModel-FreeTier\",\"quotaDimensions\":{\"model\":\"gemini-2.5-flash\",\"location\":\"global\"},\"quotaValue\":\"20\"}]},{\"@type\":\"type.googleapis.com/google.rpc.RetryInfo\",\"retryDelay\":\"43s\"}]}}"}
[28/05/2026, 19:25:18] [WARN] [LlmRouter.withRetry] generateText:gemini — tentativa 2 falhou, aguardando 1000ms | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\\nPlease retry in 41.947748422s.\",\"status\":\"RESOURCE_EXHAUSTED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.Help\",\"links\":[{\"description\":\"Learn more about Gemini API quotas\",\"url\":\"https://ai.google.dev/gemini-api/docs/rate-limits\"}]},{\"@type\":\"type.googleapis.com/google.rpc.QuotaFailure\",\"violations\":[{\"quotaMetric\":\"generativelanguage.googleapis.com/generate_content_free_tier_requests\",\"quotaId\":\"GenerateRequestsPerDayPerProjectPerModel-FreeTier\",\"quotaDimensions\":{\"location\":\"global\",\"model\":\"gemini-2.5-flash\"},\"quotaValue\":\"20\"}]},{\"@type\":\"type.googleapis.com/google.rpc.RetryInfo\",\"retryDelay\":\"41s\"}]}}"}
[28/05/2026, 19:25:19] [ERROR] [LlmRouter.generateText] gemini falhou, tentando fallback | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\\nPlease retry in 40.37556964s.\",\"status\":\"RESOURCE_EXHAUSTED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.Help\",\"links\":[{\"description\":\"Learn more about Gemini API quotas\",\"url\":\"https://ai.google.dev/gemini-api/docs/rate-limits\"}]},{\"@type\":\"type.googleapis.com/google.rpc.QuotaFailure\",\"violations\":[{\"quotaMetric\":\"generativelanguage.googleapis.com/generate_content_free_tier_requests\",\"quotaId\":\"GenerateRequestsPerDayPerProjectPerModel-FreeTier\",\"quotaDimensions\":{\"location\":\"global\",\"model\":\"gemini-2.5-flash\"},\"quotaValue\":\"20\"}]},{\"@type\":\"type.googleapis.com/google.rpc.RetryInfo\",\"retryDelay\":\"40s\"}]}}"}
[28/05/2026, 19:25:19] [INFO] [LlmRouter.generateText] Tentando fallback para groq
[28/05/2026, 19:25:33] [INFO] [ModuleContentRagService.generate] Iniciando geração RAG | Meta: {"moduleId":"cmpo5p8jb000joml04j3uz0zh"}
[28/05/2026, 19:25:34] [INFO] [LlmRouter.generateText] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[28/05/2026, 19:25:35] [WARN] [LlmRouter.withRetry] generateText:gemini — tentativa 1 falhou, aguardando 500ms | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\\nPlease retry in 25.087726866s.\",\"status\":\"RESOURCE_EXHAUSTED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.Help\",\"links\":[{\"description\":\"Learn more about Gemini API quotas\",\"url\":\"https://ai.google.dev/gemini-api/docs/rate-limits\"}]},{\"@type\":\"type.googleapis.com/google.rpc.QuotaFailure\",\"violations\":[{\"quotaMetric\":\"generativelanguage.googleapis.com/generate_content_free_tier_requests\",\"quotaId\":\"GenerateRequestsPerDayPerProjectPerModel-FreeTier\",\"quotaDimensions\":{\"location\":\"global\",\"model\":\"gemini-2.5-flash\"},\"quotaValue\":\"20\"}]},{\"@type\":\"type.googleapis.com/google.rpc.RetryInfo\",\"retryDelay\":\"25s\"}]}}"}
[28/05/2026, 19:25:36] [WARN] [LlmRouter.withRetry] generateText:gemini — tentativa 2 falhou, aguardando 1000ms | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\\nPlease retry in 24.031462913s.\",\"status\":\"RESOURCE_EXHAUSTED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.Help\",\"links\":[{\"description\":\"Learn more about Gemini API quotas\",\"url\":\"https://ai.google.dev/gemini-api/docs/rate-limits\"}]},{\"@type\":\"type.googleapis.com/google.rpc.QuotaFailure\",\"violations\":[{\"quotaMetric\":\"generativelanguage.googleapis.com/generate_content_free_tier_requests\",\"quotaId\":\"GenerateRequestsPerDayPerProjectPerModel-FreeTier\",\"quotaDimensions\":{\"location\":\"global\",\"model\":\"gemini-2.5-flash\"},\"quotaValue\":\"20\"}]},{\"@type\":\"type.googleapis.com/google.rpc.RetryInfo\",\"retryDelay\":\"24s\"}]}}"}
[28/05/2026, 19:25:37] [ERROR] [LlmRouter.generateText] gemini falhou, tentando fallback | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\\nPlease retry in 22.461071508s.\",\"status\":\"RESOURCE_EXHAUSTED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.Help\",\"links\":[{\"description\":\"Learn more about Gemini API quotas\",\"url\":\"https://ai.google.dev/gemini-api/docs/rate-limits\"}]},{\"@type\":\"type.googleapis.com/google.rpc.QuotaFailure\",\"violations\":[{\"quotaMetric\":\"generativelanguage.googleapis.com/generate_content_free_tier_requests\",\"quotaId\":\"GenerateRequestsPerDayPerProjectPerModel-FreeTier\",\"quotaDimensions\":{\"location\":\"global\",\"model\":\"gemini-2.5-flash\"},\"quotaValue\":\"20\"}]},{\"@type\":\"type.googleapis.com/google.rpc.RetryInfo\",\"retryDelay\":\"22s\"}]}}"}
[28/05/2026, 19:25:37] [INFO] [LlmRouter.generateText] Tentando fallback para groq
[28/05/2026, 19:26:08] [INFO] [AdminModulesActions.updateModule] Módulo atualizado com sucesso pelo professor | Meta: {"moduleId":"cmpo5p8jb000joml04j3uz0zh","title":"Roteamento e Protocolo ICMPv6","description":"Estude o funcionamento do Neighbor Discovery Protocol (NDP), configuração automática (SLAAC) e os tipos de mensagens ICMPv6."}
[28/05/2026, 19:26:14] [INFO] [ModuleContentRagService.generate] Iniciando geração RAG | Meta: {"moduleId":"cmpo5p8jb000joml04j3uz0zh"}
[28/05/2026, 19:26:16] [INFO] [LlmRouter.generateText] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[28/05/2026, 19:27:32] [INFO] [LlmRouter.generateText] gemini respondeu | Meta: {"durationMs":76712}
[28/05/2026, 19:27:33] [INFO] [ModuleContentRagService.generate] Conteúdo gerado e salvo | Meta: {"moduleId":"cmpo5p8jb000joml04j3uz0zh"}
[28/05/2026, 19:28:30] [INFO] [AdminModulesActions.updateModule] Módulo atualizado com sucesso pelo professor | Meta: {"moduleId":"cmpo5p8jb000joml04j3uz0zh","title":"Roteamento e Protocolo ICMPv6","description":"Estude o funcionamento do Neighbor Discovery Protocol (NDP), configuração automática (SLAAC) e os tipos de mensagens ICMPv6."}
[28/05/2026, 21:24:51] [INFO] [LlmRouter.generateText] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[28/05/2026, 21:24:59] [INFO] [LlmRouter.generateText] gemini respondeu | Meta: {"durationMs":7997}
[28/05/2026, 21:25:01] [INFO] [LlmRouter.generateText] Cache hit — retornando resposta cacheada | Meta: {"pipeline":"EXPLANATION"}
[28/05/2026, 21:37:42] [INFO] [LlmRouter.generateText] Cache hit — retornando resposta cacheada | Meta: {"pipeline":"EXPLANATION"}
[28/05/2026, 21:37:44] [INFO] [LlmRouter.generateText] Cache hit — retornando resposta cacheada | Meta: {"pipeline":"EXPLANATION"}
[28/05/2026, 21:37:56] [INFO] [LlmRouter.generateText] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[28/05/2026, 21:37:56] [WARN] [LlmRouter.withRetry] generateText:gemini — tentativa 1 falhou, aguardando 500ms | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\\nPlease retry in 3.300719106s.\",\"status\":\"RESOURCE_EXHAUSTED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.Help\",\"links\":[{\"description\":\"Learn more about Gemini API quotas\",\"url\":\"https://ai.google.dev/gemini-api/docs/rate-limits\"}]},{\"@type\":\"type.googleapis.com/google.rpc.QuotaFailure\",\"violations\":[{\"quotaMetric\":\"generativelanguage.googleapis.com/generate_content_free_tier_requests\",\"quotaId\":\"GenerateRequestsPerDayPerProjectPerModel-FreeTier\",\"quotaDimensions\":{\"location\":\"global\",\"model\":\"gemini-2.5-flash\"},\"quotaValue\":\"20\"}]},{\"@type\":\"type.googleapis.com/google.rpc.RetryInfo\",\"retryDelay\":\"3s\"}]}}"}
[28/05/2026, 21:37:57] [WARN] [LlmRouter.withRetry] generateText:gemini — tentativa 2 falhou, aguardando 1000ms | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\\nPlease retry in 2.49368004s.\",\"status\":\"RESOURCE_EXHAUSTED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.Help\",\"links\":[{\"description\":\"Learn more about Gemini API quotas\",\"url\":\"https://ai.google.dev/gemini-api/docs/rate-limits\"}]},{\"@type\":\"type.googleapis.com/google.rpc.QuotaFailure\",\"violations\":[{\"quotaMetric\":\"generativelanguage.googleapis.com/generate_content_free_tier_requests\",\"quotaId\":\"GenerateRequestsPerDayPerProjectPerModel-FreeTier\",\"quotaDimensions\":{\"location\":\"global\",\"model\":\"gemini-2.5-flash\"},\"quotaValue\":\"20\"}]},{\"@type\":\"type.googleapis.com/google.rpc.RetryInfo\",\"retryDelay\":\"2s\"}]}}"}
[28/05/2026, 21:37:58] [ERROR] [LlmRouter.generateText] gemini falhou, tentando fallback | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\\nPlease retry in 1.173732364s.\",\"status\":\"RESOURCE_EXHAUSTED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.Help\",\"links\":[{\"description\":\"Learn more about Gemini API quotas\",\"url\":\"https://ai.google.dev/gemini-api/docs/rate-limits\"}]},{\"@type\":\"type.googleapis.com/google.rpc.QuotaFailure\",\"violations\":[{\"quotaMetric\":\"generativelanguage.googleapis.com/generate_content_free_tier_requests\",\"quotaId\":\"GenerateRequestsPerDayPerProjectPerModel-FreeTier\",\"quotaDimensions\":{\"location\":\"global\",\"model\":\"gemini-2.5-flash\"},\"quotaValue\":\"20\"}]},{\"@type\":\"type.googleapis.com/google.rpc.RetryInfo\",\"retryDelay\":\"1s\"}]}}"}
[28/05/2026, 21:37:58] [INFO] [LlmRouter.generateText] Tentando fallback para groq
[28/05/2026, 21:38:02] [INFO] [LlmRouter.generateText] Cache hit — retornando resposta cacheada | Meta: {"pipeline":"EXPLANATION"}
[28/05/2026, 21:49:58] [INFO] [AdminModulesActions.createModule] Novo módulo criado com sucesso pelo professor | Meta: {"moduleId":"cmpq7g4hk0003omng9xn1lf5m","title":"Roteamento e Protocolo ICMPv6","description":"","authorId":"cmpo5p8ic0000oml0fwnrgywq","authorName":"Prof. Gabriel","authorEmail":"professor@lumina.com"}
[28/05/2026, 21:50:14] [INFO] [RagIngestionService.processSourceFile] Enfileirando arquivo para processamento | Meta: {"fileId":"cmpq7gaxb0004omnggrom7fd2","mimeType":"application/pdf"}
[28/05/2026, 21:50:14] [INFO] [RagIngestionService.processSourceFile] Arquivo enfileirado com sucesso | Meta: {"fileId":"cmpq7gaxb0004omnggrom7fd2"}
[28/05/2026, 21:50:14] [INFO] [EmbeddingWorker.Worker] Started processing job 18
[28/05/2026, 21:50:14] [INFO] [WorkerProcess.Worker] Started processing job 18
[28/05/2026, 21:50:14] [INFO] [EmbeddingWorker.Worker] Processing job 18 for file cmpq7gaxb0004omnggrom7fd2
[28/05/2026, 21:50:14] [INFO] [EmbeddingWorker.Worker] Chunks gerados pelo SemanticChunker | Meta: {"totalChunks":4,"parents":1,"children":3}
[28/05/2026, 21:50:16] [INFO] [EmbeddingWorker.Worker] Embeddings batch 1/1 concluído
[28/05/2026, 21:50:17] [INFO] [EmbeddingWorker.Worker] Job 18 concluído com sucesso | Meta: {"parents":1,"children":3}
[28/05/2026, 21:50:17] [INFO] [EmbeddingWorker.Worker] Completed job 18
[28/05/2026, 21:50:17] [INFO] [WorkerProcess.Worker] Completed job 18
[28/05/2026, 21:50:28] [INFO] [ModuleContentRagService.generate] Iniciando geração RAG | Meta: {"moduleId":"cmpq7g4hk0003omng9xn1lf5m"}
[28/05/2026, 21:50:29] [INFO] [LlmRouter.generateText] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[28/05/2026, 21:50:30] [WARN] [LlmRouter.withRetry] generateText:gemini — tentativa 1 falhou, aguardando 500ms | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\\nPlease retry in 29.481839791s.\",\"status\":\"RESOURCE_EXHAUSTED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.Help\",\"links\":[{\"description\":\"Learn more about Gemini API quotas\",\"url\":\"https://ai.google.dev/gemini-api/docs/rate-limits\"}]},{\"@type\":\"type.googleapis.com/google.rpc.QuotaFailure\",\"violations\":[{\"quotaMetric\":\"generativelanguage.googleapis.com/generate_content_free_tier_requests\",\"quotaId\":\"GenerateRequestsPerDayPerProjectPerModel-FreeTier\",\"quotaDimensions\":{\"model\":\"gemini-2.5-flash\",\"location\":\"global\"},\"quotaValue\":\"20\"}]},{\"@type\":\"type.googleapis.com/google.rpc.RetryInfo\",\"retryDelay\":\"29s\"}]}}"}
[28/05/2026, 21:50:40] [WARN] [LlmRouter.withRetry] generateText:gemini — tentativa 2 falhou, aguardando 1000ms | Meta: {"error":"{\"error\":{\"code\":503,\"message\":\"This model is currently experiencing high demand. Spikes in demand are usually temporary. Please try again later.\",\"status\":\"UNAVAILABLE\"}}"}
[28/05/2026, 21:50:42] [ERROR] [LlmRouter.generateText] gemini falhou, tentando fallback | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\\nPlease retry in 17.995636542s.\",\"status\":\"RESOURCE_EXHAUSTED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.Help\",\"links\":[{\"description\":\"Learn more about Gemini API quotas\",\"url\":\"https://ai.google.dev/gemini-api/docs/rate-limits\"}]},{\"@type\":\"type.googleapis.com/google.rpc.QuotaFailure\",\"violations\":[{\"quotaMetric\":\"generativelanguage.googleapis.com/generate_content_free_tier_requests\",\"quotaId\":\"GenerateRequestsPerDayPerProjectPerModel-FreeTier\",\"quotaDimensions\":{\"location\":\"global\",\"model\":\"gemini-2.5-flash\"},\"quotaValue\":\"20\"}]},{\"@type\":\"type.googleapis.com/google.rpc.RetryInfo\",\"retryDelay\":\"17s\"}]}}"}
[28/05/2026, 21:50:42] [INFO] [LlmRouter.generateText] Tentando fallback para groq
[28/05/2026, 21:50:46] [INFO] [ModuleContentRagService.generate] Conteúdo gerado e salvo | Meta: {"moduleId":"cmpq7g4hk0003omng9xn1lf5m"}
[28/05/2026, 21:50:52] [INFO] [AdminModulesActions.updateModule] Módulo atualizado com sucesso pelo professor | Meta: {"moduleId":"cmpq7g4hk0003omng9xn1lf5m","title":"Roteamento e Protocolo ICMPv6","description":"ICMPv6: mensagens de erro e informativas."}
[28/05/2026, 21:52:05] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[28/05/2026, 21:52:06] [WARN] [LlmRouter.withRetry] generateJson:gemini — tentativa 1 falhou, aguardando 500ms | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\\nPlease retry in 53.200330814s.\",\"status\":\"RESOURCE_EXHAUSTED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.Help\",\"links\":[{\"description\":\"Learn more about Gemini API quotas\",\"url\":\"https://ai.google.dev/gemini-api/docs/rate-limits\"}]},{\"@type\":\"type.googleapis.com/google.rpc.QuotaFailure\",\"violations\":[{\"quotaMetric\":\"generativelanguage.googleapis.com/generate_content_free_tier_requests\",\"quotaId\":\"GenerateRequestsPerDayPerProjectPerModel-FreeTier\",\"quotaDimensions\":{\"model\":\"gemini-2.5-flash\",\"location\":\"global\"},\"quotaValue\":\"20\"}]},{\"@type\":\"type.googleapis.com/google.rpc.RetryInfo\",\"retryDelay\":\"53s\"}]}}"}
[28/05/2026, 21:52:07] [WARN] [LlmRouter.withRetry] generateJson:gemini — tentativa 2 falhou, aguardando 1000ms | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\\nPlease retry in 52.334742008s.\",\"status\":\"RESOURCE_EXHAUSTED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.Help\",\"links\":[{\"description\":\"Learn more about Gemini API quotas\",\"url\":\"https://ai.google.dev/gemini-api/docs/rate-limits\"}]},{\"@type\":\"type.googleapis.com/google.rpc.QuotaFailure\",\"violations\":[{\"quotaMetric\":\"generativelanguage.googleapis.com/generate_content_free_tier_requests\",\"quotaId\":\"GenerateRequestsPerDayPerProjectPerModel-FreeTier\",\"quotaDimensions\":{\"model\":\"gemini-2.5-flash\",\"location\":\"global\"},\"quotaValue\":\"20\"}]},{\"@type\":\"type.googleapis.com/google.rpc.RetryInfo\",\"retryDelay\":\"52s\"}]}}"}
[28/05/2026, 21:52:09] [ERROR] [LlmRouter.generateJson] gemini falhou, tentando fallback | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\\nPlease retry in 50.964674563s.\",\"status\":\"RESOURCE_EXHAUSTED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.Help\",\"links\":[{\"description\":\"Learn more about Gemini API quotas\",\"url\":\"https://ai.google.dev/gemini-api/docs/rate-limits\"}]},{\"@type\":\"type.googleapis.com/google.rpc.QuotaFailure\",\"violations\":[{\"quotaMetric\":\"generativelanguage.googleapis.com/generate_content_free_tier_requests\",\"quotaId\":\"GenerateRequestsPerDayPerProjectPerModel-FreeTier\",\"quotaDimensions\":{\"model\":\"gemini-2.5-flash\",\"location\":\"global\"},\"quotaValue\":\"20\"}]},{\"@type\":\"type.googleapis.com/google.rpc.RetryInfo\",\"retryDelay\":\"50s\"}]}}"}
[28/05/2026, 21:52:09] [INFO] [LlmRouter.generateJson] Tentando fallback para groq
[28/05/2026, 21:52:26] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[28/05/2026, 21:52:28] [WARN] [LlmRouter.withRetry] generateJson:gemini — tentativa 1 falhou, aguardando 500ms | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\\nPlease retry in 32.069937493s.\",\"status\":\"RESOURCE_EXHAUSTED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.Help\",\"links\":[{\"description\":\"Learn more about Gemini API quotas\",\"url\":\"https://ai.google.dev/gemini-api/docs/rate-limits\"}]},{\"@type\":\"type.googleapis.com/google.rpc.QuotaFailure\",\"violations\":[{\"quotaMetric\":\"generativelanguage.googleapis.com/generate_content_free_tier_requests\",\"quotaId\":\"GenerateRequestsPerDayPerProjectPerModel-FreeTier\",\"quotaDimensions\":{\"location\":\"global\",\"model\":\"gemini-2.5-flash\"},\"quotaValue\":\"20\"}]},{\"@type\":\"type.googleapis.com/google.rpc.RetryInfo\",\"retryDelay\":\"32s\"}]}}"}
[28/05/2026, 21:52:28] [WARN] [LlmRouter.withRetry] generateJson:gemini — tentativa 2 falhou, aguardando 1000ms | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\\nPlease retry in 31.215176691s.\",\"status\":\"RESOURCE_EXHAUSTED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.Help\",\"links\":[{\"description\":\"Learn more about Gemini API quotas\",\"url\":\"https://ai.google.dev/gemini-api/docs/rate-limits\"}]},{\"@type\":\"type.googleapis.com/google.rpc.QuotaFailure\",\"violations\":[{\"quotaMetric\":\"generativelanguage.googleapis.com/generate_content_free_tier_requests\",\"quotaId\":\"GenerateRequestsPerDayPerProjectPerModel-FreeTier\",\"quotaDimensions\":{\"location\":\"global\",\"model\":\"gemini-2.5-flash\"},\"quotaValue\":\"20\"}]},{\"@type\":\"type.googleapis.com/google.rpc.RetryInfo\",\"retryDelay\":\"31s\"}]}}"}
[28/05/2026, 21:52:30] [ERROR] [LlmRouter.generateJson] gemini falhou, tentando fallback | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\\nPlease retry in 29.844763478s.\",\"status\":\"RESOURCE_EXHAUSTED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.Help\",\"links\":[{\"description\":\"Learn more about Gemini API quotas\",\"url\":\"https://ai.google.dev/gemini-api/docs/rate-limits\"}]},{\"@type\":\"type.googleapis.com/google.rpc.QuotaFailure\",\"violations\":[{\"quotaMetric\":\"generativelanguage.googleapis.com/generate_content_free_tier_requests\",\"quotaId\":\"GenerateRequestsPerDayPerProjectPerModel-FreeTier\",\"quotaDimensions\":{\"location\":\"global\",\"model\":\"gemini-2.5-flash\"},\"quotaValue\":\"20\"}]},{\"@type\":\"type.googleapis.com/google.rpc.RetryInfo\",\"retryDelay\":\"29s\"}]}}"}
[28/05/2026, 21:52:30] [INFO] [LlmRouter.generateJson] Tentando fallback para groq
[28/05/2026, 21:55:00] [INFO] [WorkerProcess.Shutdown] Closing workers...
[28/05/2026, 22:04:24] [INFO] [WorkerProcess.Startup] Starting BullMQ workers...
[28/05/2026, 22:04:24] [INFO] [EmbeddingWorker.Worker] Embedding worker is ready and waiting for jobs
[28/05/2026, 22:04:24] [INFO] [WorkerProcess.Worker] Embedding worker is ready and waiting for jobs
[28/05/2026, 22:06:38] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[28/05/2026, 22:06:39] [WARN] [LlmRouter.withRetry] generateJson:gemini — tentativa 1 falhou, aguardando 500ms | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\\nPlease retry in 20.30602944s.\",\"status\":\"RESOURCE_EXHAUSTED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.Help\",\"links\":[{\"description\":\"Learn more about Gemini API quotas\",\"url\":\"https://ai.google.dev/gemini-api/docs/rate-limits\"}]},{\"@type\":\"type.googleapis.com/google.rpc.QuotaFailure\",\"violations\":[{\"quotaMetric\":\"generativelanguage.googleapis.com/generate_content_free_tier_requests\",\"quotaId\":\"GenerateRequestsPerDayPerProjectPerModel-FreeTier\",\"quotaDimensions\":{\"location\":\"global\",\"model\":\"gemini-2.5-flash\"},\"quotaValue\":\"20\"}]},{\"@type\":\"type.googleapis.com/google.rpc.RetryInfo\",\"retryDelay\":\"20s\"}]}}"}
[28/05/2026, 22:06:40] [WARN] [LlmRouter.withRetry] generateJson:gemini — tentativa 2 falhou, aguardando 1000ms | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\\nPlease retry in 19.411675807s.\",\"status\":\"RESOURCE_EXHAUSTED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.Help\",\"links\":[{\"description\":\"Learn more about Gemini API quotas\",\"url\":\"https://ai.google.dev/gemini-api/docs/rate-limits\"}]},{\"@type\":\"type.googleapis.com/google.rpc.QuotaFailure\",\"violations\":[{\"quotaMetric\":\"generativelanguage.googleapis.com/generate_content_free_tier_requests\",\"quotaId\":\"GenerateRequestsPerDayPerProjectPerModel-FreeTier\",\"quotaDimensions\":{\"location\":\"global\",\"model\":\"gemini-2.5-flash\"},\"quotaValue\":\"20\"}]},{\"@type\":\"type.googleapis.com/google.rpc.RetryInfo\",\"retryDelay\":\"19s\"}]}}"}
[28/05/2026, 22:06:42] [ERROR] [LlmRouter.generateJson] gemini falhou, tentando fallback | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\\nPlease retry in 18.035703173s.\",\"status\":\"RESOURCE_EXHAUSTED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.Help\",\"links\":[{\"description\":\"Learn more about Gemini API quotas\",\"url\":\"https://ai.google.dev/gemini-api/docs/rate-limits\"}]},{\"@type\":\"type.googleapis.com/google.rpc.QuotaFailure\",\"violations\":[{\"quotaMetric\":\"generativelanguage.googleapis.com/generate_content_free_tier_requests\",\"quotaId\":\"GenerateRequestsPerDayPerProjectPerModel-FreeTier\",\"quotaDimensions\":{\"location\":\"global\",\"model\":\"gemini-2.5-flash\"},\"quotaValue\":\"20\"}]},{\"@type\":\"type.googleapis.com/google.rpc.RetryInfo\",\"retryDelay\":\"18s\"}]}}"}
[28/05/2026, 22:06:42] [INFO] [LlmRouter.generateJson] Tentando fallback para groq
[28/05/2026, 22:07:11] [INFO] [LlmRouter.generateTextStream] Iniciando stream com groq | Meta: {"model":"llama-3.1-8b-instant"}
[28/05/2026, 22:07:36] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[28/05/2026, 22:07:37] [WARN] [LlmRouter.withRetry] generateJson:gemini — tentativa 1 falhou, aguardando 500ms | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\\nPlease retry in 22.714416588s.\",\"status\":\"RESOURCE_EXHAUSTED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.Help\",\"links\":[{\"description\":\"Learn more about Gemini API quotas\",\"url\":\"https://ai.google.dev/gemini-api/docs/rate-limits\"}]},{\"@type\":\"type.googleapis.com/google.rpc.QuotaFailure\",\"violations\":[{\"quotaMetric\":\"generativelanguage.googleapis.com/generate_content_free_tier_requests\",\"quotaId\":\"GenerateRequestsPerDayPerProjectPerModel-FreeTier\",\"quotaDimensions\":{\"location\":\"global\",\"model\":\"gemini-2.5-flash\"},\"quotaValue\":\"20\"}]},{\"@type\":\"type.googleapis.com/google.rpc.RetryInfo\",\"retryDelay\":\"22s\"}]}}"}
[28/05/2026, 22:07:38] [WARN] [LlmRouter.withRetry] generateJson:gemini — tentativa 2 falhou, aguardando 1000ms | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\\nPlease retry in 21.820946972s.\",\"status\":\"RESOURCE_EXHAUSTED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.Help\",\"links\":[{\"description\":\"Learn more about Gemini API quotas\",\"url\":\"https://ai.google.dev/gemini-api/docs/rate-limits\"}]},{\"@type\":\"type.googleapis.com/google.rpc.QuotaFailure\",\"violations\":[{\"quotaMetric\":\"generativelanguage.googleapis.com/generate_content_free_tier_requests\",\"quotaId\":\"GenerateRequestsPerDayPerProjectPerModel-FreeTier\",\"quotaDimensions\":{\"model\":\"gemini-2.5-flash\",\"location\":\"global\"},\"quotaValue\":\"20\"}]},{\"@type\":\"type.googleapis.com/google.rpc.RetryInfo\",\"retryDelay\":\"21s\"}]}}"}
[28/05/2026, 22:07:39] [ERROR] [LlmRouter.generateJson] gemini falhou, tentando fallback | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\\nPlease retry in 20.424168562s.\",\"status\":\"RESOURCE_EXHAUSTED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.Help\",\"links\":[{\"description\":\"Learn more about Gemini API quotas\",\"url\":\"https://ai.google.dev/gemini-api/docs/rate-limits\"}]},{\"@type\":\"type.googleapis.com/google.rpc.QuotaFailure\",\"violations\":[{\"quotaMetric\":\"generativelanguage.googleapis.com/generate_content_free_tier_requests\",\"quotaId\":\"GenerateRequestsPerDayPerProjectPerModel-FreeTier\",\"quotaDimensions\":{\"model\":\"gemini-2.5-flash\",\"location\":\"global\"},\"quotaValue\":\"20\"}]},{\"@type\":\"type.googleapis.com/google.rpc.RetryInfo\",\"retryDelay\":\"20s\"}]}}"}
[28/05/2026, 22:07:39] [INFO] [LlmRouter.generateJson] Tentando fallback para groq
[28/05/2026, 22:07:44] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[28/05/2026, 22:07:46] [WARN] [LlmRouter.withRetry] generateJson:gemini — tentativa 1 falhou, aguardando 500ms | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\\nPlease retry in 14.047399984s.\",\"status\":\"RESOURCE_EXHAUSTED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.Help\",\"links\":[{\"description\":\"Learn more about Gemini API quotas\",\"url\":\"https://ai.google.dev/gemini-api/docs/rate-limits\"}]},{\"@type\":\"type.googleapis.com/google.rpc.QuotaFailure\",\"violations\":[{\"quotaMetric\":\"generativelanguage.googleapis.com/generate_content_free_tier_requests\",\"quotaId\":\"GenerateRequestsPerDayPerProjectPerModel-FreeTier\",\"quotaDimensions\":{\"location\":\"global\",\"model\":\"gemini-2.5-flash\"},\"quotaValue\":\"20\"}]},{\"@type\":\"type.googleapis.com/google.rpc.RetryInfo\",\"retryDelay\":\"14s\"}]}}"}
[28/05/2026, 22:07:47] [WARN] [LlmRouter.withRetry] generateJson:gemini — tentativa 2 falhou, aguardando 1000ms | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\\nPlease retry in 13.175157053s.\",\"status\":\"RESOURCE_EXHAUSTED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.Help\",\"links\":[{\"description\":\"Learn more about Gemini API quotas\",\"url\":\"https://ai.google.dev/gemini-api/docs/rate-limits\"}]},{\"@type\":\"type.googleapis.com/google.rpc.QuotaFailure\",\"violations\":[{\"quotaMetric\":\"generativelanguage.googleapis.com/generate_content_free_tier_requests\",\"quotaId\":\"GenerateRequestsPerDayPerProjectPerModel-FreeTier\",\"quotaDimensions\":{\"location\":\"global\",\"model\":\"gemini-2.5-flash\"},\"quotaValue\":\"20\"}]},{\"@type\":\"type.googleapis.com/google.rpc.RetryInfo\",\"retryDelay\":\"13s\"}]}}"}
[28/05/2026, 22:07:48] [ERROR] [LlmRouter.generateJson] gemini falhou, tentando fallback | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\\nPlease retry in 11.820453472s.\",\"status\":\"RESOURCE_EXHAUSTED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.Help\",\"links\":[{\"description\":\"Learn more about Gemini API quotas\",\"url\":\"https://ai.google.dev/gemini-api/docs/rate-limits\"}]},{\"@type\":\"type.googleapis.com/google.rpc.QuotaFailure\",\"violations\":[{\"quotaMetric\":\"generativelanguage.googleapis.com/generate_content_free_tier_requests\",\"quotaId\":\"GenerateRequestsPerDayPerProjectPerModel-FreeTier\",\"quotaDimensions\":{\"model\":\"gemini-2.5-flash\",\"location\":\"global\"},\"quotaValue\":\"20\"}]},{\"@type\":\"type.googleapis.com/google.rpc.RetryInfo\",\"retryDelay\":\"11s\"}]}}"}
[28/05/2026, 22:07:48] [INFO] [LlmRouter.generateJson] Tentando fallback para groq
[28/05/2026, 22:07:51] [INFO] [LlmRouter.generateTextStream] Iniciando stream com groq | Meta: {"model":"llama-3.1-8b-instant"}
[28/05/2026, 22:07:56] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[28/05/2026, 22:07:56] [WARN] [LlmRouter.withRetry] generateJson:gemini — tentativa 1 falhou, aguardando 500ms | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\\nPlease retry in 3.445073056s.\",\"status\":\"RESOURCE_EXHAUSTED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.Help\",\"links\":[{\"description\":\"Learn more about Gemini API quotas\",\"url\":\"https://ai.google.dev/gemini-api/docs/rate-limits\"}]},{\"@type\":\"type.googleapis.com/google.rpc.QuotaFailure\",\"violations\":[{\"quotaMetric\":\"generativelanguage.googleapis.com/generate_content_free_tier_requests\",\"quotaId\":\"GenerateRequestsPerDayPerProjectPerModel-FreeTier\",\"quotaDimensions\":{\"location\":\"global\",\"model\":\"gemini-2.5-flash\"},\"quotaValue\":\"20\"}]},{\"@type\":\"type.googleapis.com/google.rpc.RetryInfo\",\"retryDelay\":\"3s\"}]}}"}
[28/05/2026, 22:07:57] [WARN] [LlmRouter.withRetry] generateJson:gemini — tentativa 2 falhou, aguardando 1000ms | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\\nPlease retry in 2.570767641s.\",\"status\":\"RESOURCE_EXHAUSTED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.Help\",\"links\":[{\"description\":\"Learn more about Gemini API quotas\",\"url\":\"https://ai.google.dev/gemini-api/docs/rate-limits\"}]},{\"@type\":\"type.googleapis.com/google.rpc.QuotaFailure\",\"violations\":[{\"quotaMetric\":\"generativelanguage.googleapis.com/generate_content_free_tier_requests\",\"quotaId\":\"GenerateRequestsPerDayPerProjectPerModel-FreeTier\",\"quotaDimensions\":{\"location\":\"global\",\"model\":\"gemini-2.5-flash\"},\"quotaValue\":\"20\"}]},{\"@type\":\"type.googleapis.com/google.rpc.RetryInfo\",\"retryDelay\":\"2s\"}]}}"}
[28/05/2026, 22:07:58] [ERROR] [LlmRouter.generateJson] gemini falhou, tentando fallback | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\\nPlease retry in 1.204780304s.\",\"status\":\"RESOURCE_EXHAUSTED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.Help\",\"links\":[{\"description\":\"Learn more about Gemini API quotas\",\"url\":\"https://ai.google.dev/gemini-api/docs/rate-limits\"}]},{\"@type\":\"type.googleapis.com/google.rpc.QuotaFailure\",\"violations\":[{\"quotaMetric\":\"generativelanguage.googleapis.com/generate_content_free_tier_requests\",\"quotaId\":\"GenerateRequestsPerDayPerProjectPerModel-FreeTier\",\"quotaDimensions\":{\"location\":\"global\",\"model\":\"gemini-2.5-flash\"},\"quotaValue\":\"20\"}]},{\"@type\":\"type.googleapis.com/google.rpc.RetryInfo\",\"retryDelay\":\"1s\"}]}}"}
[28/05/2026, 22:07:58] [INFO] [LlmRouter.generateJson] Tentando fallback para groq
[28/05/2026, 22:08:01] [INFO] [LlmRouter.generateTextStream] Iniciando stream com groq | Meta: {"model":"llama-3.1-8b-instant"}
[28/05/2026, 22:08:32] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[28/05/2026, 22:08:33] [WARN] [LlmRouter.withRetry] generateJson:gemini — tentativa 1 falhou, aguardando 500ms | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\\nPlease retry in 26.339505331s.\",\"status\":\"RESOURCE_EXHAUSTED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.Help\",\"links\":[{\"description\":\"Learn more about Gemini API quotas\",\"url\":\"https://ai.google.dev/gemini-api/docs/rate-limits\"}]},{\"@type\":\"type.googleapis.com/google.rpc.QuotaFailure\",\"violations\":[{\"quotaMetric\":\"generativelanguage.googleapis.com/generate_content_free_tier_requests\",\"quotaId\":\"GenerateRequestsPerDayPerProjectPerModel-FreeTier\",\"quotaDimensions\":{\"location\":\"global\",\"model\":\"gemini-2.5-flash\"},\"quotaValue\":\"20\"}]},{\"@type\":\"type.googleapis.com/google.rpc.RetryInfo\",\"retryDelay\":\"26s\"}]}}"}
[28/05/2026, 22:08:41] [INFO] [LlmRouter.generateJson] gemini respondeu | Meta: {"durationMs":8714}
[28/05/2026, 22:08:45] [INFO] [LlmRouter.generateTextStream] Iniciando stream com groq | Meta: {"model":"llama-3.1-8b-instant"}
[28/05/2026, 22:08:49] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[28/05/2026, 22:08:50] [WARN] [LlmRouter.withRetry] generateJson:gemini — tentativa 1 falhou, aguardando 500ms | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\\nPlease retry in 9.903173966s.\",\"status\":\"RESOURCE_EXHAUSTED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.Help\",\"links\":[{\"description\":\"Learn more about Gemini API quotas\",\"url\":\"https://ai.google.dev/gemini-api/docs/rate-limits\"}]},{\"@type\":\"type.googleapis.com/google.rpc.QuotaFailure\",\"violations\":[{\"quotaMetric\":\"generativelanguage.googleapis.com/generate_content_free_tier_requests\",\"quotaId\":\"GenerateRequestsPerDayPerProjectPerModel-FreeTier\",\"quotaDimensions\":{\"location\":\"global\",\"model\":\"gemini-2.5-flash\"},\"quotaValue\":\"20\"}]},{\"@type\":\"type.googleapis.com/google.rpc.RetryInfo\",\"retryDelay\":\"9s\"}]}}"}
[28/05/2026, 22:08:51] [WARN] [LlmRouter.withRetry] generateJson:gemini — tentativa 2 falhou, aguardando 1000ms | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\\nPlease retry in 9.030029641s.\",\"status\":\"RESOURCE_EXHAUSTED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.Help\",\"links\":[{\"description\":\"Learn more about Gemini API quotas\",\"url\":\"https://ai.google.dev/gemini-api/docs/rate-limits\"}]},{\"@type\":\"type.googleapis.com/google.rpc.QuotaFailure\",\"violations\":[{\"quotaMetric\":\"generativelanguage.googleapis.com/generate_content_free_tier_requests\",\"quotaId\":\"GenerateRequestsPerDayPerProjectPerModel-FreeTier\",\"quotaDimensions\":{\"location\":\"global\",\"model\":\"gemini-2.5-flash\"},\"quotaValue\":\"20\"}]},{\"@type\":\"type.googleapis.com/google.rpc.RetryInfo\",\"retryDelay\":\"9s\"}]}}"}
[28/05/2026, 22:08:52] [ERROR] [LlmRouter.generateJson] gemini falhou, tentando fallback | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\\nPlease retry in 7.651661761s.\",\"status\":\"RESOURCE_EXHAUSTED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.Help\",\"links\":[{\"description\":\"Learn more about Gemini API quotas\",\"url\":\"https://ai.google.dev/gemini-api/docs/rate-limits\"}]},{\"@type\":\"type.googleapis.com/google.rpc.QuotaFailure\",\"violations\":[{\"quotaMetric\":\"generativelanguage.googleapis.com/generate_content_free_tier_requests\",\"quotaId\":\"GenerateRequestsPerDayPerProjectPerModel-FreeTier\",\"quotaDimensions\":{\"model\":\"gemini-2.5-flash\",\"location\":\"global\"},\"quotaValue\":\"20\"}]},{\"@type\":\"type.googleapis.com/google.rpc.RetryInfo\",\"retryDelay\":\"7s\"}]}}"}
[28/05/2026, 22:08:52] [INFO] [LlmRouter.generateJson] Tentando fallback para groq
[28/05/2026, 22:08:55] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[28/05/2026, 22:09:08] [INFO] [LlmRouter.generateJson] gemini respondeu | Meta: {"durationMs":12463}
[28/05/2026, 22:09:11] [INFO] [LlmRouter.generateTextStream] Iniciando stream com groq | Meta: {"model":"llama-3.1-8b-instant"}
[28/05/2026, 22:09:17] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[28/05/2026, 22:09:29] [INFO] [LlmRouter.generateJson] gemini respondeu | Meta: {"durationMs":11983}
[28/05/2026, 22:09:31] [INFO] [LlmRouter.generateTextStream] Iniciando stream com groq | Meta: {"model":"llama-3.1-8b-instant"}
[28/05/2026, 22:09:59] [INFO] [WorkerProcess.Shutdown] Closing workers...
[30/05/2026, 19:39:58] [INFO] [WorkerProcess.Startup] Starting BullMQ workers...
[30/05/2026, 19:39:58] [INFO] [EmbeddingWorker.Worker] Embedding worker is ready and waiting for jobs
[30/05/2026, 19:39:58] [INFO] [WorkerProcess.Worker] Embedding worker is ready and waiting for jobs
[30/05/2026, 20:21:52] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[30/05/2026, 20:21:59] [INFO] [LlmRouter.generateJson] gemini respondeu | Meta: {"durationMs":7431}
[30/05/2026, 20:22:02] [INFO] [LlmRouter.generateTextStream] Iniciando stream com groq | Meta: {"model":"llama-3.1-8b-instant"}
[30/05/2026, 20:28:51] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[30/05/2026, 20:29:01] [INFO] [LlmRouter.generateJson] gemini respondeu | Meta: {"durationMs":10255}
[30/05/2026, 20:32:27] [INFO] [LlmRouter.generateTextStream] Iniciando stream com groq | Meta: {"model":"llama-3.1-8b-instant"}
[30/05/2026, 21:09:41] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[30/05/2026, 21:09:45] [INFO] [LlmRouter.generateJson] gemini respondeu | Meta: {"durationMs":4212}
[30/05/2026, 21:10:06] [INFO] [LlmRouter.generateTextStream] Iniciando stream com groq | Meta: {"model":"llama-3.1-8b-instant"}
[30/05/2026, 21:10:18] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[30/05/2026, 21:10:25] [INFO] [LlmRouter.generateJson] gemini respondeu | Meta: {"durationMs":6604}
[30/05/2026, 21:11:03] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[30/05/2026, 21:11:15] [INFO] [LlmRouter.generateJson] gemini respondeu | Meta: {"durationMs":12110}
[08/06/2026, 22:23:37] [INFO] [WorkerProcess.Startup] Starting BullMQ workers...
[08/06/2026, 22:23:52] [INFO] [EmbeddingWorker.Worker] Embedding worker is ready and waiting for jobs
[08/06/2026, 22:23:52] [INFO] [WorkerProcess.Worker] Embedding worker is ready and waiting for jobs
[08/06/2026, 22:42:55] [INFO] [WorkerProcess.Shutdown] Closing workers...
[09/06/2026, 08:19:16] [INFO] [WorkerProcess.Startup] Starting BullMQ workers...
[09/06/2026, 08:19:16] [INFO] [EmbeddingWorker.Worker] Embedding worker is ready and waiting for jobs
[09/06/2026, 08:19:16] [INFO] [WorkerProcess.Worker] Embedding worker is ready and waiting for jobs
[09/06/2026, 08:19:46] [INFO] [AdminModulesActions.updateModule] Módulo atualizado com sucesso pelo professor | Meta: {"moduleId":"cmpxyt1uy0009omhc66ufber4","title":"RFC","description":"Explora o IPv6 Stateless Address Autoconfiguration (SLAAC) conforme RFC 4862, detalhando a geração de endereços, DAD e renumeração de redes."}
[09/06/2026, 08:20:39] [INFO] [AdminModulesActions.deleteModule] Módulo excluído com sucesso pelo professor | Meta: {"moduleId":"cmpo5p8j8000homl0q652d744"}
[09/06/2026, 08:20:43] [INFO] [AdminModulesActions.createModule] Novo módulo criado com sucesso pelo professor | Meta: {"moduleId":"cmq6jtn2i0001omu0obubcxjt","title":"Introdução e Endereçamento IPv6","description":"","authorId":"cmpo5p8ic0000oml0fwnrgywq","authorName":"Prof. Gabriel","authorEmail":"professor@lumina.com"}
[09/06/2026, 08:21:01] [INFO] [RagIngestionService.processSourceFile] Enfileirando arquivo para processamento | Meta: {"fileId":"cmq6jtvrn0002omu0e05xhz4b","mimeType":"application/pdf"}
[09/06/2026, 08:21:01] [INFO] [RagIngestionService.processSourceFile] Arquivo enfileirado com sucesso | Meta: {"fileId":"cmq6jtvrn0002omu0e05xhz4b"}
[09/06/2026, 08:21:01] [INFO] [EmbeddingWorker.Worker] Started processing job 22
[09/06/2026, 08:21:01] [INFO] [WorkerProcess.Worker] Started processing job 22
[09/06/2026, 08:21:01] [INFO] [EmbeddingWorker.Worker] Processing job 22 for file cmq6jtvrn0002omu0e05xhz4b
[09/06/2026, 08:21:02] [INFO] [EmbeddingWorker.Worker] Chunks gerados pelo SemanticChunker | Meta: {"totalChunks":13,"parents":1,"children":12}
[09/06/2026, 08:21:04] [INFO] [EmbeddingWorker.Worker] Embeddings batch 1/1 concluído
[09/06/2026, 08:21:05] [INFO] [EmbeddingWorker.Worker] Job 22 concluído com sucesso | Meta: {"parents":1,"children":12}
[09/06/2026, 08:21:05] [INFO] [EmbeddingWorker.Worker] Completed job 22
[09/06/2026, 08:21:05] [INFO] [WorkerProcess.Worker] Completed job 22
[09/06/2026, 08:21:08] [INFO] [ModuleContentRagService.generate] Iniciando geração RAG | Meta: {"moduleId":"cmq6jtn2i0001omu0obubcxjt"}
[09/06/2026, 08:21:09] [INFO] [LlmRouter.generateText] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[09/06/2026, 08:21:10] [ERROR] [LlmRouter.generateText] gemini falhou, tentando fallback | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"Your prepayment credits are depleted. Please go to AI Studio at https://ai.studio/projects to manage your project and billing. Learn more at https://ai.google.dev/gemini-api/docs/billing#prepay. \",\"status\":\"RESOURCE_EXHAUSTED\"}}"}
[09/06/2026, 08:21:10] [INFO] [LlmRouter.generateText] Tentando fallback para groq
[09/06/2026, 08:25:51] [INFO] [ModuleContentRagService.generate] Iniciando geração RAG | Meta: {"moduleId":"cmq6jtn2i0001omu0obubcxjt"}
[09/06/2026, 08:25:52] [INFO] [LlmRouter.generateText] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[09/06/2026, 08:25:53] [ERROR] [LlmRouter.generateText] gemini falhou, tentando fallback | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"Your prepayment credits are depleted. Please go to AI Studio at https://ai.studio/projects to manage your project and billing. Learn more at https://ai.google.dev/gemini-api/docs/billing#prepay. \",\"status\":\"RESOURCE_EXHAUSTED\"}}"}
[09/06/2026, 08:25:53] [INFO] [LlmRouter.generateText] Tentando fallback para groq
[09/06/2026, 08:25:53] [ERROR] [LlmRouter.generateText] groq (fallback) também falhou — ambos os providers indisponíveis | Meta: {"error":"Groq API failed (413): {\"error\":{\"message\":\"Request too large for model `llama-3.3-70b-versatile` in organization `org_01kmg7rhthffa8rqykt50ew43n` service tier `on_demand` on tokens per minute (TPM): Limit 12000, Requested 12284, please reduce your message size and try again. Need more tokens? Upgrade to Dev Tier today at https://console.groq.com/settings/billing\",\"type\":\"tokens\",\"code\":\"rate_limit_exceeded\"}}\n"}
[09/06/2026, 08:33:21] [INFO] [ModuleContentRagService.generate] Iniciando geração RAG | Meta: {"moduleId":"cmq6jtn2i0001omu0obubcxjt"}
[09/06/2026, 08:33:22] [INFO] [LlmRouter.generateText] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[09/06/2026, 08:33:23] [ERROR] [LlmRouter.generateText] gemini falhou, tentando fallback | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"Your prepayment credits are depleted. Please go to AI Studio at https://ai.studio/projects to manage your project and billing. Learn more at https://ai.google.dev/gemini-api/docs/billing#prepay. \",\"status\":\"RESOURCE_EXHAUSTED\"}}"}
[09/06/2026, 08:33:23] [INFO] [LlmRouter.generateText] Tentando fallback para groq
[09/06/2026, 08:33:23] [ERROR] [LlmRouter.generateText] groq (fallback) também falhou — ambos os providers indisponíveis | Meta: {"error":"Groq API failed (413): {\"error\":{\"message\":\"Request too large for model `llama-3.1-8b-instant` in organization `org_01kmg7rhthffa8rqykt50ew43n` service tier `on_demand` on tokens per minute (TPM): Limit 6000, Requested 12284, please reduce your message size and try again. Need more tokens? Upgrade to Dev Tier today at https://console.groq.com/settings/billing\",\"type\":\"tokens\",\"code\":\"rate_limit_exceeded\"}}\n"}
[09/06/2026, 08:35:14] [INFO] [ModuleContentRagService.generate] Iniciando geração RAG | Meta: {"moduleId":"cmq6jtn2i0001omu0obubcxjt"}
[09/06/2026, 08:35:15] [INFO] [LlmRouter.generateText] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[09/06/2026, 08:35:17] [ERROR] [LlmRouter.generateText] gemini falhou, tentando fallback | Meta: {"error":"{\"error\":{\"code\":403,\"message\":\"Your project has been denied access. Please contact support.\",\"status\":\"PERMISSION_DENIED\"}}"}
[09/06/2026, 08:35:17] [INFO] [LlmRouter.generateText] Tentando fallback para groq
[09/06/2026, 08:35:17] [ERROR] [LlmRouter.generateText] groq (fallback) também falhou — ambos os providers indisponíveis | Meta: {"error":"Groq API failed (413): {\"error\":{\"message\":\"Request too large for model `llama-3.1-8b-instant` in organization `org_01kmg7rhthffa8rqykt50ew43n` service tier `on_demand` on tokens per minute (TPM): Limit 6000, Requested 12284, please reduce your message size and try again. Need more tokens? Upgrade to Dev Tier today at https://console.groq.com/settings/billing\",\"type\":\"tokens\",\"code\":\"rate_limit_exceeded\"}}\n"}
[09/06/2026, 08:37:48] [INFO] [ModuleContentRagService.generate] Iniciando geração RAG | Meta: {"moduleId":"cmq6jtn2i0001omu0obubcxjt"}
[09/06/2026, 08:37:49] [INFO] [LlmRouter.generateText] Chamando gemini | Meta: {"model":"gemini-3.5-flash"}
[09/06/2026, 08:37:50] [ERROR] [LlmRouter.generateText] gemini falhou, tentando fallback | Meta: {"error":"{\"error\":{\"code\":403,\"message\":\"Your project has been denied access. Please contact support.\",\"status\":\"PERMISSION_DENIED\"}}"}
[09/06/2026, 08:37:50] [INFO] [LlmRouter.generateText] Tentando fallback para groq
[09/06/2026, 08:37:50] [ERROR] [LlmRouter.generateText] groq (fallback) também falhou — ambos os providers indisponíveis | Meta: {"error":"Groq API failed (413): {\"error\":{\"message\":\"Request too large for model `llama-3.1-8b-instant` in organization `org_01kmg7rhthffa8rqykt50ew43n` service tier `on_demand` on tokens per minute (TPM): Limit 6000, Requested 12284, please reduce your message size and try again. Need more tokens? Upgrade to Dev Tier today at https://console.groq.com/settings/billing\",\"type\":\"tokens\",\"code\":\"rate_limit_exceeded\"}}\n"}
[09/06/2026, 08:54:01] [INFO] [WorkerProcess.Shutdown] Closing workers...
[09/06/2026, 08:58:42] [INFO] [WorkerProcess.Startup] Starting BullMQ workers...
[09/06/2026, 08:58:42] [INFO] [EmbeddingWorker.Worker] Embedding worker is ready and waiting for jobs
[09/06/2026, 08:58:42] [INFO] [WorkerProcess.Worker] Embedding worker is ready and waiting for jobs
[09/06/2026, 08:59:02] [INFO] [AdminModulesActions.updateModule] Módulo atualizado com sucesso pelo professor | Meta: {"moduleId":"cmq6jtn2i0001omu0obubcxjt","title":"Introdução e Endereçamento IPv6","description":""}
[09/06/2026, 08:59:08] [INFO] [ModuleContentRagService.generate] Iniciando geração RAG | Meta: {"moduleId":"cmq6jtn2i0001omu0obubcxjt"}
[09/06/2026, 08:59:09] [INFO] [LlmRouter.generateText] Chamando gemini | Meta: {"model":"gemini-3.1-flash-lite"}
[09/06/2026, 08:59:16] [INFO] [LlmRouter.generateText] gemini respondeu | Meta: {"durationMs":7004}
[09/06/2026, 08:59:16] [INFO] [ModuleContentRagService.generate] Conteúdo gerado e salvo | Meta: {"moduleId":"cmq6jtn2i0001omu0obubcxjt"}
[09/06/2026, 08:59:18] [INFO] [AdminModulesActions.updateModule] Módulo atualizado com sucesso pelo professor | Meta: {"moduleId":"cmq6jtn2i0001omu0obubcxjt","title":"Introdução e Endereçamento IPv6","description":"Domine a arquitetura de endereçamento IPv6: da estrutura de 128 bits e tipos de endereços (Unicast, Multicast, Anycast) às normas da RFC 4291."}
[09/06/2026, 10:22:56] [INFO] [AdminModulesActions.deleteModule] Módulo excluído com sucesso pelo professor | Meta: {"moduleId":"cmq6jtn2i0001omu0obubcxjt"}
[09/06/2026, 10:23:05] [INFO] [AdminModulesActions.createModule] Novo módulo criado com sucesso pelo professor | Meta: {"moduleId":"cmq6o701b0005om9chkzj8gr1","title":"Introdução e Endereçamento IPv6","description":"","authorId":"cmpo5p8ic0000oml0fwnrgywq","authorName":"Prof. Gabriel","authorEmail":"professor@lumina.com"}
[09/06/2026, 10:23:13] [INFO] [RagIngestionService.processSourceFile] Enfileirando arquivo para processamento | Meta: {"fileId":"cmq6o72ic0006om9cbpwfg380","mimeType":"application/pdf"}
[09/06/2026, 10:23:13] [INFO] [RagIngestionService.processSourceFile] Arquivo enfileirado com sucesso | Meta: {"fileId":"cmq6o72ic0006om9cbpwfg380"}
[09/06/2026, 10:23:13] [INFO] [EmbeddingWorker.Worker] Started processing job 23
[09/06/2026, 10:23:13] [INFO] [WorkerProcess.Worker] Started processing job 23
[09/06/2026, 10:23:13] [INFO] [EmbeddingWorker.Worker] Processing job 23 for file cmq6o72ic0006om9cbpwfg380
[09/06/2026, 10:23:14] [INFO] [EmbeddingWorker.Worker] Chunks gerados pelo SemanticChunker | Meta: {"totalChunks":13,"parents":1,"children":12}
[09/06/2026, 10:23:15] [ERROR] [EmbeddingWorker.Worker] Failed job 23: 401 Incorrect API key provided: sk-proj-********************************************************************************************************************************************************a7EA. You can find your API key at https://platform.openai.com/account/api-keys.
[09/06/2026, 10:23:15] [ERROR] [EmbeddingWorker.Worker] Job 23 failed: 401 Incorrect API key provided: sk-proj-********************************************************************************************************************************************************a7EA. You can find your API key at https://platform.openai.com/account/api-keys.
[09/06/2026, 10:23:15] [ERROR] [WorkerProcess.Worker] Job 23 failed: 401 Incorrect API key provided: sk-proj-********************************************************************************************************************************************************a7EA. You can find your API key at https://platform.openai.com/account/api-keys.
[09/06/2026, 10:23:17] [INFO] [EmbeddingWorker.Worker] Started processing job 23
[09/06/2026, 10:23:17] [INFO] [WorkerProcess.Worker] Started processing job 23
[09/06/2026, 10:23:17] [INFO] [EmbeddingWorker.Worker] Processing job 23 for file cmq6o72ic0006om9cbpwfg380
[09/06/2026, 10:23:17] [INFO] [EmbeddingWorker.Worker] Chunks gerados pelo SemanticChunker | Meta: {"totalChunks":13,"parents":1,"children":12}
[09/06/2026, 10:23:17] [ERROR] [EmbeddingWorker.Worker] Failed job 23: 401 Incorrect API key provided: sk-proj-********************************************************************************************************************************************************a7EA. You can find your API key at https://platform.openai.com/account/api-keys.
[09/06/2026, 10:23:17] [ERROR] [EmbeddingWorker.Worker] Job 23 failed: 401 Incorrect API key provided: sk-proj-********************************************************************************************************************************************************a7EA. You can find your API key at https://platform.openai.com/account/api-keys.
[09/06/2026, 10:23:17] [ERROR] [WorkerProcess.Worker] Job 23 failed: 401 Incorrect API key provided: sk-proj-********************************************************************************************************************************************************a7EA. You can find your API key at https://platform.openai.com/account/api-keys.
[09/06/2026, 10:23:21] [INFO] [EmbeddingWorker.Worker] Started processing job 23
[09/06/2026, 10:23:21] [INFO] [WorkerProcess.Worker] Started processing job 23
[09/06/2026, 10:23:21] [INFO] [EmbeddingWorker.Worker] Processing job 23 for file cmq6o72ic0006om9cbpwfg380
[09/06/2026, 10:23:21] [INFO] [EmbeddingWorker.Worker] Chunks gerados pelo SemanticChunker | Meta: {"totalChunks":13,"parents":1,"children":12}
[09/06/2026, 10:23:22] [ERROR] [EmbeddingWorker.Worker] Failed job 23: 401 Incorrect API key provided: sk-proj-********************************************************************************************************************************************************a7EA. You can find your API key at https://platform.openai.com/account/api-keys.
[09/06/2026, 10:23:22] [ERROR] [EmbeddingWorker.Worker] Job 23 failed: 401 Incorrect API key provided: sk-proj-********************************************************************************************************************************************************a7EA. You can find your API key at https://platform.openai.com/account/api-keys.
[09/06/2026, 10:23:22] [ERROR] [WorkerProcess.Worker] Job 23 failed: 401 Incorrect API key provided: sk-proj-********************************************************************************************************************************************************a7EA. You can find your API key at https://platform.openai.com/account/api-keys.
[09/06/2026, 10:26:52] [INFO] [AdminModulesActions.updateModule] Módulo atualizado com sucesso pelo professor | Meta: {"moduleId":"cmq6o701b0005om9chkzj8gr1","title":"Introdução e Endereçamento IPv6","description":""}
[09/06/2026, 10:26:56] [INFO] [RagIngestionService.processSourceFile] Enfileirando arquivo para processamento | Meta: {"fileId":"cmq6o72ic0006om9cbpwfg380","mimeType":"application/pdf"}
[09/06/2026, 10:26:56] [INFO] [RagIngestionService.processSourceFile] Arquivo enfileirado com sucesso | Meta: {"fileId":"cmq6o72ic0006om9cbpwfg380"}
[09/06/2026, 10:26:56] [INFO] [EmbeddingWorker.Worker] Started processing job 24
[09/06/2026, 10:26:56] [INFO] [WorkerProcess.Worker] Started processing job 24
[09/06/2026, 10:26:56] [INFO] [EmbeddingWorker.Worker] Processing job 24 for file cmq6o72ic0006om9cbpwfg380
[09/06/2026, 10:26:56] [INFO] [EmbeddingWorker.Worker] Chunks gerados pelo SemanticChunker | Meta: {"totalChunks":13,"parents":1,"children":12}
[09/06/2026, 10:26:57] [ERROR] [EmbeddingWorker.Worker] Failed job 24: 401 Incorrect API key provided: sk-proj-********************************************************************************************************************************************************a7EA. You can find your API key at https://platform.openai.com/account/api-keys.
[09/06/2026, 10:26:57] [ERROR] [EmbeddingWorker.Worker] Job 24 failed: 401 Incorrect API key provided: sk-proj-********************************************************************************************************************************************************a7EA. You can find your API key at https://platform.openai.com/account/api-keys.
[09/06/2026, 10:26:57] [ERROR] [WorkerProcess.Worker] Job 24 failed: 401 Incorrect API key provided: sk-proj-********************************************************************************************************************************************************a7EA. You can find your API key at https://platform.openai.com/account/api-keys.
[09/06/2026, 10:26:59] [INFO] [EmbeddingWorker.Worker] Started processing job 24
[09/06/2026, 10:26:59] [INFO] [WorkerProcess.Worker] Started processing job 24
[09/06/2026, 10:26:59] [INFO] [EmbeddingWorker.Worker] Processing job 24 for file cmq6o72ic0006om9cbpwfg380
[09/06/2026, 10:26:59] [INFO] [EmbeddingWorker.Worker] Chunks gerados pelo SemanticChunker | Meta: {"totalChunks":13,"parents":1,"children":12}
[09/06/2026, 10:26:59] [ERROR] [EmbeddingWorker.Worker] Failed job 24: 401 Incorrect API key provided: sk-proj-********************************************************************************************************************************************************a7EA. You can find your API key at https://platform.openai.com/account/api-keys.
[09/06/2026, 10:26:59] [ERROR] [EmbeddingWorker.Worker] Job 24 failed: 401 Incorrect API key provided: sk-proj-********************************************************************************************************************************************************a7EA. You can find your API key at https://platform.openai.com/account/api-keys.
[09/06/2026, 10:26:59] [ERROR] [WorkerProcess.Worker] Job 24 failed: 401 Incorrect API key provided: sk-proj-********************************************************************************************************************************************************a7EA. You can find your API key at https://platform.openai.com/account/api-keys.
[09/06/2026, 10:27:03] [INFO] [EmbeddingWorker.Worker] Started processing job 24
[09/06/2026, 10:27:03] [INFO] [WorkerProcess.Worker] Started processing job 24
[09/06/2026, 10:27:03] [INFO] [EmbeddingWorker.Worker] Processing job 24 for file cmq6o72ic0006om9cbpwfg380
[09/06/2026, 10:27:03] [INFO] [EmbeddingWorker.Worker] Chunks gerados pelo SemanticChunker | Meta: {"totalChunks":13,"parents":1,"children":12}
[09/06/2026, 10:27:04] [ERROR] [EmbeddingWorker.Worker] Failed job 24: 401 Incorrect API key provided: sk-proj-********************************************************************************************************************************************************a7EA. You can find your API key at https://platform.openai.com/account/api-keys.
[09/06/2026, 10:27:04] [ERROR] [EmbeddingWorker.Worker] Job 24 failed: 401 Incorrect API key provided: sk-proj-********************************************************************************************************************************************************a7EA. You can find your API key at https://platform.openai.com/account/api-keys.
[09/06/2026, 10:27:04] [ERROR] [WorkerProcess.Worker] Job 24 failed: 401 Incorrect API key provided: sk-proj-********************************************************************************************************************************************************a7EA. You can find your API key at https://platform.openai.com/account/api-keys.
[09/06/2026, 10:28:55] [INFO] [WorkerProcess.Shutdown] Closing workers...
[09/06/2026, 10:29:14] [INFO] [WorkerProcess.Startup] Starting BullMQ workers...
[09/06/2026, 10:29:14] [INFO] [EmbeddingWorker.Worker] Embedding worker is ready and waiting for jobs
[09/06/2026, 10:29:14] [INFO] [WorkerProcess.Worker] Embedding worker is ready and waiting for jobs
[09/06/2026, 10:29:28] [INFO] [AdminModulesActions.updateModule] Módulo atualizado com sucesso pelo professor | Meta: {"moduleId":"cmq6o701b0005om9chkzj8gr1","title":"Introdução e Endereçamento IPv6","description":""}
[09/06/2026, 10:29:34] [INFO] [RagIngestionService.processSourceFile] Enfileirando arquivo para processamento | Meta: {"fileId":"cmq6o72ic0006om9cbpwfg380","mimeType":"application/pdf"}
[09/06/2026, 10:29:34] [INFO] [RagIngestionService.processSourceFile] Arquivo enfileirado com sucesso | Meta: {"fileId":"cmq6o72ic0006om9cbpwfg380"}
[09/06/2026, 10:29:34] [INFO] [EmbeddingWorker.Worker] Started processing job 25
[09/06/2026, 10:29:34] [INFO] [WorkerProcess.Worker] Started processing job 25
[09/06/2026, 10:29:34] [INFO] [EmbeddingWorker.Worker] Processing job 25 for file cmq6o72ic0006om9cbpwfg380
[09/06/2026, 10:29:34] [INFO] [EmbeddingWorker.Worker] Chunks gerados pelo SemanticChunker | Meta: {"totalChunks":13,"parents":1,"children":12}
[09/06/2026, 10:29:36] [INFO] [EmbeddingWorker.Worker] Embeddings batch 1/1 concluído
[09/06/2026, 10:29:37] [INFO] [EmbeddingWorker.Worker] Job 25 concluído com sucesso | Meta: {"parents":1,"children":12}
[09/06/2026, 10:29:37] [INFO] [EmbeddingWorker.Worker] Completed job 25
[09/06/2026, 10:29:37] [INFO] [WorkerProcess.Worker] Completed job 25
[09/06/2026, 10:29:42] [INFO] [ModuleContentRagService.generate] Iniciando geração RAG | Meta: {"moduleId":"cmq6o701b0005om9chkzj8gr1"}
[09/06/2026, 10:29:43] [INFO] [LlmRouter.generateText] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[09/06/2026, 10:30:20] [INFO] [LlmRouter.generateText] gemini respondeu | Meta: {"durationMs":37502}
[09/06/2026, 10:30:21] [INFO] [ModuleContentRagService.generate] Conteúdo gerado e salvo | Meta: {"moduleId":"cmq6o701b0005om9chkzj8gr1"}
[09/06/2026, 10:30:25] [INFO] [AdminModulesActions.updateModule] Módulo atualizado com sucesso pelo professor | Meta: {"moduleId":"cmq6o701b0005om9chkzj8gr1","title":"Introdução e Endereçamento IPv6","description":"Explore a arquitetura de endereçamento IPv6, desde sua motivação e estrutura de 128 bits até os tipos de endereços (Unicast, Anycast, Multicast) e representações textuais, com foco em RFCs e exemplos práticos."}
[09/06/2026, 10:32:46] [INFO] [AdminModulesActions.createModule] Novo módulo criado com sucesso pelo professor | Meta: {"moduleId":"cmq6ojg9h0003omkgow342ur0","title":"ASDSADASDASD","description":"","authorId":"cmpo5p8ic0000oml0fwnrgywq","authorName":"Prof. Gabriel","authorEmail":"professor@lumina.com"}
[09/06/2026, 10:33:26] [INFO] [AdminModulesActions.deleteModule] Módulo excluído com sucesso pelo professor | Meta: {"moduleId":"cmq6ojg9h0003omkgow342ur0"}
[09/06/2026, 10:36:24] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[09/06/2026, 10:36:27] [WARN] [LlmRouter.withRetry] generateJson:gemini — tentativa 1 falhou, aguardando 500ms | Meta: {"error":"{\"error\":{\"code\":503,\"message\":\"This model is currently experiencing high demand. Spikes in demand are usually temporary. Please try again later.\",\"status\":\"UNAVAILABLE\"}}"}
[09/06/2026, 10:36:31] [INFO] [LlmRouter.generateJson] gemini respondeu | Meta: {"durationMs":7210}
[09/06/2026, 10:37:02] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[09/06/2026, 10:37:13] [INFO] [LlmRouter.generateJson] gemini respondeu | Meta: {"durationMs":11206}
[09/06/2026, 10:43:28] [INFO] [LlmRouter.generateTextStream] Iniciando stream com groq | Meta: {"model":"llama-3.1-8b-instant"}
[09/06/2026, 10:57:40] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[09/06/2026, 10:57:51] [INFO] [LlmRouter.generateJson] gemini respondeu | Meta: {"durationMs":11026}
[09/06/2026, 10:59:57] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[09/06/2026, 11:00:06] [WARN] [LlmRouter.withRetry] generateJson:gemini — tentativa 1 falhou, aguardando 500ms | Meta: {"error":"{\"error\":{\"code\":503,\"message\":\"This model is currently experiencing high demand. Spikes in demand are usually temporary. Please try again later.\",\"status\":\"UNAVAILABLE\"}}"}
[09/06/2026, 11:00:10] [WARN] [LlmRouter.withRetry] generateJson:gemini — tentativa 2 falhou, aguardando 1000ms | Meta: {"error":"{\"error\":{\"code\":503,\"message\":\"This model is currently experiencing high demand. Spikes in demand are usually temporary. Please try again later.\",\"status\":\"UNAVAILABLE\"}}"}
[09/06/2026, 11:00:13] [ERROR] [LlmRouter.generateJson] gemini falhou, tentando fallback | Meta: {"error":"{\"error\":{\"code\":503,\"message\":\"This model is currently experiencing high demand. Spikes in demand are usually temporary. Please try again later.\",\"status\":\"UNAVAILABLE\"}}"}
[09/06/2026, 11:00:13] [WARN] [LlmRouter.generateJson] Fallback desabilitado para esta chamada — propagando erro original
[09/06/2026, 11:00:13] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[09/06/2026, 11:00:15] [WARN] [LlmRouter.withRetry] generateJson:gemini — tentativa 1 falhou, aguardando 500ms | Meta: {"error":"{\"error\":{\"code\":503,\"message\":\"This model is currently experiencing high demand. Spikes in demand are usually temporary. Please try again later.\",\"status\":\"UNAVAILABLE\"}}"}
[09/06/2026, 11:00:16] [WARN] [LlmRouter.withRetry] generateJson:gemini — tentativa 2 falhou, aguardando 1000ms | Meta: {"error":"{\"error\":{\"code\":503,\"message\":\"This model is currently experiencing high demand. Spikes in demand are usually temporary. Please try again later.\",\"status\":\"UNAVAILABLE\"}}"}
[09/06/2026, 11:00:18] [ERROR] [LlmRouter.generateJson] gemini falhou, tentando fallback | Meta: {"error":"{\"error\":{\"code\":503,\"message\":\"This model is currently experiencing high demand. Spikes in demand are usually temporary. Please try again later.\",\"status\":\"UNAVAILABLE\"}}"}
[09/06/2026, 11:00:18] [WARN] [LlmRouter.generateJson] Fallback desabilitado para esta chamada — propagando erro original
[09/06/2026, 12:05:34] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[09/06/2026, 12:06:00] [INFO] [LlmRouter.generateJson] gemini respondeu | Meta: {"durationMs":25191}
[09/06/2026, 12:07:23] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[09/06/2026, 12:07:23] [ERROR] [LlmRouter.generateJson] gemini falhou, tentando fallback | Meta: {"error":"{\"error\":{\"code\":401,\"message\":\"Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.\",\"status\":\"UNAUTHENTICATED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.ErrorInfo\",\"reason\":\"ACCESS_TOKEN_TYPE_UNSUPPORTED\",\"metadata\":{\"method\":\"google.ai.generativelanguage.v1beta.GenerativeService.GenerateContent\",\"service\":\"generativelanguage.googleapis.com\"}}]}}"}
[09/06/2026, 12:07:23] [INFO] [LlmRouter.generateJson] Tentando fallback para groq
[09/06/2026, 12:07:23] [ERROR] [LlmRouter.generateJson] groq (fallback) também falhou — ambos os providers indisponíveis | Meta: {"error":"Groq API failed (413): {\"error\":{\"message\":\"Request too large for model `llama-3.3-70b-versatile` in organization `org_01kmg7rhthffa8rqykt50ew43n` service tier `on_demand` on tokens per minute (TPM): Limit 12000, Requested 13121, please reduce your message size and try again. Need more tokens? Upgrade to Dev Tier today at https://console.groq.com/settings/billing\",\"type\":\"tokens\",\"code\":\"rate_limit_exceeded\"}}\n"}
[09/06/2026, 12:07:42] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[09/06/2026, 12:07:42] [ERROR] [LlmRouter.generateJson] gemini falhou, tentando fallback | Meta: {"error":"{\"error\":{\"code\":401,\"message\":\"Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.\",\"status\":\"UNAUTHENTICATED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.ErrorInfo\",\"reason\":\"ACCESS_TOKEN_TYPE_UNSUPPORTED\",\"metadata\":{\"method\":\"google.ai.generativelanguage.v1beta.GenerativeService.GenerateContent\",\"service\":\"generativelanguage.googleapis.com\"}}]}}"}
[09/06/2026, 12:07:42] [INFO] [LlmRouter.generateJson] Tentando fallback para groq
[09/06/2026, 12:07:43] [ERROR] [LlmRouter.generateJson] groq (fallback) também falhou — ambos os providers indisponíveis | Meta: {"error":"Groq API failed (413): {\"error\":{\"message\":\"Request too large for model `llama-3.3-70b-versatile` in organization `org_01kmg7rhthffa8rqykt50ew43n` service tier `on_demand` on tokens per minute (TPM): Limit 12000, Requested 13121, please reduce your message size and try again. Need more tokens? Upgrade to Dev Tier today at https://console.groq.com/settings/billing\",\"type\":\"tokens\",\"code\":\"rate_limit_exceeded\"}}\n"}
[09/06/2026, 12:08:30] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[09/06/2026, 12:08:30] [ERROR] [LlmRouter.generateJson] gemini falhou, tentando fallback | Meta: {"error":"{\"error\":{\"code\":401,\"message\":\"Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.\",\"status\":\"UNAUTHENTICATED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.ErrorInfo\",\"reason\":\"ACCESS_TOKEN_TYPE_UNSUPPORTED\",\"metadata\":{\"service\":\"generativelanguage.googleapis.com\",\"method\":\"google.ai.generativelanguage.v1beta.GenerativeService.GenerateContent\"}}]}}"}
[09/06/2026, 12:08:30] [INFO] [LlmRouter.generateJson] Tentando fallback para groq
[09/06/2026, 12:09:35] [INFO] [LlmRouter.generateJson] Cache hit — retornando resposta cacheada | Meta: {"pipeline":"QUIZ_GEN"}
[09/06/2026, 12:09:57] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[09/06/2026, 12:09:58] [ERROR] [LlmRouter.generateJson] gemini falhou, tentando fallback | Meta: {"error":"{\"error\":{\"code\":401,\"message\":\"Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.\",\"status\":\"UNAUTHENTICATED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.ErrorInfo\",\"reason\":\"ACCESS_TOKEN_TYPE_UNSUPPORTED\",\"metadata\":{\"method\":\"google.ai.generativelanguage.v1beta.GenerativeService.GenerateContent\",\"service\":\"generativelanguage.googleapis.com\"}}]}}"}
[09/06/2026, 12:09:58] [INFO] [LlmRouter.generateJson] Tentando fallback para groq
[09/06/2026, 12:10:52] [INFO] [LlmRouter.generateJson] Cache hit — retornando resposta cacheada | Meta: {"pipeline":"QUIZ_GEN"}
[09/06/2026, 12:11:24] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[09/06/2026, 12:11:29] [INFO] [LlmRouter.generateJson] gemini respondeu | Meta: {"durationMs":5274}
[09/06/2026, 14:27:48] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[09/06/2026, 14:27:48] [ERROR] [LlmRouter.generateJson] gemini falhou, tentando fallback | Meta: {"error":"{\"error\":{\"code\":401,\"message\":\"Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.\",\"status\":\"UNAUTHENTICATED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.ErrorInfo\",\"reason\":\"ACCESS_TOKEN_TYPE_UNSUPPORTED\",\"metadata\":{\"method\":\"google.ai.generativelanguage.v1beta.GenerativeService.GenerateContent\",\"service\":\"generativelanguage.googleapis.com\"}}]}}"}
[09/06/2026, 14:27:48] [INFO] [LlmRouter.generateJson] Tentando fallback para groq
[09/06/2026, 14:29:27] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[09/06/2026, 14:29:34] [ERROR] [LlmRouter.generateJson] gemini falhou, tentando fallback | Meta: {"error":"Unterminated string in JSON at position 127 (line 1 column 128)"}
[09/06/2026, 14:29:34] [INFO] [LlmRouter.generateJson] Tentando fallback para groq
[09/06/2026, 14:29:57] [INFO] [LlmRouter.generateTextStream] Iniciando stream com groq | Meta: {"model":"llama-3.1-8b-instant"}
[09/06/2026, 14:32:00] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[09/06/2026, 14:32:01] [ERROR] [LlmRouter.generateJson] gemini falhou, tentando fallback | Meta: {"error":"{\"error\":{\"code\":503,\"message\":\"This model is currently experiencing high demand. Spikes in demand are usually temporary. Please try again later.\",\"status\":\"UNAVAILABLE\"}}"}
[09/06/2026, 14:32:01] [INFO] [LlmRouter.generateJson] Tentando fallback para groq
[09/06/2026, 14:32:02] [INFO] [LlmRouter.generateJson] Consumo de Tokens (Fallback) — Modelo: llama-3.3-70b-versatile | Meta: {"promptTokens":102,"completionTokens":275,"totalTokens":377}
[09/06/2026, 14:32:49] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[09/06/2026, 14:32:54] [INFO] [LlmRouter.generateJson] gemini respondeu | Meta: {"durationMs":4705}
[09/06/2026, 14:32:54] [INFO] [LlmRouter.generateJson] Consumo de Tokens — Modelo: gemini-2.5-flash | Input: 22 | Output: 217 | Total: 239 | Meta: {"promptTokens":22,"completionTokens":217,"totalTokens":239}
[09/06/2026, 14:32:56] [INFO] [LlmRouter.generateText] Chamando groq | Meta: {"model":"llama-3.1-8b-instant"}
[09/06/2026, 14:32:57] [INFO] [LlmRouter.generateText] groq respondeu | Meta: {"durationMs":865}
[09/06/2026, 14:32:57] [INFO] [LlmRouter.generateText] Consumo de Tokens — Modelo: llama-3.1-8b-instant | Input: 182 | Output: 225 | Total: 407 | Meta: {"promptTokens":182,"completionTokens":225,"totalTokens":407}
[09/06/2026, 14:33:44] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[09/06/2026, 14:33:51] [ERROR] [LlmRouter.generateJson] gemini falhou, tentando fallback | Meta: {"error":"Unterminated string in JSON at position 120 (line 2 column 119)"}
[09/06/2026, 14:33:51] [INFO] [LlmRouter.generateJson] Tentando fallback para groq
[09/06/2026, 14:33:52] [INFO] [LlmRouter.generateJson] Consumo de Tokens (Fallback) — Modelo: llama-3.3-70b-versatile | Input: 4990 | Output: 254 | Total: 5244 | Meta: {"promptTokens":4990,"completionTokens":254,"totalTokens":5244}
[09/06/2026, 14:34:55] [INFO] [LlmRouter.generateTextStream] Iniciando stream com groq | Meta: {"model":"llama-3.1-8b-instant"}
[09/06/2026, 14:37:55] [INFO] [LlmRouter.generateTextStream] Iniciando stream com groq | Meta: {"model":"llama-3.1-8b-instant"}
[09/06/2026, 14:41:03] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[09/06/2026, 14:41:10] [ERROR] [LlmRouter.generateJson] gemini falhou, tentando fallback | Meta: {"error":"Unterminated string in JSON at position 125 (line 2 column 124)"}
[09/06/2026, 14:41:10] [INFO] [LlmRouter.generateJson] Tentando fallback para groq
[09/06/2026, 14:41:11] [INFO] [LlmRouter.generateJson] Consumo de Tokens (Fallback) — Modelo: llama-3.3-70b-versatile | Input: 5048 | Output: 228 | Total: 5276 | Meta: {"promptTokens":5048,"completionTokens":228,"totalTokens":5276}
[09/06/2026, 14:41:31] [INFO] [LlmRouter.generateTextStream] Iniciando stream com groq | Meta: {"model":"llama-3.1-8b-instant"}
[09/06/2026, 14:47:41] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[09/06/2026, 14:47:47] [ERROR] [LlmRouter.generateJson] gemini falhou, tentando fallback | Meta: {"error":"Unterminated string in JSON at position 711 (line 1 column 712)"}
[09/06/2026, 14:47:47] [INFO] [LlmRouter.generateJson] Tentando fallback para groq
[09/06/2026, 14:47:49] [INFO] [LlmRouter.generateJson] Consumo de Tokens (Fallback) — Modelo: llama-3.3-70b-versatile | Input: 4403 | Output: 266 | Total: 4669 | Meta: {"promptTokens":4403,"completionTokens":266,"totalTokens":4669}
[09/06/2026, 14:48:02] [INFO] [LlmRouter.generateTextStream] Iniciando stream com groq | Meta: {"model":"llama-3.1-8b-instant"}
[09/06/2026, 14:48:23] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[09/06/2026, 14:48:30] [ERROR] [LlmRouter.generateJson] gemini falhou, tentando fallback | Meta: {"error":"Unterminated string in JSON at position 360 (line 1 column 361)"}
[09/06/2026, 14:48:30] [INFO] [LlmRouter.generateJson] Tentando fallback para groq
[09/06/2026, 14:48:31] [INFO] [LlmRouter.generateJson] Consumo de Tokens (Fallback) — Modelo: llama-3.3-70b-versatile | Input: 4511 | Output: 230 | Total: 4741 | Meta: {"promptTokens":4511,"completionTokens":230,"totalTokens":4741}
[09/06/2026, 14:48:47] [INFO] [LlmRouter.generateTextStream] Iniciando stream com groq | Meta: {"model":"llama-3.1-8b-instant"}
[09/06/2026, 14:48:56] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[09/06/2026, 14:49:02] [INFO] [LlmRouter.generateJson] gemini respondeu | Meta: {"durationMs":5890}
[09/06/2026, 14:49:02] [INFO] [LlmRouter.generateJson] Consumo de Tokens — Modelo: gemini-2.5-flash | Input: 4308 | Output: 204 | Total: 4512 | Meta: {"promptTokens":4308,"completionTokens":204,"totalTokens":4512}
[09/06/2026, 14:49:16] [INFO] [LlmRouter.generateTextStream] Iniciando stream com groq | Meta: {"model":"llama-3.1-8b-instant"}
[09/06/2026, 14:53:34] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[09/06/2026, 14:53:37] [INFO] [LlmRouter.generateJson] gemini respondeu | Meta: {"durationMs":2278}
[09/06/2026, 14:53:37] [INFO] [LlmRouter.generateJson] Consumo de Tokens — Modelo: gemini-2.5-flash | Input: 22 | Output: 114 | Total: 136 | Meta: {"promptTokens":22,"completionTokens":114,"totalTokens":136}
[09/06/2026, 14:59:47] [INFO] [LlmRouter.generateJson] Cache hit — retornando resposta cacheada | Meta: {"pipeline":"QUIZ_GEN"}
[09/06/2026, 15:00:11] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[09/06/2026, 15:00:48] [ERROR] [LlmRouter.generateJson] gemini falhou, tentando fallback | Meta: {"error":"{\"error\":{\"code\":503,\"message\":\"This model is currently experiencing high demand. Spikes in demand are usually temporary. Please try again later.\",\"status\":\"UNAVAILABLE\"}}"}
[09/06/2026, 15:00:48] [INFO] [LlmRouter.generateJson] Tentando fallback para groq
[09/06/2026, 15:00:49] [INFO] [LlmRouter.generateJson] Consumo de Tokens (Fallback) — Modelo: llama-3.3-70b-versatile | Input: 113 | Output: 55 | Total: 168 | Meta: {"promptTokens":113,"completionTokens":55,"totalTokens":168}
[09/06/2026, 15:01:03] [INFO] [LlmRouter.generateJson] Cache hit — retornando resposta cacheada | Meta: {"pipeline":"QUIZ_GEN"}
[09/06/2026, 15:01:31] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[09/06/2026, 15:01:31] [ERROR] [LlmRouter.generateJson] gemini falhou, tentando fallback | Meta: {"error":"{\"error\":{\"code\":401,\"message\":\"Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.\",\"status\":\"UNAUTHENTICATED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.ErrorInfo\",\"reason\":\"ACCESS_TOKEN_TYPE_UNSUPPORTED\",\"metadata\":{\"method\":\"google.ai.generativelanguage.v1beta.GenerativeService.GenerateContent\",\"service\":\"generativelanguage.googleapis.com\"}}]}}"}
[09/06/2026, 15:01:31] [INFO] [LlmRouter.generateJson] Tentando fallback para groq
[09/06/2026, 15:01:32] [INFO] [LlmRouter.generateJson] Consumo de Tokens (Fallback) — Modelo: llama-3.3-70b-versatile | Input: 118 | Output: 125 | Total: 243 | Meta: {"promptTokens":118,"completionTokens":125,"totalTokens":243}
[09/06/2026, 15:04:23] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[09/06/2026, 15:04:24] [ERROR] [LlmRouter.generateJson] gemini falhou, tentando fallback | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\\nPlease retry in 35.686901646s.\",\"status\":\"RESOURCE_EXHAUSTED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.Help\",\"links\":[{\"description\":\"Learn more about Gemini API quotas\",\"url\":\"https://ai.google.dev/gemini-api/docs/rate-limits\"}]},{\"@type\":\"type.googleapis.com/google.rpc.QuotaFailure\",\"violations\":[{\"quotaMetric\":\"generativelanguage.googleapis.com/generate_content_free_tier_requests\",\"quotaId\":\"GenerateRequestsPerDayPerProjectPerModel-FreeTier\",\"quotaDimensions\":{\"location\":\"global\",\"model\":\"gemini-2.5-flash\"},\"quotaValue\":\"20\"}]},{\"@type\":\"type.googleapis.com/google.rpc.RetryInfo\",\"retryDelay\":\"35s\"}]}}"}
[09/06/2026, 15:04:24] [INFO] [LlmRouter.generateJson] Tentando fallback para groq
[09/06/2026, 15:04:25] [INFO] [LlmRouter.generateJson] Consumo de Tokens (Fallback) — Modelo: llama-3.3-70b-versatile | Input: 5068 | Output: 218 | Total: 5286 | Meta: {"promptTokens":5068,"completionTokens":218,"totalTokens":5286}
[09/06/2026, 15:05:25] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[09/06/2026, 15:05:26] [ERROR] [LlmRouter.generateJson] gemini falhou, tentando fallback | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\\nPlease retry in 33.719778443s.\",\"status\":\"RESOURCE_EXHAUSTED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.Help\",\"links\":[{\"description\":\"Learn more about Gemini API quotas\",\"url\":\"https://ai.google.dev/gemini-api/docs/rate-limits\"}]},{\"@type\":\"type.googleapis.com/google.rpc.QuotaFailure\",\"violations\":[{\"quotaMetric\":\"generativelanguage.googleapis.com/generate_content_free_tier_requests\",\"quotaId\":\"GenerateRequestsPerDayPerProjectPerModel-FreeTier\",\"quotaDimensions\":{\"location\":\"global\",\"model\":\"gemini-2.5-flash\"},\"quotaValue\":\"20\"}]},{\"@type\":\"type.googleapis.com/google.rpc.RetryInfo\",\"retryDelay\":\"33s\"}]}}"}
[09/06/2026, 15:05:26] [INFO] [LlmRouter.generateJson] Tentando fallback para groq
[09/06/2026, 15:05:28] [INFO] [LlmRouter.generateJson] Consumo de Tokens (Fallback) — Modelo: llama-3.3-70b-versatile | Input: 5086 | Output: 365 | Total: 5451 | Meta: {"promptTokens":5086,"completionTokens":365,"totalTokens":5451}
[09/06/2026, 16:52:14] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[09/06/2026, 16:52:14] [ERROR] [LlmRouter.generateJson] gemini falhou (tentando fallback). Erro original: {"error":{"code":401,"message":"Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.","status":"UNAUTHENTICATED","details":[{"@type":"type.googleapis.com/google.rpc.ErrorInfo","reason":"ACCESS_TOKEN_TYPE_UNSUPPORTED","metadata":{"service":"generativelanguage.googleapis.com","method":"google.ai.generativelanguage.v1beta.GenerativeService.GenerateContent"}}]}} | Meta: {"error":"{\"error\":{\"code\":401,\"message\":\"Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.\",\"status\":\"UNAUTHENTICATED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.ErrorInfo\",\"reason\":\"ACCESS_TOKEN_TYPE_UNSUPPORTED\",\"metadata\":{\"service\":\"generativelanguage.googleapis.com\",\"method\":\"google.ai.generativelanguage.v1beta.GenerativeService.GenerateContent\"}}]}}"}
[09/06/2026, 16:52:14] [INFO] [LlmRouter.generateJson] Tentando fallback para groq
[09/06/2026, 16:52:15] [INFO] [LlmRouter.generateJson] Consumo de Tokens (Fallback) — Modelo: llama-3.3-70b-versatile | Input: 118 | Output: 122 | Total: 240 | Meta: {"promptTokens":118,"completionTokens":122,"totalTokens":240}
[09/06/2026, 16:53:22] [INFO] [LlmRouter.generateTextStream] Iniciando stream com groq | Meta: {"model":"llama-3.1-8b-instant"}
[09/06/2026, 16:53:28] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[09/06/2026, 16:53:34] [INFO] [LlmRouter.generateJson] gemini respondeu | Meta: {"durationMs":6270}
[09/06/2026, 16:53:34] [INFO] [LlmRouter.generateJson] Consumo de Tokens — Modelo: gemini-2.5-flash | Input: 4896 | Output: 28 | Total: 4924 | Meta: {"promptTokens":4896,"completionTokens":28,"totalTokens":4924}
[09/06/2026, 16:53:55] [INFO] [LlmRouter.generateJson] Cache hit — retornando resposta cacheada | Meta: {"pipeline":"QUIZ_GEN"}
[09/06/2026, 16:53:56] [INFO] [LlmRouter.generateJson] Cache hit — retornando resposta cacheada | Meta: {"pipeline":"QUIZ_GEN"}
[09/06/2026, 16:57:11] [INFO] [LlmRouter.generateJson] Cache hit — retornando resposta cacheada | Meta: {"pipeline":"QUIZ_GEN"}
[09/06/2026, 16:57:42] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[09/06/2026, 16:57:49] [INFO] [LlmRouter.generateJson] gemini respondeu | Meta: {"durationMs":6706}
[09/06/2026, 16:57:49] [INFO] [LlmRouter.generateJson] Consumo de Tokens — Modelo: gemini-2.5-flash | Input: 54 | Output: 365 | Total: 419 | Meta: {"promptTokens":54,"completionTokens":365,"totalTokens":419}
[09/06/2026, 16:59:39] [INFO] [LlmRouter.generateJson] Cache hit — retornando resposta cacheada | Meta: {"pipeline":"QUIZ_GEN"}
[09/06/2026, 16:59:53] [INFO] [LlmRouter.generateJson] Cache hit — retornando resposta cacheada | Meta: {"pipeline":"QUIZ_GEN"}
[09/06/2026, 17:00:01] [INFO] [LlmRouter.generateJson] Cache hit — retornando resposta cacheada | Meta: {"pipeline":"QUIZ_GEN"}
[09/06/2026, 17:00:34] [WARN] [LlmRouter.generateJson] Cache ignorado (inválido no schema): Missing required property: options
[09/06/2026, 17:00:34] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[09/06/2026, 17:00:41] [ERROR] [LlmRouter.generateJson] gemini falhou (tentando fallback). Erro original: Schema validation failed: Missing required property: options | Meta: {"error":"Schema validation failed: Missing required property: options"}
[09/06/2026, 17:00:41] [INFO] [LlmRouter.generateJson] Tentando fallback para groq
[09/06/2026, 17:00:42] [INFO] [LlmRouter.generateJson] Consumo de Tokens (Fallback) — Modelo: llama-3.3-70b-versatile | Input: 5138 | Output: 296 | Total: 5434 | Meta: {"promptTokens":5138,"completionTokens":296,"totalTokens":5434}
[09/06/2026, 17:01:21] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[09/06/2026, 17:01:21] [ERROR] [LlmRouter.generateJson] gemini falhou (tentando fallback). Erro original: {"error":{"code":429,"message":"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\nPlease retry in 38.261410388s.","status":"RESOURCE_EXHAUSTED","details":[{"@type":"type.googleapis.com/google.rpc.Help","links":[{"description":"Learn more about Gemini API quotas","url":"https://ai.google.dev/gemini-api/docs/rate-limits"}]},{"@type":"type.googleapis.com/google.rpc.QuotaFailure","violations":[{"quotaMetric":"generativelanguage.googleapis.com/generate_content_free_tier_requests","quotaId":"GenerateRequestsPerDayPerProjectPerModel-FreeTier","quotaDimensions":{"location":"global","model":"gemini-2.5-flash"},"quotaValue":"20"}]},{"@type":"type.googleapis.com/google.rpc.RetryInfo","retryDelay":"38s"}]}} | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\\nPlease retry in 38.261410388s.\",\"status\":\"RESOURCE_EXHAUSTED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.Help\",\"links\":[{\"description\":\"Learn more about Gemini API quotas\",\"url\":\"https://ai.google.dev/gemini-api/docs/rate-limits\"}]},{\"@type\":\"type.googleapis.com/google.rpc.QuotaFailure\",\"violations\":[{\"quotaMetric\":\"generativelanguage.googleapis.com/generate_content_free_tier_requests\",\"quotaId\":\"GenerateRequestsPerDayPerProjectPerModel-FreeTier\",\"quotaDimensions\":{\"location\":\"global\",\"model\":\"gemini-2.5-flash\"},\"quotaValue\":\"20\"}]},{\"@type\":\"type.googleapis.com/google.rpc.RetryInfo\",\"retryDelay\":\"38s\"}]}}"}
[09/06/2026, 17:01:21] [INFO] [LlmRouter.generateJson] Tentando fallback para groq
[09/06/2026, 17:01:23] [INFO] [LlmRouter.generateJson] Consumo de Tokens (Fallback) — Modelo: llama-3.3-70b-versatile | Input: 4548 | Output: 255 | Total: 4803 | Meta: {"promptTokens":4548,"completionTokens":255,"totalTokens":4803}
[09/06/2026, 17:04:58] [INFO] [LlmRouter.generateTextStream] Iniciando stream com groq | Meta: {"model":"llama-3.1-8b-instant"}
[09/06/2026, 17:05:06] [INFO] [LlmRouter.generateJson] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[09/06/2026, 17:05:07] [ERROR] [LlmRouter.generateJson] gemini falhou (tentando fallback). Erro original: {"error":{"code":429,"message":"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\nPlease retry in 53.20018989s.","status":"RESOURCE_EXHAUSTED","details":[{"@type":"type.googleapis.com/google.rpc.Help","links":[{"description":"Learn more about Gemini API quotas","url":"https://ai.google.dev/gemini-api/docs/rate-limits"}]},{"@type":"type.googleapis.com/google.rpc.QuotaFailure","violations":[{"quotaMetric":"generativelanguage.googleapis.com/generate_content_free_tier_requests","quotaId":"GenerateRequestsPerDayPerProjectPerModel-FreeTier","quotaDimensions":{"location":"global","model":"gemini-2.5-flash"},"quotaValue":"20"}]},{"@type":"type.googleapis.com/google.rpc.RetryInfo","retryDelay":"53s"}]}} | Meta: {"error":"{\"error\":{\"code\":429,\"message\":\"You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\\nPlease retry in 53.20018989s.\",\"status\":\"RESOURCE_EXHAUSTED\",\"details\":[{\"@type\":\"type.googleapis.com/google.rpc.Help\",\"links\":[{\"description\":\"Learn more about Gemini API quotas\",\"url\":\"https://ai.google.dev/gemini-api/docs/rate-limits\"}]},{\"@type\":\"type.googleapis.com/google.rpc.QuotaFailure\",\"violations\":[{\"quotaMetric\":\"generativelanguage.googleapis.com/generate_content_free_tier_requests\",\"quotaId\":\"GenerateRequestsPerDayPerProjectPerModel-FreeTier\",\"quotaDimensions\":{\"location\":\"global\",\"model\":\"gemini-2.5-flash\"},\"quotaValue\":\"20\"}]},{\"@type\":\"type.googleapis.com/google.rpc.RetryInfo\",\"retryDelay\":\"53s\"}]}}"}
[09/06/2026, 17:05:07] [INFO] [LlmRouter.generateJson] Tentando fallback para groq
[09/06/2026, 17:05:08] [INFO] [LlmRouter.generateJson] Consumo de Tokens (Fallback) — Modelo: llama-3.3-70b-versatile | Input: 4645 | Output: 254 | Total: 4899 | Meta: {"promptTokens":4645,"completionTokens":254,"totalTokens":4899}
[09/06/2026, 17:06:17] [INFO] [WorkerProcess.Shutdown] Closing workers...
[16/06/2026, 14:19:15] [INFO] [WorkerProcess.Startup] Starting BullMQ workers...
[16/06/2026, 14:19:38] [INFO] [EmbeddingWorker.Worker] Embedding worker is ready and waiting for jobs
[16/06/2026, 14:19:38] [INFO] [WorkerProcess.Worker] Embedding worker is ready and waiting for jobs
[16/06/2026, 14:34:52] [INFO] [AdminModulesActions.updateModule] Módulo atualizado com sucesso pelo professor | Meta: {"moduleId":"cmq6o701b0005om9chkzj8gr1","title":"Introdução e Endereçamento IPv6","description":"Explore a arquitetura de endereçamento IPv6, desde sua motivação e estrutura de 128 bits até os tipos de endereços (Unicast, Anycast, Multicast) e representações textuais, com foco em RFCs e exemplos práticos."}
[16/06/2026, 14:35:24] [INFO] [WorkerProcess.Shutdown] Closing workers...
[16/06/2026, 14:35:52] [INFO] [WorkerProcess.Startup] Starting BullMQ workers...
[16/06/2026, 14:35:52] [INFO] [EmbeddingWorker.Worker] Embedding worker is ready and waiting for jobs
[16/06/2026, 14:35:52] [INFO] [WorkerProcess.Worker] Embedding worker is ready and waiting for jobs
[16/06/2026, 14:37:09] [INFO] [AdminModulesActions.createModule] Novo módulo criado com sucesso pelo professor | Meta: {"moduleId":"cmqgxcp5l0001om0wug15nq7n","title":"SEGURANÇA NO PROTOCOLO IPV6","description":"","authorId":"cmpo5p8ic0000oml0fwnrgywq","authorName":"Prof. Gabriel","authorEmail":"professor@lumina.com"}
[16/06/2026, 14:37:34] [INFO] [RagIngestionService.processSourceFile] Enfileirando arquivo para processamento | Meta: {"fileId":"cmqgxd1jv0002om0w62tow1av","mimeType":"application/pdf"}
[16/06/2026, 14:37:34] [INFO] [RagIngestionService.processSourceFile] Arquivo enfileirado com sucesso | Meta: {"fileId":"cmqgxd1jv0002om0w62tow1av"}
[16/06/2026, 14:37:34] [INFO] [EmbeddingWorker.Worker] Started processing job 26
[16/06/2026, 14:37:34] [INFO] [WorkerProcess.Worker] Started processing job 26
[16/06/2026, 14:37:34] [INFO] [EmbeddingWorker.Worker] Processing job 26 for file cmqgxd1jv0002om0w62tow1av
[16/06/2026, 14:37:34] [INFO] [EmbeddingWorker.Worker] Chunks gerados pelo SemanticChunker | Meta: {"totalChunks":6,"parents":1,"children":5}
[16/06/2026, 14:37:38] [INFO] [EmbeddingWorker.Worker] Embeddings batch 1/1 concluído
[16/06/2026, 14:37:39] [INFO] [EmbeddingWorker.Worker] Job 26 concluído com sucesso | Meta: {"parents":1,"children":5}
[16/06/2026, 14:37:39] [INFO] [EmbeddingWorker.Worker] Completed job 26
[16/06/2026, 14:37:39] [INFO] [WorkerProcess.Worker] Completed job 26
[16/06/2026, 14:38:10] [INFO] [ModuleContentRagService.generate] Iniciando geração RAG | Meta: {"moduleId":"cmqgxcp5l0001om0wug15nq7n"}
[16/06/2026, 14:38:11] [INFO] [LlmRouter.generateText] Chamando gemini | Meta: {"model":"gemini-2.5-flash"}
[16/06/2026, 14:38:12] [ERROR] [LlmRouter.generateText] gemini falhou (tentando fallback). Erro original: {"error":{"code":403,"message":"Your project has been denied access. Please contact support.","status":"PERMISSION_DENIED"}} | Meta: {"error":"{\"error\":{\"code\":403,\"message\":\"Your project has been denied access. Please contact support.\",\"status\":\"PERMISSION_DENIED\"}}"}
[16/06/2026, 14:38:12] [INFO] [LlmRouter.generateText] Tentando fallback para groq
[16/06/2026, 14:38:15] [INFO] [LlmRouter.generateText] Consumo de Tokens (Fallback) — Modelo: llama-3.3-70b-versatile | Input: 1471 | Output: 1202 | Total: 2673 | Meta: {"promptTokens":1471,"completionTokens":1202,"totalTokens":2673}
[16/06/2026, 14:38:15] [INFO] [ModuleContentRagService.generate] Conteúdo gerado e salvo | Meta: {"moduleId":"cmqgxcp5l0001om0wug15nq7n"}
[16/06/2026, 14:38:49] [INFO] [AdminModulesActions.updateModule] Módulo atualizado com sucesso pelo professor | Meta: {"moduleId":"cmqgxcp5l0001om0wug15nq7n","title":"SEGURANÇA NO PROTOCOLO IPV6","description":"Segurança no Protocolo IPv6: Desafios e Soluções."}
[16/06/2026, 15:42:06] [INFO] [WorkerProcess.Shutdown] Closing workers...