File size: 260,528 Bytes
cb3f557
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2025-12-12 16:05:59,387 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8080']
2025-12-12 16:08:49,149 - app - INFO - Created new session: 122e3ce9-ab5b-4fbf-957c-7ba8a25c4068
2025-12-12 16:09:17,819 - app - INFO - Stream request from 127.0.0.1: language=english, message=hello..., session_id=122e3ce9-ab5b-4fbf-957c-7ba8a25c4068
2025-12-12 16:09:19,125 - app - INFO - AGENT STREAM CALL: query_innscribe_bot_stream called with message='hello', language='english', session_id='122e3ce9-ab5b-4fbf-957c-7ba8a25c4068'
2025-12-12 16:09:19,434 - app - INFO - Retrieved 1 history messages for session 122e3ce9-ab5b-4fbf-957c-7ba8a25c4068
2025-12-12 16:09:25,853 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-12 16:09:26,255 - app - WARNING - Streaming failed, falling back to non-streaming: 1 validation error for ResponseTextDeltaEvent
logprobs
  Field required [type=missing, input_value={'content_index': 0, 'del...', 'sequence_number': 3}, input_type=dict]
    For further information visit https://errors.pydantic.dev/2.10/v/missing
2025-12-12 16:09:26,401 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-12 16:09:28,465 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-12 16:09:28,782 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-12 16:09:28,808 - app - INFO - AGENT STREAM RESULT: query_innscribe_bot_stream fallback completed successfully
2025-12-12 16:18:50,797 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8080']
2025-12-12 16:20:40,529 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8080']
2025-12-12 16:21:01,848 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8080']
2025-12-12 16:21:12,993 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8080']
2025-12-12 16:21:49,388 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8080']
2025-12-12 16:23:41,853 - app - INFO - Meeting scheduling request from Taha (tahasaif451@gmail.com) - IP: 127.0.0.1
2025-12-12 16:23:44,401 - app - ERROR - Error scheduling meeting: Invalid `to` field. The email address needs to follow the `email@example.com` or `Name <email@example.com>` format.
Traceback (most recent call last):
  File "D:\innocscribe_chatbot\app.py", line 669, in schedule_meeting
    email = resend.Emails.send(params)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\LATITUDE\AppData\Roaming\Python\Python312\site-packages\resend\emails\_emails.py", line 277, in send
    ).perform_with_content()
      ^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\LATITUDE\AppData\Roaming\Python\Python312\site-packages\resend\request.py", line 44, in perform_with_content
    resp = self.perform()
           ^^^^^^^^^^^^^^
  File "C:\Users\LATITUDE\AppData\Roaming\Python\Python312\site-packages\resend\request.py", line 35, in perform
    raise_for_code_and_type(
  File "C:\Users\LATITUDE\AppData\Roaming\Python\Python312\site-packages\resend\exceptions.py", line 213, in raise_for_code_and_type
    raise error_from_list(
resend.exceptions.ValidationError: Invalid `to` field. The email address needs to follow the `email@example.com` or `Name <email@example.com>` format.
2025-12-12 16:25:03,901 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8080']
2025-12-12 16:25:15,460 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8080']
2025-12-12 16:25:24,658 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8080']
2025-12-12 16:25:32,997 - app - INFO - Meeting scheduling request from Taha (tahasaif451@gmail.com) - IP: 127.0.0.1
2025-12-12 16:25:35,833 - app - ERROR - Failed to send email: You can only send testing emails to your own email address (kashankhalid429@gmail.com). To send emails to other recipients, please verify a domain at resend.com/domains, and change the `from` address to an email using this domain.
Traceback (most recent call last):
  File "D:\innocscribe_chatbot\app.py", line 699, in schedule_meeting
    email = resend.Emails.send(params)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\LATITUDE\AppData\Roaming\Python\Python312\site-packages\resend\emails\_emails.py", line 277, in send
    ).perform_with_content()
      ^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\LATITUDE\AppData\Roaming\Python\Python312\site-packages\resend\request.py", line 44, in perform_with_content
    resp = self.perform()
           ^^^^^^^^^^^^^^
  File "C:\Users\LATITUDE\AppData\Roaming\Python\Python312\site-packages\resend\request.py", line 35, in perform
    raise_for_code_and_type(
  File "C:\Users\LATITUDE\AppData\Roaming\Python\Python312\site-packages\resend\exceptions.py", line 219, in raise_for_code_and_type
    raise ResendError(
resend.exceptions.ResendError: You can only send testing emails to your own email address (kashankhalid429@gmail.com). To send emails to other recipients, please verify a domain at resend.com/domains, and change the `from` address to an email using this domain.
2025-12-12 16:27:02,845 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8080']
2025-12-12 16:27:15,478 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8080']
2025-12-12 16:27:26,854 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8080']
2025-12-12 16:27:36,519 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8080']
2025-12-12 16:27:46,349 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8080']
2025-12-12 16:27:54,557 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8080']
2025-12-12 16:28:03,553 - app - INFO - Meeting scheduling request from Taha (tahasaif451@gmail.com) - IP: 127.0.0.1
2025-12-12 16:28:06,076 - app - INFO - Email sent successfully to 2 attendees
2025-12-12 16:28:06,077 - app - INFO - Meeting scheduled successfully by Taha from IP: 127.0.0.1
2025-12-12 16:30:31,463 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8080']
2025-12-12 19:08:04,015 - __main__ - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8080']
2025-12-12 19:13:53,991 - __main__ - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8080']
2025-12-12 20:13:45,859 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8080', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-12 20:15:17,352 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8080', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-12 20:15:25,529 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8080', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-12 20:16:03,949 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-12 20:20:55,002 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-12 20:21:44,856 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-12 20:23:13,561 - app - INFO - Created new session: 06ee5ddf-19f5-4651-bd5a-c31f0f3aa31b
2025-12-12 20:26:00,988 - app - INFO - Stream request from 127.0.0.1: language=english, message=hi..., session_id=06ee5ddf-19f5-4651-bd5a-c31f0f3aa31b
2025-12-12 20:26:02,397 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='hi', language='english', session_id='06ee5ddf-19f5-4651-bd5a-c31f0f3aa31b'
2025-12-12 20:26:02,764 - app - INFO - Retrieved 1 history messages for session 06ee5ddf-19f5-4651-bd5a-c31f0f3aa31b
2025-12-12 20:26:13,087 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-12 20:26:13,505 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-12 20:26:13,541 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-12 20:40:50,991 - app - INFO - Stream request from 127.0.0.1: language=english, message=hi, what is launchlab do?..., session_id=06ee5ddf-19f5-4651-bd5a-c31f0f3aa31b
2025-12-12 20:40:52,947 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='hi, what is launchlab do?', language='english', session_id='06ee5ddf-19f5-4651-bd5a-c31f0f3aa31b'
2025-12-12 20:40:53,990 - app - INFO - Retrieved 2 history messages for session 06ee5ddf-19f5-4651-bd5a-c31f0f3aa31b
2025-12-12 20:40:55,833 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-12 20:40:57,743 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-12 20:40:57,829 - tools.document_reader_tool - INFO - TOOL CALL: read_document_data called with query='What does Launchlabs do?', source='auto'
2025-12-12 20:40:59,532 - tools.document_reader_tool - INFO - TOOL RESULT: read_document_data found 1 result(s)
2025-12-12 20:41:01,167 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-12 20:41:01,405 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-12 21:16:10,289 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-12 21:16:59,536 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-12 21:16:59,695 - app - INFO - API Messages request from 127.0.0.1: message='hi...', lang='english', session='None'
2025-12-12 21:17:04,273 - app - INFO - New session created for /api/messages: c6fcf4aa-1330-4960-8fb4-a989281b15a3
2025-12-12 21:17:05,695 - app - INFO - AGENT CALL: query_launchlabs_bot called with message='hi', language='english', session_id='c6fcf4aa-1330-4960-8fb4-a989281b15a3'
2025-12-12 21:17:06,366 - app - INFO - Retrieved 1 history messages for session c6fcf4aa-1330-4960-8fb4-a989281b15a3
2025-12-12 21:17:09,767 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-12 21:17:09,927 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-12 21:17:10,088 - app - INFO - AGENT RESULT: query_launchlabs_bot completed successfully
2025-12-12 21:17:11,623 - app - INFO - API Messages success: Response sent for session c6fcf4aa-1330-4960-8fb4-a989281b15a3
2025-12-12 21:17:29,246 - app - INFO - API Messages request from 127.0.0.1: message='Hi...', lang='english', session='8726b155-4f50-492d-957f-e3be8ee49f55'
2025-12-12 21:17:29,614 - app - INFO - AGENT CALL: query_launchlabs_bot called with message='Hi', language='english', session_id='8726b155-4f50-492d-957f-e3be8ee49f55'
2025-12-12 21:17:30,868 - app - INFO - Retrieved 0 history messages for session 8726b155-4f50-492d-957f-e3be8ee49f55
2025-12-12 21:17:32,824 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-12 21:17:33,351 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-12 21:17:33,679 - app - INFO - AGENT RESULT: query_launchlabs_bot completed successfully
2025-12-12 21:17:34,136 - app - INFO - API Messages success: Response sent for session 8726b155-4f50-492d-957f-e3be8ee49f55
2025-12-12 21:28:34,869 - app - INFO - API Messages request from 127.0.0.1: message='Hva gj�r launchLab?...', lang='english', session='8726b155-4f50-492d-957f-e3be8ee49f55'
2025-12-12 21:28:36,943 - app - INFO - AGENT CALL: query_launchlabs_bot called with message='Hva gj�r launchLab?', language='english', session_id='8726b155-4f50-492d-957f-e3be8ee49f55'
2025-12-12 21:28:37,227 - app - INFO - Retrieved 0 history messages for session 8726b155-4f50-492d-957f-e3be8ee49f55
2025-12-12 21:28:39,449 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-12 21:28:39,584 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-12 21:28:39,606 - tools.document_reader_tool - INFO - TOOL CALL: read_document_data called with query='services', source='auto'
2025-12-12 21:28:39,834 - tools.document_reader_tool - INFO - TOOL RESULT: read_document_data found 1 result(s)
2025-12-12 21:28:41,021 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-12 21:28:41,021 - app - INFO - AGENT RESULT: query_launchlabs_bot completed successfully
2025-12-12 21:28:41,338 - app - INFO - API Messages success: Response sent for session 8726b155-4f50-492d-957f-e3be8ee49f55
2025-12-12 21:34:23,801 - app - INFO - API Messages request from 127.0.0.1: message='what's your services ...', lang='english', session='554fd3bc-a9b3-459f-90b2-9d5b7747e574'
2025-12-12 21:34:25,709 - app - INFO - AGENT CALL: query_launchlabs_bot called with message='what's your services ', language='english', session_id='554fd3bc-a9b3-459f-90b2-9d5b7747e574'
2025-12-12 21:34:26,007 - app - INFO - Retrieved 0 history messages for session 554fd3bc-a9b3-459f-90b2-9d5b7747e574
2025-12-12 21:34:27,883 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-12 21:34:28,000 - tools.document_reader_tool - INFO - TOOL CALL: read_document_data called with query='services', source='auto'
2025-12-12 21:34:28,247 - tools.document_reader_tool - INFO - TOOL RESULT: read_document_data found 1 result(s)
2025-12-12 21:34:28,251 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-12 21:34:30,625 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-12 21:34:30,634 - app - INFO - AGENT RESULT: query_launchlabs_bot completed successfully
2025-12-12 21:34:30,993 - app - INFO - API Messages success: Response sent for session 554fd3bc-a9b3-459f-90b2-9d5b7747e574
2025-12-12 21:39:52,643 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-12 21:47:19,972 - app - INFO - API Messages request from 127.0.0.1: message='hi...', lang='english', session='cccfb5c9-27e3-47f3-bc5e-c3853da41f97'
2025-12-12 21:47:25,863 - app - INFO - AGENT CALL: query_launchlabs_bot called with message='hi', language='english', session_id='cccfb5c9-27e3-47f3-bc5e-c3853da41f97'
2025-12-12 21:47:26,260 - app - INFO - Retrieved 0 history messages for session cccfb5c9-27e3-47f3-bc5e-c3853da41f97
2025-12-12 21:47:36,960 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-12 21:47:37,126 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-12 21:47:37,133 - app - INFO - AGENT RESULT: query_launchlabs_bot completed successfully
2025-12-12 21:47:37,540 - app - INFO - API Messages success: Response sent for session cccfb5c9-27e3-47f3-bc5e-c3853da41f97
2025-12-12 21:47:49,064 - app - INFO - API Messages request from 127.0.0.1: message='what is launchlab do?...', lang='english', session='cccfb5c9-27e3-47f3-bc5e-c3853da41f97'
2025-12-12 21:47:49,372 - app - INFO - AGENT CALL: query_launchlabs_bot called with message='what is launchlab do?', language='english', session_id='cccfb5c9-27e3-47f3-bc5e-c3853da41f97'
2025-12-12 21:47:50,463 - app - INFO - Retrieved 0 history messages for session cccfb5c9-27e3-47f3-bc5e-c3853da41f97
2025-12-12 21:47:52,082 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-12 21:47:52,136 - tools.document_reader_tool - INFO - TOOL CALL: read_document_data called with query='What does Launchlabs do?', source='auto'
2025-12-12 21:47:52,557 - tools.document_reader_tool - INFO - TOOL RESULT: read_document_data found 1 result(s)
2025-12-12 21:47:52,601 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-12 21:47:53,967 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-12 21:47:53,973 - app - INFO - AGENT RESULT: query_launchlabs_bot completed successfully
2025-12-12 21:47:54,361 - app - INFO - API Messages success: Response sent for session cccfb5c9-27e3-47f3-bc5e-c3853da41f97
2025-12-13 17:58:09,767 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-13 17:58:54,876 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-13 18:00:52,137 - app - INFO - Created new session for streaming chat: 4d62b8ce-059b-4cd7-8caf-9d0a6be1c3df
2025-12-13 18:00:52,167 - app - INFO - Stream request from 127.0.0.1: language=english, message=hi..., session_id=4d62b8ce-059b-4cd7-8caf-9d0a6be1c3df
2025-12-13 18:00:54,575 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='hi', language='english', session_id='4d62b8ce-059b-4cd7-8caf-9d0a6be1c3df'
2025-12-13 18:00:55,662 - app - INFO - Retrieved 1 history messages for session 4d62b8ce-059b-4cd7-8caf-9d0a6be1c3df
2025-12-13 18:01:07,932 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 18:01:08,609 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 18:01:08,717 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-13 19:49:33,022 - app - INFO - Created new session for streaming chat: a9967ff1-0ec8-4cfc-b511-bbe7073ff78f
2025-12-13 19:49:33,032 - app - INFO - Stream request from 127.0.0.1: language=english, message=hi..., session_id=a9967ff1-0ec8-4cfc-b511-bbe7073ff78f
2025-12-13 19:49:34,422 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='hi', language='english', session_id='a9967ff1-0ec8-4cfc-b511-bbe7073ff78f'
2025-12-13 19:49:34,772 - app - INFO - Retrieved 1 history messages for session a9967ff1-0ec8-4cfc-b511-bbe7073ff78f
2025-12-13 19:49:36,132 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 19:49:37,252 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 19:49:37,293 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-13 19:56:02,801 - app - INFO - Created new session for streaming chat: f9cc58a8-3df5-49d1-bf2a-aab84080db3f
2025-12-13 19:56:02,809 - app - INFO - Stream request from 127.0.0.1: language=english, message=hi..., session_id=f9cc58a8-3df5-49d1-bf2a-aab84080db3f
2025-12-13 19:56:04,213 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='hi', language='english', session_id='f9cc58a8-3df5-49d1-bf2a-aab84080db3f'
2025-12-13 19:56:04,535 - app - INFO - Retrieved 1 history messages for session f9cc58a8-3df5-49d1-bf2a-aab84080db3f
2025-12-13 19:56:06,309 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 19:56:06,691 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 19:56:06,723 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-13 20:00:36,507 - app - INFO - Created new session for streaming chat: d6249e76-6791-44ac-b81b-3664ee30c4da
2025-12-13 20:00:36,523 - app - INFO - Stream request from 127.0.0.1: language=english, message=hi..., session_id=d6249e76-6791-44ac-b81b-3664ee30c4da
2025-12-13 20:00:38,000 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='hi', language='english', session_id='d6249e76-6791-44ac-b81b-3664ee30c4da'
2025-12-13 20:00:38,654 - app - INFO - Retrieved 1 history messages for session d6249e76-6791-44ac-b81b-3664ee30c4da
2025-12-13 20:00:40,932 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 20:00:41,351 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 20:00:41,518 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-13 20:01:45,539 - app - INFO - Created new session for streaming chat: 1d1bae9c-776b-4fb9-804d-cad59a5eecc2
2025-12-13 20:01:45,540 - app - INFO - Stream request from 127.0.0.1: language=english, message=hi..., session_id=1d1bae9c-776b-4fb9-804d-cad59a5eecc2
2025-12-13 20:01:46,938 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='hi', language='english', session_id='1d1bae9c-776b-4fb9-804d-cad59a5eecc2'
2025-12-13 20:01:47,944 - app - INFO - Retrieved 1 history messages for session 1d1bae9c-776b-4fb9-804d-cad59a5eecc2
2025-12-13 20:01:49,439 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 20:01:50,072 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 20:01:50,077 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-13 20:04:16,591 - app - INFO - Created new session for streaming chat: fbe67478-be3a-4fba-8998-fc12dbc99e67
2025-12-13 20:04:16,592 - app - INFO - Stream request from 127.0.0.1: language=english, message=hi..., session_id=fbe67478-be3a-4fba-8998-fc12dbc99e67
2025-12-13 20:04:17,974 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='hi', language='english', session_id='fbe67478-be3a-4fba-8998-fc12dbc99e67'
2025-12-13 20:04:18,279 - app - INFO - Retrieved 1 history messages for session fbe67478-be3a-4fba-8998-fc12dbc99e67
2025-12-13 20:04:19,735 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 20:04:20,077 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 20:04:20,085 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-13 20:04:55,196 - app - INFO - Created new session for streaming chat: b5c862a5-3073-49db-9083-9ee2ecfb8f62
2025-12-13 20:04:55,196 - app - INFO - Stream request from 127.0.0.1: language=english, message=hi..., session_id=b5c862a5-3073-49db-9083-9ee2ecfb8f62
2025-12-13 20:04:56,577 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='hi', language='english', session_id='b5c862a5-3073-49db-9083-9ee2ecfb8f62'
2025-12-13 20:04:57,605 - app - INFO - Retrieved 1 history messages for session b5c862a5-3073-49db-9083-9ee2ecfb8f62
2025-12-13 20:04:59,006 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 20:04:59,759 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 20:04:59,766 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-13 20:07:31,912 - app - INFO - Created new session for streaming chat: 6669bd05-56b6-41c0-9d38-4df7327f2930
2025-12-13 20:07:31,940 - app - INFO - Stream request from 127.0.0.1: language=english, message=hi..., session_id=6669bd05-56b6-41c0-9d38-4df7327f2930
2025-12-13 20:07:34,619 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='hi', language='english', session_id='6669bd05-56b6-41c0-9d38-4df7327f2930'
2025-12-13 20:07:37,258 - app - INFO - Retrieved 1 history messages for session 6669bd05-56b6-41c0-9d38-4df7327f2930
2025-12-13 20:07:40,018 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 20:07:41,051 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 20:07:41,373 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-13 20:08:07,914 - app - INFO - Created new session for streaming chat: 57102314-7791-4efd-b27e-fb1643719e9e
2025-12-13 20:08:07,926 - app - INFO - Stream request from 127.0.0.1: language=english, message=hi..., session_id=57102314-7791-4efd-b27e-fb1643719e9e
2025-12-13 20:08:09,306 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='hi', language='english', session_id='57102314-7791-4efd-b27e-fb1643719e9e'
2025-12-13 20:08:10,309 - app - INFO - Retrieved 1 history messages for session 57102314-7791-4efd-b27e-fb1643719e9e
2025-12-13 20:08:12,726 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 20:08:13,013 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 20:08:13,024 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-13 20:08:26,498 - app - INFO - Created new session for streaming chat: cad6dab7-2dfd-47a3-8026-7993b14c740a
2025-12-13 20:08:26,501 - app - INFO - Stream request from 127.0.0.1: language=english, message=hi..., session_id=cad6dab7-2dfd-47a3-8026-7993b14c740a
2025-12-13 20:08:27,883 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='hi', language='english', session_id='cad6dab7-2dfd-47a3-8026-7993b14c740a'
2025-12-13 20:08:28,959 - app - INFO - Retrieved 1 history messages for session cad6dab7-2dfd-47a3-8026-7993b14c740a
2025-12-13 20:08:30,382 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 20:08:30,864 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 20:08:30,960 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-13 20:08:37,058 - app - INFO - Created new session for streaming chat: eebfff12-e55c-40ee-a3b9-2e8a6370ebf5
2025-12-13 20:08:37,058 - app - INFO - Stream request from 127.0.0.1: language=english, message=why..., session_id=eebfff12-e55c-40ee-a3b9-2e8a6370ebf5
2025-12-13 20:08:38,480 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='why', language='english', session_id='eebfff12-e55c-40ee-a3b9-2e8a6370ebf5'
2025-12-13 20:08:39,541 - app - INFO - Retrieved 1 history messages for session eebfff12-e55c-40ee-a3b9-2e8a6370ebf5
2025-12-13 20:08:41,739 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 20:08:41,795 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 20:08:41,805 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-13 20:16:27,742 - app - INFO - Created new session for streaming chat: a2d4cc50-c5ee-444a-93a3-928cd835e7bf
2025-12-13 20:16:27,762 - app - INFO - Stream request from 127.0.0.1: language=english, message=hi..., session_id=a2d4cc50-c5ee-444a-93a3-928cd835e7bf
2025-12-13 20:16:29,128 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='hi', language='english', session_id='a2d4cc50-c5ee-444a-93a3-928cd835e7bf'
2025-12-13 20:16:29,436 - app - INFO - Retrieved 1 history messages for session a2d4cc50-c5ee-444a-93a3-928cd835e7bf
2025-12-13 20:16:31,643 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 20:16:31,681 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 20:16:31,731 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-13 20:16:40,927 - app - INFO - Created new session for streaming chat: 39aec5c7-d1e5-45e8-b79d-91564a179978
2025-12-13 20:16:40,928 - app - INFO - Stream request from 127.0.0.1: language=english, message=what is launchlab do?..., session_id=39aec5c7-d1e5-45e8-b79d-91564a179978
2025-12-13 20:16:42,302 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='what is launchlab do?', language='english', session_id='39aec5c7-d1e5-45e8-b79d-91564a179978'
2025-12-13 20:16:43,271 - app - INFO - Retrieved 1 history messages for session 39aec5c7-d1e5-45e8-b79d-91564a179978
2025-12-13 20:16:44,481 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 20:16:44,674 - tools.document_reader_tool - INFO - TOOL CALL: read_document_data called with query='what does Launchlabs do', source='auto'
2025-12-13 20:16:45,892 - tools.document_reader_tool - INFO - TOOL RESULT: read_document_data found 1 result(s)
2025-12-13 20:16:45,906 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 20:16:47,055 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 20:16:47,366 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-13 20:49:43,952 - app - INFO - Created new session for streaming chat: a7b193e2-898e-400e-b1f6-b91e2e61df5f
2025-12-13 20:49:43,969 - app - INFO - Stream request from 127.0.0.1: language=english, message=hi..., session_id=a7b193e2-898e-400e-b1f6-b91e2e61df5f
2025-12-13 20:49:45,365 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='hi', language='english', session_id='a7b193e2-898e-400e-b1f6-b91e2e61df5f'
2025-12-13 20:49:45,669 - app - INFO - Retrieved 1 history messages for session a7b193e2-898e-400e-b1f6-b91e2e61df5f
2025-12-13 20:49:47,098 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 20:49:47,862 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 20:49:47,880 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-13 20:50:00,883 - app - INFO - Created new session for streaming chat: a8d7c15f-20b0-4563-a2a7-d9a6315682e8
2025-12-13 20:50:00,883 - app - INFO - Stream request from 127.0.0.1: language=english, message=can i meet wih any senior..., session_id=a8d7c15f-20b0-4563-a2a7-d9a6315682e8
2025-12-13 20:50:02,293 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='can i meet wih any senior', language='english', session_id='a8d7c15f-20b0-4563-a2a7-d9a6315682e8'
2025-12-13 20:50:03,331 - app - INFO - Retrieved 1 history messages for session a8d7c15f-20b0-4563-a2a7-d9a6315682e8
2025-12-13 20:50:04,743 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 20:50:04,980 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 20:50:04,986 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-13 20:50:14,268 - app - INFO - Created new session for streaming chat: 294d1fbc-ae2d-4231-8a80-d70b8280ff01
2025-12-13 20:50:14,269 - app - INFO - Stream request from 127.0.0.1: language=english, message=plz connect..., session_id=294d1fbc-ae2d-4231-8a80-d70b8280ff01
2025-12-13 20:50:15,663 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='plz connect', language='english', session_id='294d1fbc-ae2d-4231-8a80-d70b8280ff01'
2025-12-13 20:50:16,687 - app - INFO - Retrieved 1 history messages for session 294d1fbc-ae2d-4231-8a80-d70b8280ff01
2025-12-13 20:50:18,156 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 20:50:18,443 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 20:50:18,486 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-13 20:50:31,031 - app - INFO - Created new session for streaming chat: 22f8dff2-9fc5-4fb7-9560-23f9f973bc18
2025-12-13 20:50:31,034 - app - INFO - Stream request from 127.0.0.1: language=english, message=in services..., session_id=22f8dff2-9fc5-4fb7-9560-23f9f973bc18
2025-12-13 20:50:32,422 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='in services', language='english', session_id='22f8dff2-9fc5-4fb7-9560-23f9f973bc18'
2025-12-13 20:50:33,477 - app - INFO - Retrieved 1 history messages for session 22f8dff2-9fc5-4fb7-9560-23f9f973bc18
2025-12-13 20:50:34,949 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 20:50:34,981 - tools.document_reader_tool - INFO - TOOL CALL: read_document_data called with query='services', source='auto'
2025-12-13 20:50:35,167 - tools.document_reader_tool - INFO - TOOL RESULT: read_document_data found 1 result(s)
2025-12-13 20:50:35,985 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 20:50:36,399 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 20:50:36,541 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-13 21:05:21,233 - app - INFO - Created new session for streaming chat: 5e5ccc76-3136-48eb-8d41-b2fa418963eb
2025-12-13 21:05:21,257 - app - INFO - Stream request from 127.0.0.1: language=english, message=hi..., session_id=5e5ccc76-3136-48eb-8d41-b2fa418963eb
2025-12-13 21:05:22,657 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='hi', language='english', session_id='5e5ccc76-3136-48eb-8d41-b2fa418963eb'
2025-12-13 21:05:22,948 - app - INFO - Retrieved 1 history messages for session 5e5ccc76-3136-48eb-8d41-b2fa418963eb
2025-12-13 21:05:24,821 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 21:05:25,164 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 21:05:25,185 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-13 21:10:29,994 - app - INFO - Created new session for streaming chat: 15a154fc-21dd-4b4c-8545-df72136b3b81
2025-12-13 21:10:30,032 - app - INFO - Stream request from 127.0.0.1: language=english, message=yes..., session_id=15a154fc-21dd-4b4c-8545-df72136b3b81
2025-12-13 21:10:31,459 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='yes', language='english', session_id='15a154fc-21dd-4b4c-8545-df72136b3b81'
2025-12-13 21:10:32,386 - app - INFO - Retrieved 1 history messages for session 15a154fc-21dd-4b4c-8545-df72136b3b81
2025-12-13 21:10:34,385 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 21:10:34,498 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 21:10:34,505 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-13 21:10:43,359 - app - INFO - Created new session for streaming chat: aea3c0ba-b30c-43b6-b507-5085521dc38f
2025-12-13 21:10:43,362 - app - INFO - Stream request from 127.0.0.1: language=english, message=yes..., session_id=aea3c0ba-b30c-43b6-b507-5085521dc38f
2025-12-13 21:10:44,761 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='yes', language='english', session_id='aea3c0ba-b30c-43b6-b507-5085521dc38f'
2025-12-13 21:10:45,752 - app - INFO - Retrieved 1 history messages for session aea3c0ba-b30c-43b6-b507-5085521dc38f
2025-12-13 21:10:47,639 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 21:10:47,837 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 21:10:47,846 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-13 21:10:59,669 - app - INFO - Created new session for streaming chat: cd95232e-b3c7-4eaa-8d1c-330c90962bb2
2025-12-13 21:10:59,669 - app - INFO - Stream request from 127.0.0.1: language=english, message=make a home page..., session_id=cd95232e-b3c7-4eaa-8d1c-330c90962bb2
2025-12-13 21:11:01,043 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='make a home page', language='english', session_id='cd95232e-b3c7-4eaa-8d1c-330c90962bb2'
2025-12-13 21:11:02,057 - app - INFO - Retrieved 1 history messages for session cd95232e-b3c7-4eaa-8d1c-330c90962bb2
2025-12-13 21:11:03,994 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 21:11:05,429 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 21:11:05,534 - tools.document_reader_tool - INFO - TOOL CALL: read_document_data called with query='website creation services', source='auto'
2025-12-13 21:11:05,773 - tools.document_reader_tool - INFO - TOOL RESULT: read_document_data found 1 result(s)
2025-12-13 21:11:06,718 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 21:11:06,929 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-13 21:12:07,949 - app - INFO - Created new session for streaming chat: e14f3722-cdba-4c27-a4db-e3ffade1253a
2025-12-13 21:12:07,950 - app - INFO - Stream request from 127.0.0.1: language=norwegian, message=Hva gj�r LaunchLab?..., session_id=e14f3722-cdba-4c27-a4db-e3ffade1253a
2025-12-13 21:12:09,323 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='Hva gj�r LaunchLab?', language='norwegian', session_id='e14f3722-cdba-4c27-a4db-e3ffade1253a'
2025-12-13 21:12:10,365 - app - INFO - Retrieved 1 history messages for session e14f3722-cdba-4c27-a4db-e3ffade1253a
2025-12-13 21:12:12,032 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 21:12:12,426 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 21:12:12,431 - tools.document_reader_tool - INFO - TOOL CALL: read_document_data called with query='services', source='auto'
2025-12-13 21:12:12,566 - tools.document_reader_tool - INFO - TOOL RESULT: read_document_data found 1 result(s)
2025-12-13 21:12:13,485 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 21:12:13,731 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-13 21:51:38,277 - app - INFO - Created new session for streaming chat: 8d7d0e11-09c4-41a4-a5b4-a918b0f02213
2025-12-13 21:51:38,292 - app - INFO - Stream request from 127.0.0.1: language=english, message=hi..., session_id=8d7d0e11-09c4-41a4-a5b4-a918b0f02213
2025-12-13 21:51:39,672 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='hi', language='english', session_id='8d7d0e11-09c4-41a4-a5b4-a918b0f02213'
2025-12-13 21:51:40,018 - app - INFO - Retrieved 1 history messages for session 8d7d0e11-09c4-41a4-a5b4-a918b0f02213
2025-12-13 21:51:42,199 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 21:51:42,207 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 21:51:42,342 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-13 21:52:10,692 - app - INFO - Created new session for streaming chat: 08a126e6-ff9a-4262-b5d5-2505f00224e3
2025-12-13 21:52:10,692 - app - INFO - Stream request from 127.0.0.1: language=norwegian, message=Hva gj�r LaunchLab?..., session_id=08a126e6-ff9a-4262-b5d5-2505f00224e3
2025-12-13 21:52:12,087 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='Hva gj�r LaunchLab?', language='norwegian', session_id='08a126e6-ff9a-4262-b5d5-2505f00224e3'
2025-12-13 21:52:13,102 - app - INFO - Retrieved 1 history messages for session 08a126e6-ff9a-4262-b5d5-2505f00224e3
2025-12-13 21:52:14,692 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 21:52:14,719 - tools.document_reader_tool - INFO - TOOL CALL: read_document_data called with query='Hva gj�r Launchlabs?', source='auto'
2025-12-13 21:52:14,979 - tools.document_reader_tool - INFO - TOOL RESULT: read_document_data found 1 result(s)
2025-12-13 21:52:15,132 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 21:52:16,686 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 21:52:17,067 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-13 21:52:21,252 - app - INFO - Created new session for streaming chat: cd582092-429c-4d79-8bf8-e68a9de3d4ab
2025-12-13 21:52:21,252 - app - INFO - Stream request from 127.0.0.1: language=norwegian, message=Hva gj�r LaunchLab?..., session_id=cd582092-429c-4d79-8bf8-e68a9de3d4ab
2025-12-13 21:52:22,672 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='Hva gj�r LaunchLab?', language='norwegian', session_id='cd582092-429c-4d79-8bf8-e68a9de3d4ab'
2025-12-13 21:52:23,682 - app - INFO - Retrieved 1 history messages for session cd582092-429c-4d79-8bf8-e68a9de3d4ab
2025-12-13 21:52:26,042 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 21:52:26,052 - tools.document_reader_tool - INFO - TOOL CALL: read_document_data called with query='tjenester', source='auto'
2025-12-13 21:52:26,321 - tools.document_reader_tool - INFO - TOOL RESULT: read_document_data found 1 result(s)
2025-12-13 21:52:26,321 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 21:52:27,701 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 21:52:28,162 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-13 21:52:32,001 - app - INFO - Created new session for streaming chat: bbb4693a-2d76-4863-baff-38eebf4a0ea8
2025-12-13 21:52:32,001 - app - INFO - Stream request from 127.0.0.1: language=norwegian, message=Hva gj�r LaunchLab?..., session_id=bbb4693a-2d76-4863-baff-38eebf4a0ea8
2025-12-13 21:52:33,386 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='Hva gj�r LaunchLab?', language='norwegian', session_id='bbb4693a-2d76-4863-baff-38eebf4a0ea8'
2025-12-13 21:52:34,421 - app - INFO - Retrieved 1 history messages for session bbb4693a-2d76-4863-baff-38eebf4a0ea8
2025-12-13 21:52:35,836 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 21:52:35,847 - tools.document_reader_tool - INFO - TOOL CALL: read_document_data called with query='Hva gj�r Launchlabs', source='auto'
2025-12-13 21:52:36,083 - tools.document_reader_tool - INFO - TOOL RESULT: read_document_data found 1 result(s)
2025-12-13 21:52:36,357 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 21:52:37,256 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 21:52:37,632 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-13 21:52:51,668 - app - INFO - Created new session for streaming chat: 4512e28e-2ea0-457a-b1c1-6176cecbf8b3
2025-12-13 21:52:51,668 - app - INFO - Stream request from 127.0.0.1: language=english, message=hello..., session_id=4512e28e-2ea0-457a-b1c1-6176cecbf8b3
2025-12-13 21:52:53,022 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='hello', language='english', session_id='4512e28e-2ea0-457a-b1c1-6176cecbf8b3'
2025-12-13 21:52:54,067 - app - INFO - Retrieved 1 history messages for session 4512e28e-2ea0-457a-b1c1-6176cecbf8b3
2025-12-13 21:52:55,641 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 21:52:55,842 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 21:52:56,222 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-13 21:56:22,840 - app - INFO - Created new session for streaming chat: a829f9e8-47b6-4727-bcba-5c126d56e430
2025-12-13 21:56:22,841 - app - INFO - Stream request from 127.0.0.1: language=english, message=Hello..., session_id=a829f9e8-47b6-4727-bcba-5c126d56e430
2025-12-13 21:56:24,262 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='Hello', language='english', session_id='a829f9e8-47b6-4727-bcba-5c126d56e430'
2025-12-13 21:56:24,618 - app - INFO - Retrieved 1 history messages for session a829f9e8-47b6-4727-bcba-5c126d56e430
2025-12-13 21:56:44,296 - openai._base_client - INFO - Retrying request to /chat/completions in 0.434005 seconds
2025-12-13 21:56:44,368 - openai._base_client - INFO - Retrying request to /chat/completions in 0.480124 seconds
2025-12-13 21:57:04,010 - openai._base_client - INFO - Retrying request to /chat/completions in 0.901942 seconds
2025-12-13 21:57:30,947 - openai._base_client - INFO - Retrying request to /chat/completions in 0.939832 seconds
2025-12-13 21:57:34,787 - app - WARNING - Streaming failed, falling back to non-streaming: Connection error.
2025-12-13 21:57:35,041 - openai._base_client - INFO - Retrying request to /chat/completions in 0.383602 seconds
2025-12-13 21:57:35,153 - openai._base_client - INFO - Retrying request to /chat/completions in 0.434880 seconds
2025-12-13 21:57:35,559 - openai._base_client - INFO - Retrying request to /chat/completions in 0.857617 seconds
2025-12-13 21:57:35,596 - openai._base_client - INFO - Retrying request to /chat/completions in 0.929682 seconds
2025-12-13 21:57:36,421 - app - ERROR - Fallback also failed: Connection error.
Traceback (most recent call last):
  File "E:\innocribe\backend\.venv\Lib\site-packages\httpx\_transports\default.py", line 101, in map_httpcore_exceptions
    yield
  File "E:\innocribe\backend\.venv\Lib\site-packages\httpx\_transports\default.py", line 394, in handle_async_request
    resp = await self._pool.handle_async_request(req)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\httpcore\_async\connection_pool.py", line 256, in handle_async_request
    raise exc from None
  File "E:\innocribe\backend\.venv\Lib\site-packages\httpcore\_async\connection_pool.py", line 236, in handle_async_request
    response = await connection.handle_async_request(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\httpcore\_async\connection.py", line 101, in handle_async_request
    raise exc
  File "E:\innocribe\backend\.venv\Lib\site-packages\httpcore\_async\connection.py", line 78, in handle_async_request
    stream = await self._connect(request)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\httpcore\_async\connection.py", line 124, in _connect
    stream = await self._network_backend.connect_tcp(**kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\httpcore\_backends\auto.py", line 31, in connect_tcp
    return await self._backend.connect_tcp(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\httpcore\_backends\anyio.py", line 113, in connect_tcp
    with map_exceptions(exc_map):
         ^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\AGA Computer\AppData\Roaming\uv\python\cpython-3.12.11-windows-x86_64-none\Lib\contextlib.py", line 158, in __exit__
    self.gen.throw(value)
  File "E:\innocribe\backend\.venv\Lib\site-packages\httpcore\_exceptions.py", line 14, in map_exceptions
    raise to_exc(exc) from exc
httpcore.ConnectError: [Errno 11001] getaddrinfo failed

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1529, in request
    response = await self._client.send(
               ^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\httpx\_client.py", line 1629, in send
    response = await self._send_handling_auth(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\httpx\_client.py", line 1657, in _send_handling_auth
    response = await self._send_handling_redirects(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\httpx\_client.py", line 1694, in _send_handling_redirects
    response = await self._send_single_request(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\httpx\_client.py", line 1730, in _send_single_request
    response = await transport.handle_async_request(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\httpx\_transports\default.py", line 393, in handle_async_request
    with map_httpcore_exceptions():
         ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\AGA Computer\AppData\Roaming\uv\python\cpython-3.12.11-windows-x86_64-none\Lib\contextlib.py", line 158, in __exit__
    self.gen.throw(value)
  File "E:\innocribe\backend\.venv\Lib\site-packages\httpx\_transports\default.py", line 118, in map_httpcore_exceptions
    raise mapped_exc(message) from exc
httpx.ConnectError: [Errno 11001] getaddrinfo failed

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "E:\innocribe\backend\app.py", line 1026, in generate_stream
    fallback_response = await Runner.run(
                        ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 358, in run
    return await runner.run(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 638, in run
    input_guardrail_results, turn_result = await asyncio.gather(
                                           ^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1550, in _run_single_turn
    new_response = await cls._get_new_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1807, in _get_new_response
    new_response = await model.get_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 68, in get_response
    response = await self._fetch_response(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 293, in _fetch_response
    ret = await self._get_client().chat.completions.create(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\resources\chat\completions\completions.py", line 2672, in create
    return await self._post(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1794, in post
    return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1561, in request
    raise APIConnectionError(request=request) from err
openai.APIConnectionError: Connection error.
2025-12-13 21:58:29,619 - app - INFO - Created new session for streaming chat: 4ab5764d-1bf1-4ae0-a20b-3b94b4eab7e5
2025-12-13 21:58:29,653 - app - INFO - Stream request from 127.0.0.1: language=english, message=hi..., session_id=4ab5764d-1bf1-4ae0-a20b-3b94b4eab7e5
2025-12-13 21:58:30,238 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='hi', language='english', session_id='4ab5764d-1bf1-4ae0-a20b-3b94b4eab7e5'
2025-12-13 21:58:31,305 - app - INFO - Retrieved 0 history messages for session 4ab5764d-1bf1-4ae0-a20b-3b94b4eab7e5
2025-12-13 21:58:33,248 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 21:58:33,288 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 21:58:33,295 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-13 21:59:02,306 - app - INFO - Created new session for streaming chat: d1dba2a3-e581-4f60-ab11-49cbf053a841
2025-12-13 21:59:02,313 - app - INFO - Stream request from 127.0.0.1: language=english, message=what is launchLab do?..., session_id=d1dba2a3-e581-4f60-ab11-49cbf053a841
2025-12-13 21:59:03,825 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='what is launchLab do?', language='english', session_id='d1dba2a3-e581-4f60-ab11-49cbf053a841'
2025-12-13 21:59:04,785 - app - INFO - Retrieved 1 history messages for session d1dba2a3-e581-4f60-ab11-49cbf053a841
2025-12-13 21:59:06,541 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 21:59:06,556 - tools.document_reader_tool - INFO - TOOL CALL: read_document_data called with query='services', source='auto'
2025-12-13 21:59:06,796 - tools.document_reader_tool - INFO - TOOL RESULT: read_document_data found 1 result(s)
2025-12-13 21:59:06,803 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 21:59:07,905 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 21:59:08,033 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-13 21:59:24,895 - app - INFO - Created new session for streaming chat: a3779f37-c9e4-4dee-92c1-65bf55ddc090
2025-12-13 21:59:24,903 - app - INFO - Stream request from 127.0.0.1: language=english, message=hi..., session_id=a3779f37-c9e4-4dee-92c1-65bf55ddc090
2025-12-13 21:59:26,318 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='hi', language='english', session_id='a3779f37-c9e4-4dee-92c1-65bf55ddc090'
2025-12-13 21:59:27,269 - app - INFO - Retrieved 1 history messages for session a3779f37-c9e4-4dee-92c1-65bf55ddc090
2025-12-13 21:59:28,541 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 21:59:29,150 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 21:59:29,159 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-13 22:31:00,936 - app - INFO - Created new session for chat: 29ac8e97-a073-4abe-869b-86a05bd0a777
2025-12-13 22:31:00,958 - app - INFO - Chat request from 127.0.0.1: language=norwegian, message=hi..., session_id=29ac8e97-a073-4abe-869b-86a05bd0a777
2025-12-13 22:31:01,651 - app - INFO - AGENT CALL: query_launchlabs_bot called with message='hi', language='norwegian', session_id='29ac8e97-a073-4abe-869b-86a05bd0a777'
2025-12-13 22:31:02,028 - app - INFO - Retrieved 1 history messages for session 29ac8e97-a073-4abe-869b-86a05bd0a777
2025-12-13 22:31:03,668 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 22:31:04,129 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 22:31:04,146 - app - INFO - AGENT RESULT: query_launchlabs_bot completed successfully
2025-12-13 22:31:04,852 - app - INFO - Chat response generated successfully in norwegian for session 29ac8e97-a073-4abe-869b-86a05bd0a777
2025-12-13 22:31:19,042 - app - INFO - Created new session for chat: fcdaa156-095e-4a9f-b904-a34a89be703b
2025-12-13 22:31:19,043 - app - INFO - Chat request from 127.0.0.1: language=norwegian, message=hi..., session_id=fcdaa156-095e-4a9f-b904-a34a89be703b
2025-12-13 22:31:20,504 - app - INFO - AGENT CALL: query_launchlabs_bot called with message='hi', language='norwegian', session_id='fcdaa156-095e-4a9f-b904-a34a89be703b'
2025-12-13 22:31:20,816 - app - INFO - Retrieved 1 history messages for session fcdaa156-095e-4a9f-b904-a34a89be703b
2025-12-13 22:31:22,857 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 22:31:22,954 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 22:31:22,994 - app - INFO - AGENT RESULT: query_launchlabs_bot completed successfully
2025-12-13 22:31:23,625 - app - INFO - Chat response generated successfully in norwegian for session fcdaa156-095e-4a9f-b904-a34a89be703b
2025-12-13 22:31:45,794 - app - INFO - Created new session for chat: 9306b9fa-bce9-4a0f-ac41-6b3acef83fcc
2025-12-13 22:31:45,839 - app - INFO - Chat request from 127.0.0.1: language=norwegian, message=hi..., session_id=9306b9fa-bce9-4a0f-ac41-6b3acef83fcc
2025-12-13 22:31:46,867 - app - INFO - AGENT CALL: query_launchlabs_bot called with message='hi', language='norwegian', session_id='9306b9fa-bce9-4a0f-ac41-6b3acef83fcc'
2025-12-13 22:31:47,308 - app - INFO - Retrieved 1 history messages for session 9306b9fa-bce9-4a0f-ac41-6b3acef83fcc
2025-12-13 22:31:48,879 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 22:31:49,392 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 22:31:49,440 - app - INFO - AGENT RESULT: query_launchlabs_bot completed successfully
2025-12-13 22:31:50,707 - app - INFO - Chat response generated successfully in norwegian for session 9306b9fa-bce9-4a0f-ac41-6b3acef83fcc
2025-12-13 22:32:01,262 - app - INFO - Created new session for streaming chat: d58a992b-fa6a-4ea9-bef3-71c21689f00e
2025-12-13 22:32:01,263 - app - INFO - Stream request from 127.0.0.1: language=norwegian, message=hi..., session_id=d58a992b-fa6a-4ea9-bef3-71c21689f00e
2025-12-13 22:32:01,849 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='hi', language='norwegian', session_id='d58a992b-fa6a-4ea9-bef3-71c21689f00e'
2025-12-13 22:32:02,147 - app - INFO - Retrieved 1 history messages for session d58a992b-fa6a-4ea9-bef3-71c21689f00e
2025-12-13 22:32:04,036 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 22:32:04,158 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 22:32:04,236 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-13 22:32:20,830 - app - INFO - Created new session for streaming chat: a2ab9f8a-c067-4f2b-a45d-ab76aee36aba
2025-12-13 22:32:20,831 - app - INFO - Stream request from 127.0.0.1: language=norwegian, message=Hva gj�r LaunchLab?..., session_id=a2ab9f8a-c067-4f2b-a45d-ab76aee36aba
2025-12-13 22:32:21,424 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='Hva gj�r LaunchLab?', language='norwegian', session_id='a2ab9f8a-c067-4f2b-a45d-ab76aee36aba'
2025-12-13 22:32:21,708 - app - INFO - Retrieved 1 history messages for session a2ab9f8a-c067-4f2b-a45d-ab76aee36aba
2025-12-13 22:32:23,790 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 22:32:23,895 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 22:32:23,968 - tools.document_reader_tool - INFO - TOOL CALL: read_document_data called with query='Launchlabs tjenester', source='auto'
2025-12-13 22:32:24,343 - tools.document_reader_tool - INFO - TOOL RESULT: read_document_data found 1 result(s)
2025-12-13 22:32:26,319 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-13 22:32:26,721 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-14 10:46:46,302 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-14 10:52:27,109 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-14 10:52:37,848 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-14 10:53:06,575 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-14 10:56:51,475 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-14 10:57:42,806 - app - INFO - Created new session for streaming chat: 64f81d52-cbd7-4301-9fca-c4725df4cc4e
2025-12-14 10:57:42,815 - app - INFO - Stream request from 127.0.0.1: language=norwegian, message=hi..., session_id=64f81d52-cbd7-4301-9fca-c4725df4cc4e
2025-12-14 10:57:44,234 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='hi', language='norwegian', session_id='64f81d52-cbd7-4301-9fca-c4725df4cc4e'
2025-12-14 10:57:44,614 - app - INFO - Retrieved 1 history messages for session 64f81d52-cbd7-4301-9fca-c4725df4cc4e
2025-12-14 10:57:49,332 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-14 10:57:49,899 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-14 10:57:50,001 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-14 10:58:01,114 - app - INFO - Created new session for streaming chat: b6d85bf6-bd4a-4235-ad8c-266057712bd0
2025-12-14 10:58:01,131 - app - INFO - Stream request from 127.0.0.1: language=norwegian, message=what is launchlab do..., session_id=b6d85bf6-bd4a-4235-ad8c-266057712bd0
2025-12-14 10:58:02,644 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='what is launchlab do', language='norwegian', session_id='b6d85bf6-bd4a-4235-ad8c-266057712bd0'
2025-12-14 10:58:03,677 - app - INFO - Retrieved 1 history messages for session b6d85bf6-bd4a-4235-ad8c-266057712bd0
2025-12-14 10:58:05,471 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-14 10:58:05,512 - tools.document_reader_tool - INFO - TOOL CALL: read_document_data called with query='Hva gj�r Launchlabs?', source='auto'
2025-12-14 10:58:05,735 - tools.document_reader_tool - INFO - TOOL RESULT: read_document_data found 1 result(s)
2025-12-14 10:58:05,742 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-14 10:58:06,569 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-14 10:58:06,949 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-14 10:58:26,000 - app - INFO - Created new session for streaming chat: d573eef6-14c9-479d-8a52-cec9898e7788
2025-12-14 10:58:26,021 - app - INFO - Stream request from 127.0.0.1: language=english, message=hi..., session_id=d573eef6-14c9-479d-8a52-cec9898e7788
2025-12-14 10:58:27,513 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='hi', language='english', session_id='d573eef6-14c9-479d-8a52-cec9898e7788'
2025-12-14 10:58:28,447 - app - INFO - Retrieved 1 history messages for session d573eef6-14c9-479d-8a52-cec9898e7788
2025-12-14 10:58:30,236 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-14 10:58:30,282 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-14 10:58:30,330 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-14 11:03:23,921 - app - INFO - Created new session for streaming chat: 3fe97099-e5f0-422f-9952-f4b9a5bc6559
2025-12-14 11:03:24,019 - app - INFO - Stream request from 127.0.0.1: language=english, message=hi..., session_id=3fe97099-e5f0-422f-9952-f4b9a5bc6559
2025-12-14 11:03:25,615 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='hi', language='english', session_id='3fe97099-e5f0-422f-9952-f4b9a5bc6559'
2025-12-14 11:03:26,029 - app - INFO - Retrieved 1 history messages for session 3fe97099-e5f0-422f-9952-f4b9a5bc6559
2025-12-14 11:03:28,235 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-14 11:03:28,385 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-14 11:03:28,502 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-14 11:04:43,379 - app - INFO - Created new session for streaming chat: c6c3ca7a-d757-4365-99cb-60fc35c50fb5
2025-12-14 11:04:43,387 - app - INFO - Stream request from 127.0.0.1: language=english, message=hi..., session_id=c6c3ca7a-d757-4365-99cb-60fc35c50fb5
2025-12-14 11:04:45,132 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='hi', language='english', session_id='c6c3ca7a-d757-4365-99cb-60fc35c50fb5'
2025-12-14 11:04:45,597 - app - INFO - Retrieved 1 history messages for session c6c3ca7a-d757-4365-99cb-60fc35c50fb5
2025-12-14 11:04:47,171 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-14 11:04:47,601 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-14 11:04:47,613 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-14 11:04:59,833 - app - INFO - Created new session for streaming chat: c6278b51-a575-4191-a27c-84b84858b296
2025-12-14 11:04:59,835 - app - INFO - Stream request from 127.0.0.1: language=english, message=what is launchlab..., session_id=c6278b51-a575-4191-a27c-84b84858b296
2025-12-14 11:05:01,211 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='what is launchlab', language='english', session_id='c6278b51-a575-4191-a27c-84b84858b296'
2025-12-14 11:05:02,415 - app - INFO - Retrieved 1 history messages for session c6278b51-a575-4191-a27c-84b84858b296
2025-12-14 11:05:03,834 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-14 11:05:04,323 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-14 11:05:04,704 - tools.document_reader_tool - INFO - TOOL CALL: read_document_data called with query='what Launchlabs does', source='auto'
2025-12-14 11:05:05,205 - tools.document_reader_tool - INFO - TOOL RESULT: read_document_data found 1 result(s)
2025-12-14 11:05:05,966 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-14 11:05:06,188 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-14 11:05:18,632 - app - INFO - Created new session for streaming chat: a5615e17-2b7f-4c0b-a27c-50a167680efd
2025-12-14 11:05:18,645 - app - INFO - Stream request from 127.0.0.1: language=english, message=hi..., session_id=a5615e17-2b7f-4c0b-a27c-50a167680efd
2025-12-14 11:05:20,028 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='hi', language='english', session_id='a5615e17-2b7f-4c0b-a27c-50a167680efd'
2025-12-14 11:05:20,331 - app - INFO - Retrieved 1 history messages for session a5615e17-2b7f-4c0b-a27c-50a167680efd
2025-12-14 11:05:21,451 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-14 11:05:22,132 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-14 11:05:22,139 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-14 11:05:28,311 - app - INFO - Created new session for streaming chat: 36f90ca6-fe95-467b-81f0-7adb47937002
2025-12-14 11:05:28,316 - app - INFO - Stream request from 127.0.0.1: language=english, message=hello..., session_id=36f90ca6-fe95-467b-81f0-7adb47937002
2025-12-14 11:05:29,699 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='hello', language='english', session_id='36f90ca6-fe95-467b-81f0-7adb47937002'
2025-12-14 11:05:30,731 - app - INFO - Retrieved 1 history messages for session 36f90ca6-fe95-467b-81f0-7adb47937002
2025-12-14 11:05:32,001 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-14 11:05:32,045 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-14 11:05:32,056 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-14 11:05:45,504 - app - INFO - Created new session for streaming chat: bfb59ccf-4753-44db-819f-9e7492cd86a7
2025-12-14 11:05:45,505 - app - INFO - Stream request from 127.0.0.1: language=english, message=waht is launchlab detail breifly..., session_id=bfb59ccf-4753-44db-819f-9e7492cd86a7
2025-12-14 11:05:46,862 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='waht is launchlab detail breifly', language='english', session_id='bfb59ccf-4753-44db-819f-9e7492cd86a7'
2025-12-14 11:05:47,863 - app - INFO - Retrieved 1 history messages for session bfb59ccf-4753-44db-819f-9e7492cd86a7
2025-12-14 11:05:49,575 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-14 11:05:49,582 - tools.document_reader_tool - INFO - TOOL CALL: read_document_data called with query='about Launchlabs', source='auto'
2025-12-14 11:05:49,751 - tools.document_reader_tool - INFO - TOOL RESULT: read_document_data found 1 result(s)
2025-12-14 11:05:49,760 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-14 11:05:50,838 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-14 11:05:51,021 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-14 11:05:59,942 - app - INFO - Created new session for streaming chat: 1a3dc7bc-eb8d-4748-a301-0cc3e5933e75
2025-12-14 11:05:59,942 - app - INFO - Stream request from 127.0.0.1: language=english, message=waht is Launchlabs?..., session_id=1a3dc7bc-eb8d-4748-a301-0cc3e5933e75
2025-12-14 11:06:01,307 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='waht is Launchlabs?', language='english', session_id='1a3dc7bc-eb8d-4748-a301-0cc3e5933e75'
2025-12-14 11:06:02,318 - app - INFO - Retrieved 1 history messages for session 1a3dc7bc-eb8d-4748-a301-0cc3e5933e75
2025-12-14 11:06:03,508 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-14 11:06:04,141 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-14 11:06:04,145 - tools.document_reader_tool - INFO - TOOL CALL: read_document_data called with query='What is Launchlabs?', source='auto'
2025-12-14 11:06:04,294 - tools.document_reader_tool - INFO - TOOL RESULT: read_document_data found 1 result(s)
2025-12-14 11:06:05,123 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-14 11:06:05,366 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-14 11:06:22,131 - app - INFO - Created new session for streaming chat: 0734d2a4-445e-476a-a5b1-48eba5ff243a
2025-12-14 11:06:22,133 - app - INFO - Stream request from 127.0.0.1: language=english, message=which type of?..., session_id=0734d2a4-445e-476a-a5b1-48eba5ff243a
2025-12-14 11:06:23,516 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='which type of?', language='english', session_id='0734d2a4-445e-476a-a5b1-48eba5ff243a'
2025-12-14 11:06:24,533 - app - INFO - Retrieved 1 history messages for session 0734d2a4-445e-476a-a5b1-48eba5ff243a
2025-12-14 11:06:26,126 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-14 11:06:26,663 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-14 11:06:26,674 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-15 16:56:53,053 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-15 16:58:10,715 - app - INFO - Created new session for streaming chat: c880a00c-7d21-411b-a0f4-843a7e473dab
2025-12-15 16:58:10,715 - app - INFO - Stream request from 127.0.0.1: language=english, message=hi..., session_id=c880a00c-7d21-411b-a0f4-843a7e473dab
2025-12-15 16:58:12,087 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='hi', language='english', session_id='c880a00c-7d21-411b-a0f4-843a7e473dab'
2025-12-15 16:58:12,491 - app - INFO - Retrieved 1 history messages for session c880a00c-7d21-411b-a0f4-843a7e473dab
2025-12-15 16:58:15,559 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-15 16:58:16,046 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-15 16:58:16,107 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-15 17:12:28,856 - app - INFO - Created new session for streaming chat: edaa2e9a-4cc3-4581-8ca1-e90c2e842488
2025-12-15 17:12:28,858 - app - INFO - Stream request from 127.0.0.1: language=norwegian, message=hi..., session_id=edaa2e9a-4cc3-4581-8ca1-e90c2e842488
2025-12-15 17:12:30,258 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='hi', language='norwegian', session_id='edaa2e9a-4cc3-4581-8ca1-e90c2e842488'
2025-12-15 17:12:30,541 - app - INFO - Retrieved 1 history messages for session edaa2e9a-4cc3-4581-8ca1-e90c2e842488
2025-12-15 17:12:31,878 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-15 17:12:32,176 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-15 17:12:32,178 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-16 19:07:13,495 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-16 19:31:38,503 - app - INFO - Created new session for streaming chat: b88727b0-fd92-4a19-9af3-85d13a57fac3
2025-12-16 19:31:38,505 - app - INFO - Stream request from 127.0.0.1: language=english, message=hi..., session_id=b88727b0-fd92-4a19-9af3-85d13a57fac3
2025-12-16 19:31:39,919 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='hi', language='english', session_id='b88727b0-fd92-4a19-9af3-85d13a57fac3'
2025-12-16 19:31:40,250 - app - INFO - Retrieved 1 history messages for session b88727b0-fd92-4a19-9af3-85d13a57fac3
2025-12-16 19:32:06,502 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-16 19:32:06,830 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 200 OK"
2025-12-16 19:32:06,859 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-16 19:32:59,492 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-16 19:33:10,048 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-16 19:34:57,275 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-16 19:36:20,319 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-16 19:39:28,134 - app - INFO - Created new session for streaming chat: eb1c52f7-f401-4418-ac9e-68bbdfd50103
2025-12-16 19:39:28,138 - app - INFO - Stream request from 127.0.0.1: language=english, message=hi..., session_id=eb1c52f7-f401-4418-ac9e-68bbdfd50103
2025-12-16 19:39:29,507 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='hi', language='english', session_id='eb1c52f7-f401-4418-ac9e-68bbdfd50103'
2025-12-16 19:39:29,800 - app - INFO - Retrieved 1 history messages for session eb1c52f7-f401-4418-ac9e-68bbdfd50103
2025-12-16 19:39:35,078 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-16 19:39:35,333 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-16 19:39:36,012 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-16 19:43:47,881 - app - INFO - Created new session for streaming chat: 720ea86f-6cc1-452b-9e67-d4901d23d19d
2025-12-16 19:43:47,886 - app - INFO - Stream request from 127.0.0.1: language=english, message=what is launch lab..., session_id=720ea86f-6cc1-452b-9e67-d4901d23d19d
2025-12-16 19:43:50,529 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='what is launch lab', language='english', session_id='720ea86f-6cc1-452b-9e67-d4901d23d19d'
2025-12-16 19:43:51,008 - app - INFO - Retrieved 1 history messages for session 720ea86f-6cc1-452b-9e67-d4901d23d19d
2025-12-16 19:43:52,815 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-16 19:43:53,051 - tools.document_reader_tool - INFO - TOOL CALL: read_document_data called with query='about Launchlabs', source='auto'
2025-12-16 19:43:53,203 - tools.document_reader_tool - INFO - TOOL RESULT: read_document_data found 1 result(s)
2025-12-16 19:43:54,172 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-16 19:43:54,987 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-16 19:43:56,403 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-16 20:06:02,362 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-16 20:06:28,565 - app - INFO - Created new session for streaming chat: 5a6d92e3-f597-4f23-852b-a82f245847ac
2025-12-16 20:06:28,566 - app - INFO - Stream request from 127.0.0.1: language=english, message=Hi..., session_id=5a6d92e3-f597-4f23-852b-a82f245847ac
2025-12-16 20:06:29,994 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='Hi', language='english', session_id='5a6d92e3-f597-4f23-852b-a82f245847ac'
2025-12-16 20:06:30,372 - app - INFO - Retrieved 1 history messages for session 5a6d92e3-f597-4f23-852b-a82f245847ac
2025-12-16 20:06:34,031 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-16 20:06:34,745 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-16 20:06:35,981 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-16 20:06:58,192 - app - INFO - Created new session for streaming chat: c5a27fbd-3d75-4967-b002-7cf96d72b1de
2025-12-16 20:06:58,193 - app - INFO - Stream request from 127.0.0.1: language=english, message=hi..., session_id=c5a27fbd-3d75-4967-b002-7cf96d72b1de
2025-12-16 20:06:59,571 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='hi', language='english', session_id='c5a27fbd-3d75-4967-b002-7cf96d72b1de'
2025-12-16 20:07:00,903 - app - INFO - Retrieved 1 history messages for session c5a27fbd-3d75-4967-b002-7cf96d72b1de
2025-12-16 20:07:01,976 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-16 20:07:02,299 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-16 20:07:02,306 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-16 20:07:21,396 - app - INFO - Created new session for streaming chat: 073c034d-fbdc-480f-af33-ae3b5b9e525d
2025-12-16 20:07:21,397 - app - INFO - Stream request from 127.0.0.1: language=english, message=Hi...., session_id=073c034d-fbdc-480f-af33-ae3b5b9e525d
2025-12-16 20:07:23,277 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='Hi.', language='english', session_id='073c034d-fbdc-480f-af33-ae3b5b9e525d'
2025-12-16 20:07:24,457 - app - INFO - Retrieved 1 history messages for session 073c034d-fbdc-480f-af33-ae3b5b9e525d
2025-12-16 20:07:28,950 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-16 20:07:35,455 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-16 20:07:36,159 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-16 20:09:07,189 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-16 20:12:16,880 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-16 20:14:21,449 - app - INFO - Created new session for streaming chat: 9178d546-c2cf-4b12-8005-8ac91d6f69f9
2025-12-16 20:14:21,449 - app - INFO - Stream request from 127.0.0.1: language=english, message=Hi..., session_id=9178d546-c2cf-4b12-8005-8ac91d6f69f9
2025-12-16 20:14:22,861 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='Hi', language='english', session_id='9178d546-c2cf-4b12-8005-8ac91d6f69f9'
2025-12-16 20:14:23,270 - app - INFO - Retrieved 1 history messages for session 9178d546-c2cf-4b12-8005-8ac91d6f69f9
2025-12-16 20:14:26,478 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-16 20:14:27,273 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-16 20:14:27,383 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-16 20:17:23,859 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-16 20:17:31,185 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-16 20:17:58,834 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-16 20:18:06,831 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-16 20:18:13,599 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-16 20:18:25,126 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-16 20:18:33,527 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-16 20:18:39,548 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-16 20:19:14,129 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-16 20:19:24,958 - app - INFO - Created new session for streaming chat: bce1fd62-841a-4e1b-b4cc-8057c5c4b823
2025-12-16 20:19:24,958 - app - INFO - Stream request from 127.0.0.1: language=english, message=Hi..., session_id=bce1fd62-841a-4e1b-b4cc-8057c5c4b823
2025-12-16 20:19:26,387 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='Hi', language='english', session_id='bce1fd62-841a-4e1b-b4cc-8057c5c4b823'
2025-12-16 20:19:26,792 - app - INFO - Retrieved 1 history messages for session bce1fd62-841a-4e1b-b4cc-8057c5c4b823
2025-12-16 20:19:29,844 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-16 20:19:30,163 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-16 20:19:30,832 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-16 20:24:33,161 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-16 20:24:36,751 - app - INFO - Created new session for streaming chat: 707b7f47-cabd-4a3a-b2be-31577c6cce92
2025-12-16 20:24:36,751 - app - INFO - Stream request from 127.0.0.1: language=english, message=Hi..., session_id=707b7f47-cabd-4a3a-b2be-31577c6cce92
2025-12-16 20:24:38,182 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='Hi', language='english', session_id='707b7f47-cabd-4a3a-b2be-31577c6cce92'
2025-12-16 20:24:38,555 - app - INFO - Retrieved 1 history messages for session 707b7f47-cabd-4a3a-b2be-31577c6cce92
2025-12-16 20:24:41,965 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-16 20:24:42,792 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-16 20:24:43,623 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-16 21:05:24,848 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-16 21:05:39,423 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-16 21:28:58,753 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-16 21:29:29,202 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-16 21:29:37,560 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-16 21:29:55,534 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-16 21:30:33,665 - app - INFO - Created new session for streaming chat: 9f31df73-1217-479f-99a8-022745b9416c
2025-12-16 21:30:33,665 - app - INFO - Stream request from 127.0.0.1: language=english, message=HI..., session_id=9f31df73-1217-479f-99a8-022745b9416c
2025-12-16 21:30:35,034 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='HI', language='english', session_id='9f31df73-1217-479f-99a8-022745b9416c'
2025-12-16 21:30:35,349 - app - INFO - Retrieved 1 history messages for session 9f31df73-1217-479f-99a8-022745b9416c
2025-12-16 21:30:40,860 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-16 21:30:40,860 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-16 21:30:43,005 - app - INFO - Added assistant response to session history: 9f31df73-1217-479f-99a8-022745b9416c
2025-12-16 21:30:43,005 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-16 21:31:35,335 - app - INFO - Created new session for streaming chat: 729fe42b-365c-4b59-8b12-b1e37026a685
2025-12-16 21:31:35,361 - app - INFO - Stream request from 127.0.0.1: language=english, message=hi..., session_id=729fe42b-365c-4b59-8b12-b1e37026a685
2025-12-16 21:31:36,908 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='hi', language='english', session_id='729fe42b-365c-4b59-8b12-b1e37026a685'
2025-12-16 21:31:37,934 - app - INFO - Retrieved 1 history messages for session 729fe42b-365c-4b59-8b12-b1e37026a685
2025-12-16 21:31:39,386 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-16 21:31:39,653 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-16 21:31:41,252 - app - INFO - Added assistant response to session history: 729fe42b-365c-4b59-8b12-b1e37026a685
2025-12-16 21:31:41,252 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-16 21:32:01,046 - app - INFO - Created new session for streaming chat: d58af680-dbc3-4181-8722-94f8850efff1
2025-12-16 21:32:01,046 - app - INFO - Stream request from 127.0.0.1: language=english, message=launchLab..., session_id=d58af680-dbc3-4181-8722-94f8850efff1
2025-12-16 21:32:02,418 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='launchLab', language='english', session_id='d58af680-dbc3-4181-8722-94f8850efff1'
2025-12-16 21:32:03,576 - app - INFO - Retrieved 1 history messages for session d58af680-dbc3-4181-8722-94f8850efff1
2025-12-16 21:32:04,726 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-16 21:32:05,191 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-16 21:32:07,485 - app - INFO - Added assistant response to session history: d58af680-dbc3-4181-8722-94f8850efff1
2025-12-16 21:32:07,485 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-16 21:42:58,223 - app - INFO - Created new session for streaming chat: 8db465b1-b15a-4a91-af51-e503775f8bda
2025-12-16 21:42:58,232 - app - INFO - Stream request from 127.0.0.1: language=english, message=Hi..., session_id=8db465b1-b15a-4a91-af51-e503775f8bda
2025-12-16 21:42:59,606 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='Hi', language='english', session_id='8db465b1-b15a-4a91-af51-e503775f8bda'
2025-12-16 21:42:59,907 - app - INFO - Retrieved 1 history messages for session 8db465b1-b15a-4a91-af51-e503775f8bda
2025-12-16 21:43:01,407 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-16 21:43:01,766 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-16 21:43:03,532 - app - INFO - Added assistant response to session history: 8db465b1-b15a-4a91-af51-e503775f8bda
2025-12-16 21:43:03,532 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-16 21:43:37,898 - app - INFO - Created new session for streaming chat: cd97c919-aa19-444d-8bcc-39a9b9cbc219
2025-12-16 21:43:37,898 - app - INFO - Stream request from 127.0.0.1: language=english, message=what is LaunchLab?..., session_id=cd97c919-aa19-444d-8bcc-39a9b9cbc219
2025-12-16 21:43:39,500 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='what is LaunchLab?', language='english', session_id='cd97c919-aa19-444d-8bcc-39a9b9cbc219'
2025-12-16 21:43:40,334 - app - INFO - Retrieved 1 history messages for session cd97c919-aa19-444d-8bcc-39a9b9cbc219
2025-12-16 21:43:42,880 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-16 21:43:43,297 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-16 21:43:45,438 - app - INFO - Added assistant response to session history: cd97c919-aa19-444d-8bcc-39a9b9cbc219
2025-12-16 21:43:45,446 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-16 22:02:38,297 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-16 22:02:44,677 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-16 22:02:59,394 - app - INFO - Created new session for streaming chat: e4a3bf24-b781-4535-9cc7-5a6fb2721741
2025-12-16 22:02:59,395 - app - INFO - Stream request from 127.0.0.1: language=english, message=Hi..., session_id=e4a3bf24-b781-4535-9cc7-5a6fb2721741
2025-12-16 22:03:00,863 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='Hi', language='english', session_id='e4a3bf24-b781-4535-9cc7-5a6fb2721741'
2025-12-16 22:03:01,232 - app - INFO - Retrieved 1 history messages for session e4a3bf24-b781-4535-9cc7-5a6fb2721741
2025-12-16 22:03:05,060 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-16 22:03:06,392 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-16 22:03:08,375 - app - INFO - Added assistant response to session history: e4a3bf24-b781-4535-9cc7-5a6fb2721741
2025-12-16 22:03:08,376 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-16 22:17:07,592 - app - INFO - Created new session for streaming chat: 199cf206-0d20-45ec-bb6d-5f4a5115ed7e
2025-12-16 22:17:07,612 - app - INFO - Stream request from 127.0.0.1: language=english, message=Hi..., session_id=199cf206-0d20-45ec-bb6d-5f4a5115ed7e
2025-12-16 22:17:09,000 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='Hi', language='english', session_id='199cf206-0d20-45ec-bb6d-5f4a5115ed7e'
2025-12-16 22:17:09,296 - app - INFO - Retrieved 1 history messages for session 199cf206-0d20-45ec-bb6d-5f4a5115ed7e
2025-12-16 22:17:11,267 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-16 22:17:11,294 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-16 22:17:13,018 - app - INFO - Added assistant response to session history: 199cf206-0d20-45ec-bb6d-5f4a5115ed7e
2025-12-16 22:17:13,019 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-16 22:18:01,709 - app - INFO - Created new session for streaming chat: 9969da60-b7e9-460f-99a5-c06b0431421b
2025-12-16 22:18:01,710 - app - INFO - Stream request from 127.0.0.1: language=english, message=what is launchlab..., session_id=9969da60-b7e9-460f-99a5-c06b0431421b
2025-12-16 22:18:03,373 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='what is launchlab', language='english', session_id='9969da60-b7e9-460f-99a5-c06b0431421b'
2025-12-16 22:18:04,395 - app - INFO - Retrieved 1 history messages for session 9969da60-b7e9-460f-99a5-c06b0431421b
2025-12-16 22:18:05,834 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-16 22:18:07,279 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-16 22:18:08,699 - app - INFO - Added assistant response to session history: 9969da60-b7e9-460f-99a5-c06b0431421b
2025-12-16 22:18:08,701 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-16 22:26:40,733 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-16 22:27:10,754 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-16 22:27:19,432 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-16 22:28:18,303 - app - INFO - Created new session for streaming chat: ce7c054c-a42f-4d7c-a953-d0cc8e4ecb76
2025-12-16 22:28:18,474 - app - INFO - Stream request from 127.0.0.1: language=english, message=Hi..., session_id=ce7c054c-a42f-4d7c-a953-d0cc8e4ecb76
2025-12-16 22:28:19,886 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='Hi', language='english', session_id='ce7c054c-a42f-4d7c-a953-d0cc8e4ecb76'
2025-12-16 22:28:20,251 - app - INFO - Retrieved 1 history messages for session ce7c054c-a42f-4d7c-a953-d0cc8e4ecb76
2025-12-16 22:28:23,732 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-16 22:28:23,862 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-16 22:28:25,762 - app - INFO - Added assistant response to session history: ce7c054c-a42f-4d7c-a953-d0cc8e4ecb76
2025-12-16 22:28:25,763 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-16 22:28:57,673 - app - INFO - Created new session for streaming chat: 01eea8e8-0fe3-4950-8d91-24d9aa3f58dd
2025-12-16 22:28:57,673 - app - INFO - Stream request from 127.0.0.1: language=english, message=what is launchlab..., session_id=01eea8e8-0fe3-4950-8d91-24d9aa3f58dd
2025-12-16 22:28:59,028 - app - INFO - AGENT STREAM CALL: query_launchlabs_bot_stream called with message='what is launchlab', language='english', session_id='01eea8e8-0fe3-4950-8d91-24d9aa3f58dd'
2025-12-16 22:29:00,066 - app - INFO - Retrieved 1 history messages for session 01eea8e8-0fe3-4950-8d91-24d9aa3f58dd
2025-12-16 22:29:01,807 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-16 22:29:02,422 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-16 22:29:04,825 - app - INFO - Added assistant response to session history: 01eea8e8-0fe3-4950-8d91-24d9aa3f58dd
2025-12-16 22:29:04,827 - app - INFO - AGENT STREAM RESULT: query_launchlabs_bot_stream completed successfully
2025-12-31 22:03:26,078 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-31 22:03:34,614 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-31 22:05:36,261 - app - INFO - Created new session: f4f611ff-5a60-47db-9204-6e779620220e
2025-12-31 22:06:22,146 - app - INFO - Stream request from 127.0.0.1: language=english, message=Hi, what is jobobike do?..., session_id=f4f611ff-5a60-47db-9204-6e779620220e
2025-12-31 22:06:23,544 - app - INFO - AGENT STREAM CALL: query_jobobike_bot_stream called with message='Hi, what is jobobike do?', language='english', session_id='f4f611ff-5a60-47db-9204-6e779620220e'
2025-12-31 22:06:23,884 - app - INFO - Retrieved 1 history messages for session f4f611ff-5a60-47db-9204-6e779620220e
2025-12-31 22:06:28,246 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-31 22:06:29,103 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-31 22:06:31,010 - app - INFO - Added assistant response to session history: f4f611ff-5a60-47db-9204-6e779620220e
2025-12-31 22:06:31,011 - app - INFO - AGENT STREAM RESULT: query_jobobike_bot_stream completed successfully
2025-12-31 22:50:41,914 - app - INFO - Created new session: d0cf9bc7-ba4c-43ab-968a-4c6b273fb9f4
2025-12-31 22:50:45,255 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-31 22:51:16,377 - app - INFO - Chat request from 127.0.0.1: language=english, message=Hi, what is jobobike do?..., session_id=d0cf9bc7-ba4c-43ab-968a-4c6b273fb9f4
2025-12-31 22:51:17,789 - app - INFO - AGENT CALL: query_jobobike_bot called with message='Hi, what is jobobike do?', language='english', session_id='d0cf9bc7-ba4c-43ab-968a-4c6b273fb9f4'
2025-12-31 22:51:18,179 - app - INFO - Retrieved 1 history messages for session d0cf9bc7-ba4c-43ab-968a-4c6b273fb9f4
2025-12-31 22:51:20,682 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-31 22:51:21,372 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-31 22:51:21,372 - app - INFO - AGENT RESULT: query_jobobike_bot completed successfully
2025-12-31 22:51:22,736 - app - INFO - Chat response generated successfully in english for session d0cf9bc7-ba4c-43ab-968a-4c6b273fb9f4
2025-12-31 22:59:42,518 - app - INFO - Created new session: 1178d8b5-ad41-48d3-b746-589947b9900a
2025-12-31 23:00:03,331 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-31 23:00:11,638 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-31 23:00:27,567 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2025-12-31 23:03:17,726 - app - INFO - Created new session: 4a1c2736-b693-4f96-987f-e72b75ffc79b
2025-12-31 23:03:56,245 - app - INFO - Chat request from 127.0.0.1: language=english, message=what is jobobike do?..., session_id=4a1c2736-b693-4f96-987f-e72b75ffc79b
2025-12-31 23:03:57,714 - app - INFO - AGENT CALL: query_jobobike_bot called with message='what is jobobike do?', language='english', session_id='4a1c2736-b693-4f96-987f-e72b75ffc79b'
2025-12-31 23:03:58,012 - app - INFO - Retrieved 1 history messages for session 4a1c2736-b693-4f96-987f-e72b75ffc79b
2025-12-31 23:04:04,059 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-31 23:04:04,163 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-31 23:04:04,173 - app - INFO - AGENT RESULT: query_jobobike_bot completed successfully
2025-12-31 23:04:05,567 - app - INFO - Chat response generated successfully in english for session 4a1c2736-b693-4f96-987f-e72b75ffc79b
2025-12-31 23:04:36,179 - app - INFO - Chat request from 127.0.0.1: language=english, message=what is the best product of jobobike?..., session_id=4a1c2736-b693-4f96-987f-e72b75ffc79b
2025-12-31 23:04:37,564 - app - INFO - AGENT CALL: query_jobobike_bot called with message='what is the best product of jobobike?', language='english', session_id='4a1c2736-b693-4f96-987f-e72b75ffc79b'
2025-12-31 23:04:37,945 - app - INFO - Retrieved 3 history messages for session 4a1c2736-b693-4f96-987f-e72b75ffc79b
2025-12-31 23:04:38,972 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-31 23:04:39,770 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-31 23:04:39,819 - tools.document_reader_tool - INFO - TOOL CALL: read_document_data called with query='best product', source='auto'
2025-12-31 23:04:40,049 - tools.document_reader_tool - INFO - TOOL RESULT: read_document_data found 1 result(s)
2025-12-31 23:04:43,202 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-31 23:04:43,206 - app - INFO - AGENT RESULT: query_jobobike_bot completed successfully
2025-12-31 23:04:44,723 - app - INFO - Chat response generated successfully in english for session 4a1c2736-b693-4f96-987f-e72b75ffc79b
2025-12-31 23:05:06,722 - app - INFO - Chat request from 127.0.0.1: language=english, message=any discount available..., session_id=4a1c2736-b693-4f96-987f-e72b75ffc79b
2025-12-31 23:05:08,480 - app - INFO - AGENT CALL: query_jobobike_bot called with message='any discount available', language='english', session_id='4a1c2736-b693-4f96-987f-e72b75ffc79b'
2025-12-31 23:05:09,532 - app - INFO - Retrieved 5 history messages for session 4a1c2736-b693-4f96-987f-e72b75ffc79b
2025-12-31 23:05:10,696 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-31 23:05:10,699 - tools.document_reader_tool - INFO - TOOL CALL: read_document_data called with query='discounts', source='auto'
2025-12-31 23:05:10,787 - tools.document_reader_tool - INFO - TOOL RESULT: read_document_data found 1 result(s)
2025-12-31 23:05:11,313 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-31 23:05:13,716 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-31 23:05:13,928 - app - INFO - AGENT RESULT: query_jobobike_bot completed successfully
2025-12-31 23:05:15,351 - app - INFO - Chat response generated successfully in english for session 4a1c2736-b693-4f96-987f-e72b75ffc79b
2025-12-31 23:05:38,475 - app - INFO - Chat request from 127.0.0.1: language=english, message=Hi..., session_id=4a1c2736-b693-4f96-987f-e72b75ffc79b
2025-12-31 23:05:39,896 - app - INFO - AGENT CALL: query_jobobike_bot called with message='Hi', language='english', session_id='4a1c2736-b693-4f96-987f-e72b75ffc79b'
2025-12-31 23:05:40,489 - app - INFO - Retrieved 7 history messages for session 4a1c2736-b693-4f96-987f-e72b75ffc79b
2025-12-31 23:05:41,251 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-31 23:05:41,431 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-31 23:05:41,437 - app - INFO - AGENT RESULT: query_jobobike_bot completed successfully
2025-12-31 23:05:42,904 - app - INFO - Chat response generated successfully in english for session 4a1c2736-b693-4f96-987f-e72b75ffc79b
2025-12-31 23:06:31,648 - app - INFO - Chat request from 127.0.0.1: language=english, message=how i order jobobike's product..., session_id=4a1c2736-b693-4f96-987f-e72b75ffc79b
2025-12-31 23:06:33,639 - app - INFO - AGENT CALL: query_jobobike_bot called with message='how i order jobobike's product', language='english', session_id='4a1c2736-b693-4f96-987f-e72b75ffc79b'
2025-12-31 23:06:34,363 - app - INFO - Retrieved 9 history messages for session 4a1c2736-b693-4f96-987f-e72b75ffc79b
2025-12-31 23:06:36,788 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-31 23:06:41,066 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-31 23:06:41,075 - app - INFO - AGENT RESULT: query_jobobike_bot completed successfully
2025-12-31 23:06:42,551 - app - INFO - Chat response generated successfully in english for session 4a1c2736-b693-4f96-987f-e72b75ffc79b
2026-01-01 15:55:33,749 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2026-01-01 16:49:18,031 - app - INFO - Created new session for streaming chat: 0c71d9ef-eee7-49f3-914a-fa7a2e3bdc34
2026-01-01 16:49:18,072 - app - INFO - Stream request from 127.0.0.1: language=english, message=hi..., session_id=0c71d9ef-eee7-49f3-914a-fa7a2e3bdc34
2026-01-01 16:49:19,817 - app - INFO - AGENT STREAM CALL: query_jobobike_bot_stream called with message='hi', language='english', session_id='0c71d9ef-eee7-49f3-914a-fa7a2e3bdc34'
2026-01-01 16:49:20,865 - app - INFO - Retrieved 1 history messages for session 0c71d9ef-eee7-49f3-914a-fa7a2e3bdc34
2026-01-01 16:49:43,619 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2026-01-01 16:49:44,191 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2026-01-01 16:49:47,236 - app - INFO - Added assistant response to session history: 0c71d9ef-eee7-49f3-914a-fa7a2e3bdc34
2026-01-01 16:49:47,253 - app - INFO - AGENT STREAM RESULT: query_jobobike_bot_stream completed successfully
2026-01-01 16:50:39,625 - app - INFO - Created new session for streaming chat: a8e398cd-73f7-4713-91a3-226797bcd98c
2026-01-01 16:50:40,045 - app - INFO - Stream request from 127.0.0.1: language=english, message=i want to know about order process..., session_id=a8e398cd-73f7-4713-91a3-226797bcd98c
2026-01-01 16:50:41,832 - app - INFO - AGENT STREAM CALL: query_jobobike_bot_stream called with message='i want to know about order process', language='english', session_id='a8e398cd-73f7-4713-91a3-226797bcd98c'
2026-01-01 16:50:42,259 - app - INFO - Retrieved 1 history messages for session a8e398cd-73f7-4713-91a3-226797bcd98c
2026-01-01 16:50:42,851 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2026-01-01 16:50:42,983 - tools.document_reader_tool - INFO - TOOL CALL: read_document_data called with query='order process', source='auto'
2026-01-01 16:50:45,163 - tools.document_reader_tool - INFO - TOOL RESULT: read_document_data found 1 result(s)
2026-01-01 16:50:45,585 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2026-01-01 16:50:46,654 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2026-01-01 16:50:50,422 - app - INFO - Added assistant response to session history: a8e398cd-73f7-4713-91a3-226797bcd98c
2026-01-01 16:50:50,524 - app - INFO - AGENT STREAM RESULT: query_jobobike_bot_stream completed successfully
2026-01-01 17:10:05,338 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2026-01-01 17:15:17,102 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2026-01-01 17:15:31,609 - app - INFO - Created new session for streaming chat: de63e201-a500-4ca2-9c09-4bb441334544
2026-01-01 17:15:31,670 - app - INFO - Stream request from 127.0.0.1: language=english, message=hi..., session_id=de63e201-a500-4ca2-9c09-4bb441334544
2026-01-01 17:15:33,460 - app - INFO - AGENT STREAM CALL: query_jobobike_bot_stream called with message='hi', language='english', session_id='de63e201-a500-4ca2-9c09-4bb441334544'
2026-01-01 17:15:34,033 - app - INFO - Retrieved 1 history messages for session de63e201-a500-4ca2-9c09-4bb441334544
2026-01-01 17:15:48,761 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2026-01-01 17:15:51,341 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2026-01-01 17:15:53,043 - app - INFO - Added assistant response to session history: de63e201-a500-4ca2-9c09-4bb441334544
2026-01-01 17:15:53,059 - app - INFO - AGENT STREAM RESULT: query_jobobike_bot_stream completed successfully
2026-01-01 17:17:47,934 - app - INFO - Created new session for streaming chat: 331d4d46-d933-454c-8a3a-606209043f0b
2026-01-01 17:17:48,003 - app - INFO - Stream request from 127.0.0.1: language=english, message=i want to know order process..., session_id=331d4d46-d933-454c-8a3a-606209043f0b
2026-01-01 17:17:50,165 - app - INFO - AGENT STREAM CALL: query_jobobike_bot_stream called with message='i want to know order process', language='english', session_id='331d4d46-d933-454c-8a3a-606209043f0b'
2026-01-01 17:17:51,270 - app - INFO - Retrieved 1 history messages for session 331d4d46-d933-454c-8a3a-606209043f0b
2026-01-01 17:17:53,613 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2026-01-01 17:17:53,833 - tools.document_reader_tool - INFO - TOOL CALL: read_document_data called with query='order process', source='auto'
2026-01-01 17:17:54,937 - tools.document_reader_tool - INFO - TOOL RESULT: read_document_data found 1 result(s)
2026-01-01 17:17:54,995 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2026-01-01 17:17:55,907 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2026-01-01 17:18:00,241 - app - INFO - Added assistant response to session history: 331d4d46-d933-454c-8a3a-606209043f0b
2026-01-01 17:18:00,326 - app - INFO - AGENT STREAM RESULT: query_jobobike_bot_stream completed successfully
2026-01-01 17:18:23,793 - app - INFO - Created new session for streaming chat: 67b81b26-3494-4d32-a726-a2315ae301af
2026-01-01 17:18:23,912 - app - INFO - Stream request from 127.0.0.1: language=english, message=what is jobobike do?..., session_id=67b81b26-3494-4d32-a726-a2315ae301af
2026-01-01 17:18:26,953 - app - INFO - AGENT STREAM CALL: query_jobobike_bot_stream called with message='what is jobobike do?', language='english', session_id='67b81b26-3494-4d32-a726-a2315ae301af'
2026-01-01 17:18:27,977 - app - INFO - Retrieved 1 history messages for session 67b81b26-3494-4d32-a726-a2315ae301af
2026-01-01 17:18:29,098 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2026-01-01 17:18:29,174 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2026-01-01 17:18:31,630 - app - INFO - Added assistant response to session history: 67b81b26-3494-4d32-a726-a2315ae301af
2026-01-01 17:18:31,631 - app - INFO - AGENT STREAM RESULT: query_jobobike_bot_stream completed successfully
2026-01-01 18:00:36,225 - app - INFO - Created new session for streaming chat: d419195b-1805-4737-8968-d341aa6a83d7
2026-01-01 18:00:36,282 - app - INFO - Stream request from 127.0.0.1: language=english, message=hi..., session_id=d419195b-1805-4737-8968-d341aa6a83d7
2026-01-01 18:00:38,434 - app - INFO - AGENT STREAM CALL: query_jobobike_bot_stream called with message='hi', language='english', session_id='d419195b-1805-4737-8968-d341aa6a83d7'
2026-01-01 18:00:39,169 - app - INFO - Retrieved 1 history messages for session d419195b-1805-4737-8968-d341aa6a83d7
2026-01-01 18:00:44,581 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2026-01-01 18:00:45,520 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2026-01-01 18:00:49,291 - app - INFO - Added assistant response to session history: d419195b-1805-4737-8968-d341aa6a83d7
2026-01-01 18:00:49,460 - app - INFO - AGENT STREAM RESULT: query_jobobike_bot_stream completed successfully
2026-01-01 21:59:41,600 - app - INFO - Created new session for streaming chat: 739a4272-b18a-4c83-a635-f54813e47e26
2026-01-01 21:59:41,632 - app - INFO - Stream request from 127.0.0.1: language=english, message=hi..., session_id=739a4272-b18a-4c83-a635-f54813e47e26
2026-01-01 21:59:43,014 - app - INFO - AGENT STREAM CALL: query_jobobike_bot_stream called with message='hi', language='english', session_id='739a4272-b18a-4c83-a635-f54813e47e26'
2026-01-01 21:59:43,366 - app - INFO - Retrieved 1 history messages for session 739a4272-b18a-4c83-a635-f54813e47e26
2026-01-01 21:59:44,666 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2026-01-01 21:59:44,756 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2026-01-01 21:59:46,356 - app - INFO - Added assistant response to session history: 739a4272-b18a-4c83-a635-f54813e47e26
2026-01-01 21:59:46,356 - app - INFO - AGENT STREAM RESULT: query_jobobike_bot_stream completed successfully
2026-01-01 22:02:08,533 - app - INFO - Created new session for streaming chat: 1cb24ad5-4563-43f7-b91f-66547ec8e131
2026-01-01 22:02:08,630 - app - INFO - Stream request from 127.0.0.1: language=english, message=Hi..., session_id=1cb24ad5-4563-43f7-b91f-66547ec8e131
2026-01-01 22:02:10,835 - app - INFO - AGENT STREAM CALL: query_jobobike_bot_stream called with message='Hi', language='english', session_id='1cb24ad5-4563-43f7-b91f-66547ec8e131'
2026-01-01 22:02:11,506 - app - INFO - Retrieved 1 history messages for session 1cb24ad5-4563-43f7-b91f-66547ec8e131
2026-01-01 22:02:13,984 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2026-01-01 22:02:14,012 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2026-01-01 22:02:16,342 - app - INFO - Added assistant response to session history: 1cb24ad5-4563-43f7-b91f-66547ec8e131
2026-01-01 22:02:16,410 - app - INFO - AGENT STREAM RESULT: query_jobobike_bot_stream completed successfully
2026-01-01 22:02:32,462 - app - INFO - Created new session for streaming chat: d7f32e78-67a0-492f-829c-a47c740e7e83
2026-01-01 22:02:32,462 - app - INFO - Stream request from 127.0.0.1: language=english, message=what is jobobike..., session_id=d7f32e78-67a0-492f-829c-a47c740e7e83
2026-01-01 22:02:33,908 - app - INFO - AGENT STREAM CALL: query_jobobike_bot_stream called with message='what is jobobike', language='english', session_id='d7f32e78-67a0-492f-829c-a47c740e7e83'
2026-01-01 22:02:34,959 - app - INFO - Retrieved 1 history messages for session d7f32e78-67a0-492f-829c-a47c740e7e83
2026-01-01 22:02:38,639 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2026-01-01 22:02:38,946 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
2026-01-01 22:02:41,950 - app - INFO - Added assistant response to session history: d7f32e78-67a0-492f-829c-a47c740e7e83
2026-01-01 22:02:42,118 - app - INFO - AGENT STREAM RESULT: query_jobobike_bot_stream completed successfully
2026-01-18 20:06:54,800 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2026-01-18 20:07:09,183 - app - INFO - Created new session for streaming chat: c47cda5f-cfbf-4dd2-96af-1246f069749c
2026-01-18 20:07:09,183 - app - INFO - Stream request from 127.0.0.1: language=english, message=Hi..., session_id=c47cda5f-cfbf-4dd2-96af-1246f069749c
2026-01-18 20:07:10,597 - app - INFO - AGENT STREAM CALL: query_jobobike_bot_stream called with message='Hi', language='english', session_id='c47cda5f-cfbf-4dd2-96af-1246f069749c'
2026-01-18 20:07:10,922 - app - INFO - Retrieved 1 history messages for session c47cda5f-cfbf-4dd2-96af-1246f069749c
2026-01-18 20:07:15,079 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:07:15,584 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:07:15,620 - app - WARNING - Streaming failed, falling back to non-streaming: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 20:07:15,934 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:07:15,981 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:07:15,984 - app - ERROR - Fallback also failed: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
Traceback (most recent call last):
  File "E:\innocribe\backend\app.py", line 1315, in generate_stream
    fallback_response = await Runner.run(
                        ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 358, in run
    return await runner.run(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 638, in run
    input_guardrail_results, turn_result = await asyncio.gather(
                                           ^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1550, in _run_single_turn
    new_response = await cls._get_new_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1807, in _get_new_response
    new_response = await model.get_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 68, in get_response
    response = await self._fetch_response(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 293, in _fetch_response
    ret = await self._get_client().chat.completions.create(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\resources\chat\completions\completions.py", line 2672, in create
    return await self._post(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1794, in post
    return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1594, in request
    raise self._make_status_error_from_response(err.response) from None
openai.BadRequestError: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 20:10:27,090 - app - INFO - Created new session for streaming chat: b2d1ccf2-06c9-43e1-9f9b-5f2b2197183b
2026-01-18 20:10:27,122 - app - INFO - Stream request from 127.0.0.1: language=english, message=hi..., session_id=b2d1ccf2-06c9-43e1-9f9b-5f2b2197183b
2026-01-18 20:10:28,595 - app - INFO - AGENT STREAM CALL: query_jobobike_bot_stream called with message='hi', language='english', session_id='b2d1ccf2-06c9-43e1-9f9b-5f2b2197183b'
2026-01-18 20:10:29,662 - app - INFO - Retrieved 1 history messages for session b2d1ccf2-06c9-43e1-9f9b-5f2b2197183b
2026-01-18 20:10:31,884 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:10:31,953 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:10:31,957 - app - WARNING - Streaming failed, falling back to non-streaming: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 20:10:32,461 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:10:32,494 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:10:32,504 - app - ERROR - Fallback also failed: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
Traceback (most recent call last):
  File "E:\innocribe\backend\app.py", line 1315, in generate_stream
    fallback_response = await Runner.run(
                        ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 358, in run
    return await runner.run(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 638, in run
    input_guardrail_results, turn_result = await asyncio.gather(
                                           ^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1550, in _run_single_turn
    new_response = await cls._get_new_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1807, in _get_new_response
    new_response = await model.get_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 68, in get_response
    response = await self._fetch_response(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 293, in _fetch_response
    ret = await self._get_client().chat.completions.create(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\resources\chat\completions\completions.py", line 2672, in create
    return await self._post(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1794, in post
    return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1594, in request
    raise self._make_status_error_from_response(err.response) from None
openai.BadRequestError: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 20:11:33,601 - app - INFO - Created new session for streaming chat: 3b415b6b-70d1-42fd-971b-b023516f265e
2026-01-18 20:11:33,629 - app - INFO - Stream request from 127.0.0.1: language=english, message=Hi..., session_id=3b415b6b-70d1-42fd-971b-b023516f265e
2026-01-18 20:11:35,784 - app - INFO - AGENT STREAM CALL: query_jobobike_bot_stream called with message='Hi', language='english', session_id='3b415b6b-70d1-42fd-971b-b023516f265e'
2026-01-18 20:11:36,878 - app - INFO - Retrieved 1 history messages for session 3b415b6b-70d1-42fd-971b-b023516f265e
2026-01-18 20:11:37,314 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:11:38,173 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:11:38,178 - app - WARNING - Streaming failed, falling back to non-streaming: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 20:11:38,417 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:11:38,462 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:11:38,465 - app - ERROR - Fallback also failed: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
Traceback (most recent call last):
  File "E:\innocribe\backend\app.py", line 1315, in generate_stream
    fallback_response = await Runner.run(
                        ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 358, in run
    return await runner.run(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 638, in run
    input_guardrail_results, turn_result = await asyncio.gather(
                                           ^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1550, in _run_single_turn
    new_response = await cls._get_new_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1807, in _get_new_response
    new_response = await model.get_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 68, in get_response
    response = await self._fetch_response(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 293, in _fetch_response
    ret = await self._get_client().chat.completions.create(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\resources\chat\completions\completions.py", line 2672, in create
    return await self._post(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1794, in post
    return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1594, in request
    raise self._make_status_error_from_response(err.response) from None
openai.BadRequestError: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 20:13:45,998 - app - INFO - Created new session: 0eb1227b-fd24-48f3-af4e-f9a200c27e12
2026-01-18 20:14:13,588 - app - INFO - Chat request from 127.0.0.1: language=english, message=Hi..., session_id=0eb1227b-fd24-48f3-af4e-f9a200c27e12
2026-01-18 20:14:14,987 - app - INFO - AGENT CALL: query_jobobike_bot called with message='Hi', language='english', session_id='0eb1227b-fd24-48f3-af4e-f9a200c27e12'
2026-01-18 20:14:15,308 - app - INFO - Retrieved 1 history messages for session 0eb1227b-fd24-48f3-af4e-f9a200c27e12
2026-01-18 20:14:15,809 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:14:16,452 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:14:16,458 - app - ERROR - Error in query_jobobike_bot: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
Traceback (most recent call last):
  File "E:\innocribe\backend\app.py", line 1394, in query_jobobike_bot
    response = await Runner.run(
               ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 358, in run
    return await runner.run(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 638, in run
    input_guardrail_results, turn_result = await asyncio.gather(
                                           ^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1550, in _run_single_turn
    new_response = await cls._get_new_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1807, in _get_new_response
    new_response = await model.get_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 68, in get_response
    response = await self._fetch_response(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 293, in _fetch_response
    ret = await self._get_client().chat.completions.create(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\resources\chat\completions\completions.py", line 2672, in create
    return await self._post(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1794, in post
    return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1594, in request
    raise self._make_status_error_from_response(err.response) from None
openai.BadRequestError: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 20:15:50,703 - app - INFO - Created new session for streaming chat: 58ed22d9-1b1b-4187-a91a-d5559503d203
2026-01-18 20:15:50,715 - app - INFO - Stream request from 127.0.0.1: language=english, message=Hi..., session_id=58ed22d9-1b1b-4187-a91a-d5559503d203
2026-01-18 20:15:52,170 - app - INFO - AGENT STREAM CALL: query_jobobike_bot_stream called with message='Hi', language='english', session_id='58ed22d9-1b1b-4187-a91a-d5559503d203'
2026-01-18 20:15:52,694 - app - INFO - Retrieved 1 history messages for session 58ed22d9-1b1b-4187-a91a-d5559503d203
2026-01-18 20:15:55,660 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:15:55,715 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:15:55,735 - app - WARNING - Streaming failed, falling back to non-streaming: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 20:15:56,247 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:15:56,274 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:15:56,281 - app - ERROR - Fallback also failed: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
Traceback (most recent call last):
  File "E:\innocribe\backend\app.py", line 1315, in generate_stream
    fallback_response = await Runner.run(
                        ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 358, in run
    return await runner.run(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 638, in run
    input_guardrail_results, turn_result = await asyncio.gather(
                                           ^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1550, in _run_single_turn
    new_response = await cls._get_new_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1807, in _get_new_response
    new_response = await model.get_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 68, in get_response
    response = await self._fetch_response(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 293, in _fetch_response
    ret = await self._get_client().chat.completions.create(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\resources\chat\completions\completions.py", line 2672, in create
    return await self._post(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1794, in post
    return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1594, in request
    raise self._make_status_error_from_response(err.response) from None
openai.BadRequestError: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 20:26:35,803 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2026-01-18 20:27:07,857 - app - INFO - Created new session for streaming chat: 791a13dc-c641-421f-8e5c-50f13991f800
2026-01-18 20:27:07,863 - app - INFO - Stream request from 127.0.0.1: language=english, message=Hi..., session_id=791a13dc-c641-421f-8e5c-50f13991f800
2026-01-18 20:27:09,295 - app - INFO - AGENT STREAM CALL: query_jobobike_bot_stream called with message='Hi', language='english', session_id='791a13dc-c641-421f-8e5c-50f13991f800'
2026-01-18 20:27:09,689 - app - INFO - Retrieved 1 history messages for session 791a13dc-c641-421f-8e5c-50f13991f800
2026-01-18 20:27:10,794 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:27:10,868 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:27:10,872 - app - WARNING - Streaming failed, falling back to non-streaming: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 20:27:11,394 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:27:11,398 - app - ERROR - Fallback also failed: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
Traceback (most recent call last):
  File "E:\innocribe\backend\app.py", line 1315, in generate_stream
    fallback_response = await Runner.run(
                        ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 358, in run
    return await runner.run(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 638, in run
    input_guardrail_results, turn_result = await asyncio.gather(
                                           ^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1550, in _run_single_turn
    new_response = await cls._get_new_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1807, in _get_new_response
    new_response = await model.get_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 68, in get_response
    response = await self._fetch_response(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 293, in _fetch_response
    ret = await self._get_client().chat.completions.create(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\resources\chat\completions\completions.py", line 2672, in create
    return await self._post(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1794, in post
    return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1594, in request
    raise self._make_status_error_from_response(err.response) from None
openai.BadRequestError: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 20:27:11,440 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:27:21,911 - app - INFO - Created new session for streaming chat: 34f0537f-acd3-4cf6-a197-0a9b65e79dab
2026-01-18 20:27:21,911 - app - INFO - Stream request from 127.0.0.1: language=english, message=Hi..., session_id=34f0537f-acd3-4cf6-a197-0a9b65e79dab
2026-01-18 20:27:23,492 - app - INFO - AGENT STREAM CALL: query_jobobike_bot_stream called with message='Hi', language='english', session_id='34f0537f-acd3-4cf6-a197-0a9b65e79dab'
2026-01-18 20:27:24,398 - app - INFO - Retrieved 1 history messages for session 34f0537f-acd3-4cf6-a197-0a9b65e79dab
2026-01-18 20:27:25,428 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:27:25,444 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:27:25,458 - app - WARNING - Streaming failed, falling back to non-streaming: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 20:27:25,709 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:27:25,725 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:27:25,728 - app - ERROR - Fallback also failed: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
Traceback (most recent call last):
  File "E:\innocribe\backend\app.py", line 1315, in generate_stream
    fallback_response = await Runner.run(
                        ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 358, in run
    return await runner.run(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 638, in run
    input_guardrail_results, turn_result = await asyncio.gather(
                                           ^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1550, in _run_single_turn
    new_response = await cls._get_new_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1807, in _get_new_response
    new_response = await model.get_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 68, in get_response
    response = await self._fetch_response(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 293, in _fetch_response
    ret = await self._get_client().chat.completions.create(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\resources\chat\completions\completions.py", line 2672, in create
    return await self._post(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1794, in post
    return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1594, in request
    raise self._make_status_error_from_response(err.response) from None
openai.BadRequestError: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 20:29:07,289 - app - INFO - Created new session for streaming chat: 5420243e-9dd8-4466-b2df-3f5579467769
2026-01-18 20:29:07,309 - app - INFO - Stream request from 127.0.0.1: language=english, message=Hi..., session_id=5420243e-9dd8-4466-b2df-3f5579467769
2026-01-18 20:29:09,045 - app - INFO - AGENT STREAM CALL: query_jobobike_bot_stream called with message='Hi', language='english', session_id='5420243e-9dd8-4466-b2df-3f5579467769'
2026-01-18 20:29:10,286 - app - INFO - Retrieved 1 history messages for session 5420243e-9dd8-4466-b2df-3f5579467769
2026-01-18 20:29:11,238 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:29:11,288 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:29:11,291 - app - WARNING - Streaming failed, falling back to non-streaming: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 20:29:11,810 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:29:11,854 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:29:11,858 - app - ERROR - Fallback also failed: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
Traceback (most recent call last):
  File "E:\innocribe\backend\app.py", line 1315, in generate_stream
    fallback_response = await Runner.run(
                        ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 358, in run
    return await runner.run(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 638, in run
    input_guardrail_results, turn_result = await asyncio.gather(
                                           ^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1550, in _run_single_turn
    new_response = await cls._get_new_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1807, in _get_new_response
    new_response = await model.get_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 68, in get_response
    response = await self._fetch_response(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 293, in _fetch_response
    ret = await self._get_client().chat.completions.create(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\resources\chat\completions\completions.py", line 2672, in create
    return await self._post(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1794, in post
    return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1594, in request
    raise self._make_status_error_from_response(err.response) from None
openai.BadRequestError: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 20:29:16,806 - app - INFO - CORS enabled for origins: ['http://localhost:3001', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2026-01-18 20:29:17,403 - app - INFO - Created new session for streaming chat: 5737ae7c-f9cd-43e9-b6df-536f90baea3c
2026-01-18 20:29:17,404 - app - INFO - Stream request from 127.0.0.1: language=english, message=hi..., session_id=5737ae7c-f9cd-43e9-b6df-536f90baea3c
2026-01-18 20:29:19,437 - app - INFO - AGENT STREAM CALL: query_jobobike_bot_stream called with message='hi', language='english', session_id='5737ae7c-f9cd-43e9-b6df-536f90baea3c'
2026-01-18 20:29:20,875 - app - INFO - Retrieved 1 history messages for session 5737ae7c-f9cd-43e9-b6df-536f90baea3c
2026-01-18 20:29:21,478 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:29:22,349 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:29:22,356 - app - WARNING - Streaming failed, falling back to non-streaming: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 20:29:22,732 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:29:22,739 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:29:22,834 - app - ERROR - Fallback also failed: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
Traceback (most recent call last):
  File "E:\innocribe\backend\app.py", line 1315, in generate_stream
    fallback_response = await Runner.run(
                        ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 358, in run
    return await runner.run(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 638, in run
    input_guardrail_results, turn_result = await asyncio.gather(
                                           ^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1550, in _run_single_turn
    new_response = await cls._get_new_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1807, in _get_new_response
    new_response = await model.get_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 68, in get_response
    response = await self._fetch_response(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 293, in _fetch_response
    ret = await self._get_client().chat.completions.create(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\resources\chat\completions\completions.py", line 2672, in create
    return await self._post(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1794, in post
    return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1594, in request
    raise self._make_status_error_from_response(err.response) from None
openai.BadRequestError: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 20:29:38,226 - app - INFO - Created new session for streaming chat: 3d0523fa-04cd-41aa-b5e8-a0aecf26af63
2026-01-18 20:29:38,226 - app - INFO - Stream request from 127.0.0.1: language=english, message=hi...., session_id=3d0523fa-04cd-41aa-b5e8-a0aecf26af63
2026-01-18 20:29:41,042 - app - INFO - AGENT STREAM CALL: query_jobobike_bot_stream called with message='hi.', language='english', session_id='3d0523fa-04cd-41aa-b5e8-a0aecf26af63'
2026-01-18 20:29:41,869 - app - INFO - Retrieved 1 history messages for session 3d0523fa-04cd-41aa-b5e8-a0aecf26af63
2026-01-18 20:29:42,916 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:29:42,987 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:29:42,991 - app - WARNING - Streaming failed, falling back to non-streaming: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 20:29:43,214 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:29:43,267 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:29:43,271 - app - ERROR - Fallback also failed: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
Traceback (most recent call last):
  File "E:\innocribe\backend\app.py", line 1315, in generate_stream
    fallback_response = await Runner.run(
                        ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 358, in run
    return await runner.run(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 638, in run
    input_guardrail_results, turn_result = await asyncio.gather(
                                           ^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1550, in _run_single_turn
    new_response = await cls._get_new_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1807, in _get_new_response
    new_response = await model.get_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 68, in get_response
    response = await self._fetch_response(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 293, in _fetch_response
    ret = await self._get_client().chat.completions.create(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\resources\chat\completions\completions.py", line 2672, in create
    return await self._post(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1794, in post
    return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1594, in request
    raise self._make_status_error_from_response(err.response) from None
openai.BadRequestError: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 20:31:24,998 - app - INFO - Created new session for streaming chat: a4d39761-13ce-4ee8-9f84-e1ee10dee072
2026-01-18 20:31:25,005 - app - INFO - Stream request from 127.0.0.1: language=english, message=hi..., session_id=a4d39761-13ce-4ee8-9f84-e1ee10dee072
2026-01-18 20:31:29,413 - app - INFO - AGENT STREAM CALL: query_jobobike_bot_stream called with message='hi', language='english', session_id='a4d39761-13ce-4ee8-9f84-e1ee10dee072'
2026-01-18 20:31:30,471 - app - INFO - Retrieved 1 history messages for session a4d39761-13ce-4ee8-9f84-e1ee10dee072
2026-01-18 20:31:31,532 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:31:31,539 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:31:31,548 - app - WARNING - Streaming failed, falling back to non-streaming: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 20:31:31,747 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:31:31,801 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:31:31,807 - app - ERROR - Fallback also failed: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
Traceback (most recent call last):
  File "E:\innocribe\backend\app.py", line 1315, in generate_stream
    fallback_response = await Runner.run(
                        ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 358, in run
    return await runner.run(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 638, in run
    input_guardrail_results, turn_result = await asyncio.gather(
                                           ^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1550, in _run_single_turn
    new_response = await cls._get_new_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1807, in _get_new_response
    new_response = await model.get_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 68, in get_response
    response = await self._fetch_response(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 293, in _fetch_response
    ret = await self._get_client().chat.completions.create(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\resources\chat\completions\completions.py", line 2672, in create
    return await self._post(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1794, in post
    return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1594, in request
    raise self._make_status_error_from_response(err.response) from None
openai.BadRequestError: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 20:38:26,622 - app - INFO - Created new session for streaming chat: 6b424a99-042e-49b7-881f-eca0841456cc
2026-01-18 20:38:26,653 - app - INFO - Stream request from 127.0.0.1: language=english, message=Hi..., session_id=6b424a99-042e-49b7-881f-eca0841456cc
2026-01-18 20:38:28,063 - app - INFO - AGENT STREAM CALL: query_jobobike_bot_stream called with message='Hi', language='english', session_id='6b424a99-042e-49b7-881f-eca0841456cc'
2026-01-18 20:38:29,100 - app - INFO - Retrieved 1 history messages for session 6b424a99-042e-49b7-881f-eca0841456cc
2026-01-18 20:38:30,820 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:38:30,886 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:38:30,894 - app - WARNING - Streaming failed, falling back to non-streaming: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 20:38:31,119 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:38:31,168 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:38:31,172 - app - ERROR - Fallback also failed: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
Traceback (most recent call last):
  File "E:\innocribe\backend\app.py", line 1315, in generate_stream
    fallback_response = await Runner.run(
                        ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 358, in run
    return await runner.run(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 638, in run
    input_guardrail_results, turn_result = await asyncio.gather(
                                           ^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1550, in _run_single_turn
    new_response = await cls._get_new_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1807, in _get_new_response
    new_response = await model.get_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 68, in get_response
    response = await self._fetch_response(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 293, in _fetch_response
    ret = await self._get_client().chat.completions.create(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\resources\chat\completions\completions.py", line 2672, in create
    return await self._post(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1794, in post
    return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1594, in request
    raise self._make_status_error_from_response(err.response) from None
openai.BadRequestError: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 20:39:34,379 - app - INFO - Created new session for streaming chat: ea515441-9e89-4ce3-8da3-d4512acf1200
2026-01-18 20:39:34,406 - app - INFO - Stream request from 127.0.0.1: language=english, message=Hello..., session_id=ea515441-9e89-4ce3-8da3-d4512acf1200
2026-01-18 20:39:35,775 - app - INFO - AGENT STREAM CALL: query_jobobike_bot_stream called with message='Hello', language='english', session_id='ea515441-9e89-4ce3-8da3-d4512acf1200'
2026-01-18 20:39:36,624 - app - INFO - Retrieved 1 history messages for session ea515441-9e89-4ce3-8da3-d4512acf1200
2026-01-18 20:39:37,288 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:39:37,664 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:39:37,667 - app - WARNING - Streaming failed, falling back to non-streaming: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 20:39:37,867 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:39:37,931 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:39:37,934 - app - ERROR - Fallback also failed: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
Traceback (most recent call last):
  File "E:\innocribe\backend\app.py", line 1315, in generate_stream
    fallback_response = await Runner.run(
                        ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 358, in run
    return await runner.run(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 638, in run
    input_guardrail_results, turn_result = await asyncio.gather(
                                           ^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1550, in _run_single_turn
    new_response = await cls._get_new_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1807, in _get_new_response
    new_response = await model.get_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 68, in get_response
    response = await self._fetch_response(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 293, in _fetch_response
    ret = await self._get_client().chat.completions.create(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\resources\chat\completions\completions.py", line 2672, in create
    return await self._post(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1794, in post
    return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1594, in request
    raise self._make_status_error_from_response(err.response) from None
openai.BadRequestError: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 20:40:22,129 - app - INFO - Created new session: f573a6bc-9dee-43e3-b398-ac3f07033527
2026-01-18 20:40:44,192 - app - INFO - Chat request from 127.0.0.1: language=english, message=Hi..., session_id=f573a6bc-9dee-43e3-b398-ac3f07033527
2026-01-18 20:40:45,569 - app - INFO - AGENT CALL: query_jobobike_bot called with message='Hi', language='english', session_id='f573a6bc-9dee-43e3-b398-ac3f07033527'
2026-01-18 20:40:45,904 - app - INFO - Retrieved 1 history messages for session f573a6bc-9dee-43e3-b398-ac3f07033527
2026-01-18 20:40:46,359 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:40:46,365 - app - ERROR - Error in query_jobobike_bot: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
Traceback (most recent call last):
  File "E:\innocribe\backend\app.py", line 1394, in query_jobobike_bot
    response = await Runner.run(
               ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 358, in run
    return await runner.run(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 638, in run
    input_guardrail_results, turn_result = await asyncio.gather(
                                           ^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1550, in _run_single_turn
    new_response = await cls._get_new_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1807, in _get_new_response
    new_response = await model.get_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 68, in get_response
    response = await self._fetch_response(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 293, in _fetch_response
    ret = await self._get_client().chat.completions.create(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\resources\chat\completions\completions.py", line 2672, in create
    return await self._post(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1794, in post
    return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1594, in request
    raise self._make_status_error_from_response(err.response) from None
openai.BadRequestError: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 20:40:46,859 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:42:18,128 - app - INFO - CORS enabled for origins: ['http://localhost:3000', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2026-01-18 20:42:34,272 - app - INFO - Created new session for streaming chat: 5b6b170c-e14a-4f21-9aa4-55c858a7fff3
2026-01-18 20:42:34,272 - app - INFO - Stream request from 127.0.0.1: language=english, message=hi..., session_id=5b6b170c-e14a-4f21-9aa4-55c858a7fff3
2026-01-18 20:42:35,672 - app - INFO - AGENT STREAM CALL: query_jobobike_bot_stream called with message='hi', language='english', session_id='5b6b170c-e14a-4f21-9aa4-55c858a7fff3'
2026-01-18 20:42:35,974 - app - INFO - Retrieved 1 history messages for session 5b6b170c-e14a-4f21-9aa4-55c858a7fff3
2026-01-18 20:42:36,389 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:42:36,982 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:42:36,985 - app - WARNING - Streaming failed, falling back to non-streaming: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 20:42:37,179 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:42:37,231 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:42:37,234 - app - ERROR - Fallback also failed: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
Traceback (most recent call last):
  File "E:\innocribe\backend\app.py", line 1315, in generate_stream
    fallback_response = await Runner.run(
                        ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 358, in run
    return await runner.run(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 638, in run
    input_guardrail_results, turn_result = await asyncio.gather(
                                           ^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1550, in _run_single_turn
    new_response = await cls._get_new_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1807, in _get_new_response
    new_response = await model.get_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 68, in get_response
    response = await self._fetch_response(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 293, in _fetch_response
    ret = await self._get_client().chat.completions.create(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\resources\chat\completions\completions.py", line 2672, in create
    return await self._post(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1794, in post
    return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1594, in request
    raise self._make_status_error_from_response(err.response) from None
openai.BadRequestError: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 20:42:41,788 - app - INFO - Created new session for streaming chat: 999afbcc-711a-47c9-bd9f-90d74b94ef4d
2026-01-18 20:42:41,789 - app - INFO - Stream request from 127.0.0.1: language=english, message=Hi..., session_id=999afbcc-711a-47c9-bd9f-90d74b94ef4d
2026-01-18 20:42:43,196 - app - INFO - AGENT STREAM CALL: query_jobobike_bot_stream called with message='Hi', language='english', session_id='999afbcc-711a-47c9-bd9f-90d74b94ef4d'
2026-01-18 20:42:43,491 - app - INFO - CORS enabled for origins: ['http://localhost:3000', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2026-01-18 20:42:44,270 - app - INFO - Retrieved 1 history messages for session 999afbcc-711a-47c9-bd9f-90d74b94ef4d
2026-01-18 20:42:44,724 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:42:45,238 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:42:45,246 - app - WARNING - Streaming failed, falling back to non-streaming: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 20:42:45,454 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:42:45,532 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:42:45,541 - app - ERROR - Fallback also failed: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
Traceback (most recent call last):
  File "E:\innocribe\backend\app.py", line 1315, in generate_stream
    fallback_response = await Runner.run(
                        ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 358, in run
    return await runner.run(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 638, in run
    input_guardrail_results, turn_result = await asyncio.gather(
                                           ^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1550, in _run_single_turn
    new_response = await cls._get_new_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1807, in _get_new_response
    new_response = await model.get_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 68, in get_response
    response = await self._fetch_response(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 293, in _fetch_response
    ret = await self._get_client().chat.completions.create(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\resources\chat\completions\completions.py", line 2672, in create
    return await self._post(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1794, in post
    return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1594, in request
    raise self._make_status_error_from_response(err.response) from None
openai.BadRequestError: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 20:42:57,495 - app - INFO - Created new session for streaming chat: 0c87383b-53d5-4adc-be60-c8f44c14cdcb
2026-01-18 20:42:57,495 - app - INFO - Stream request from 127.0.0.1: language=english, message=hello..., session_id=0c87383b-53d5-4adc-be60-c8f44c14cdcb
2026-01-18 20:42:58,874 - app - INFO - AGENT STREAM CALL: query_jobobike_bot_stream called with message='hello', language='english', session_id='0c87383b-53d5-4adc-be60-c8f44c14cdcb'
2026-01-18 20:43:00,067 - app - INFO - Retrieved 1 history messages for session 0c87383b-53d5-4adc-be60-c8f44c14cdcb
2026-01-18 20:43:01,090 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:43:01,102 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:43:01,106 - app - WARNING - Streaming failed, falling back to non-streaming: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 20:43:01,299 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:43:01,345 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:43:01,349 - app - ERROR - Fallback also failed: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
Traceback (most recent call last):
  File "E:\innocribe\backend\app.py", line 1315, in generate_stream
    fallback_response = await Runner.run(
                        ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 358, in run
    return await runner.run(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 638, in run
    input_guardrail_results, turn_result = await asyncio.gather(
                                           ^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1550, in _run_single_turn
    new_response = await cls._get_new_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1807, in _get_new_response
    new_response = await model.get_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 68, in get_response
    response = await self._fetch_response(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 293, in _fetch_response
    ret = await self._get_client().chat.completions.create(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\resources\chat\completions\completions.py", line 2672, in create
    return await self._post(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1794, in post
    return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1594, in request
    raise self._make_status_error_from_response(err.response) from None
openai.BadRequestError: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 20:45:20,740 - app - INFO - CORS enabled for origins: ['http://localhost:3000', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2026-01-18 20:45:40,258 - app - INFO - Created new session for streaming chat: b7b17c31-5fbe-40c0-b08f-7fe5bf2c81a9
2026-01-18 20:45:40,261 - app - INFO - Stream request from 127.0.0.1: language=english, message=hi..., session_id=b7b17c31-5fbe-40c0-b08f-7fe5bf2c81a9
2026-01-18 20:45:41,635 - app - INFO - AGENT STREAM CALL: query_jobobike_bot_stream called with message='hi', language='english', session_id='b7b17c31-5fbe-40c0-b08f-7fe5bf2c81a9'
2026-01-18 20:45:41,920 - app - INFO - Retrieved 1 history messages for session b7b17c31-5fbe-40c0-b08f-7fe5bf2c81a9
2026-01-18 20:45:43,071 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:45:43,142 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:45:43,146 - app - WARNING - Streaming failed, falling back to non-streaming: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 20:45:43,342 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:45:43,392 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:45:43,398 - app - ERROR - Fallback also failed: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
Traceback (most recent call last):
  File "E:\innocribe\backend\app.py", line 1315, in generate_stream
    fallback_response = await Runner.run(
                        ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 358, in run
    return await runner.run(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 638, in run
    input_guardrail_results, turn_result = await asyncio.gather(
                                           ^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1550, in _run_single_turn
    new_response = await cls._get_new_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1807, in _get_new_response
    new_response = await model.get_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 68, in get_response
    response = await self._fetch_response(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 293, in _fetch_response
    ret = await self._get_client().chat.completions.create(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\resources\chat\completions\completions.py", line 2672, in create
    return await self._post(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1794, in post
    return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1594, in request
    raise self._make_status_error_from_response(err.response) from None
openai.BadRequestError: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 20:47:52,944 - app - INFO - CORS enabled for origins: ['http://localhost:3000', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2026-01-18 20:49:20,296 - app - INFO - CORS enabled for origins: ['http://localhost:3000', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2026-01-18 20:49:56,154 - app - INFO - Created new session for streaming chat: 50b0835b-5236-4014-a378-fbb948c385b6
2026-01-18 20:49:56,155 - app - INFO - Stream request from 127.0.0.1: language=english, message=Hi..., session_id=50b0835b-5236-4014-a378-fbb948c385b6
2026-01-18 20:49:57,531 - app - INFO - AGENT STREAM CALL: query_jobobike_bot_stream called with message='Hi', language='english', session_id='50b0835b-5236-4014-a378-fbb948c385b6'
2026-01-18 20:49:57,839 - app - INFO - Retrieved 1 history messages for session 50b0835b-5236-4014-a378-fbb948c385b6
2026-01-18 20:49:58,670 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:49:59,305 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:49:59,309 - app - WARNING - Streaming failed, falling back to non-streaming: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 20:49:59,486 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:49:59,538 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:49:59,543 - app - ERROR - Fallback also failed: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
Traceback (most recent call last):
  File "E:\innocribe\backend\app.py", line 1315, in generate_stream
    fallback_response = await Runner.run(
                        ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 358, in run
    return await runner.run(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 638, in run
    input_guardrail_results, turn_result = await asyncio.gather(
                                           ^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1550, in _run_single_turn
    new_response = await cls._get_new_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1807, in _get_new_response
    new_response = await model.get_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 68, in get_response
    response = await self._fetch_response(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 293, in _fetch_response
    ret = await self._get_client().chat.completions.create(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\resources\chat\completions\completions.py", line 2672, in create
    return await self._post(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1794, in post
    return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1594, in request
    raise self._make_status_error_from_response(err.response) from None
openai.BadRequestError: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 20:50:53,641 - app - INFO - Created new session: 37a5b841-315f-4fd1-a3b5-9e577231d8e5
2026-01-18 20:51:11,742 - app - INFO - Chat request from 127.0.0.1: language=english, message=hi..., session_id=37a5b841-315f-4fd1-a3b5-9e577231d8e5
2026-01-18 20:51:13,132 - app - INFO - AGENT CALL: query_jobobike_bot called with message='hi', language='english', session_id='37a5b841-315f-4fd1-a3b5-9e577231d8e5'
2026-01-18 20:51:13,434 - app - INFO - Retrieved 1 history messages for session 37a5b841-315f-4fd1-a3b5-9e577231d8e5
2026-01-18 20:51:13,818 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:51:13,892 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:51:13,896 - app - ERROR - Error in query_jobobike_bot: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
Traceback (most recent call last):
  File "E:\innocribe\backend\app.py", line 1394, in query_jobobike_bot
    # Create context with language preference and history
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 358, in run
    return await runner.run(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 638, in run
    input_guardrail_results, turn_result = await asyncio.gather(
                                           ^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1550, in _run_single_turn
    new_response = await cls._get_new_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1807, in _get_new_response
    new_response = await model.get_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 68, in get_response
    response = await self._fetch_response(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 293, in _fetch_response
    ret = await self._get_client().chat.completions.create(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\resources\chat\completions\completions.py", line 2672, in create
    return await self._post(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1794, in post
    return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1594, in request
    raise self._make_status_error_from_response(err.response) from None
openai.BadRequestError: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 20:53:46,492 - app - INFO - CORS enabled for origins: ['http://localhost:3000', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2026-01-18 20:54:59,818 - app - INFO - CORS enabled for origins: ['http://localhost:3000', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2026-01-18 20:56:07,836 - app - INFO - CORS enabled for origins: ['http://localhost:3000', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2026-01-18 20:59:44,588 - app - INFO - Created new session for streaming chat: 88f5136f-df6e-46f9-a790-bf7ca2e7a727
2026-01-18 20:59:44,603 - app - INFO - Stream request from 127.0.0.1: language=english, message=Hi3..., session_id=88f5136f-df6e-46f9-a790-bf7ca2e7a727
2026-01-18 20:59:46,001 - app - INFO - AGENT STREAM CALL: query_jobobike_bot_stream called with message='Hi3', language='english', session_id='88f5136f-df6e-46f9-a790-bf7ca2e7a727'
2026-01-18 20:59:46,336 - app - INFO - Retrieved 1 history messages for session 88f5136f-df6e-46f9-a790-bf7ca2e7a727
2026-01-18 20:59:47,278 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:59:47,340 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:59:47,343 - app - WARNING - Streaming failed, falling back to non-streaming: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 20:59:47,844 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:59:47,910 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 20:59:47,914 - app - ERROR - Fallback also failed: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
Traceback (most recent call last):
  File "E:\innocribe\backend\app.py", line 1315, in generate_stream
    try:
         
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 358, in run
    return await runner.run(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 638, in run
    input_guardrail_results, turn_result = await asyncio.gather(
                                           ^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1550, in _run_single_turn
    new_response = await cls._get_new_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1807, in _get_new_response
    new_response = await model.get_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 68, in get_response
    response = await self._fetch_response(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 293, in _fetch_response
    ret = await self._get_client().chat.completions.create(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\resources\chat\completions\completions.py", line 2672, in create
    return await self._post(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1794, in post
    return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1594, in request
    raise self._make_status_error_from_response(err.response) from None
openai.BadRequestError: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 21:03:35,624 - app - INFO - CORS enabled for origins: ['http://localhost:3000', 'http://localhost:3001', 'http://localhost:5173', 'http://localhost:5174', 'http://127.0.0.1:3000', 'http://127.0.0.1:3001', 'http://127.0.0.1:5173', 'http://127.0.0.1:5174', 'http://localhost:3000', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2026-01-18 21:05:37,647 - app - INFO - CORS enabled for origins: ['http://localhost:3000', 'http://localhost:3001', 'http://localhost:5173', 'http://localhost:5174', 'http://127.0.0.1:3000', 'http://127.0.0.1:3001', 'http://127.0.0.1:5173', 'http://127.0.0.1:5174', 'http://localhost:3000', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2026-01-18 21:06:01,545 - app - INFO - Created new session for streaming chat: c4509fce-0bd6-48d4-a126-f512ce675d46
2026-01-18 21:06:01,552 - app - INFO - Stream request from 127.0.0.1: language=english, message=Hello..., session_id=c4509fce-0bd6-48d4-a126-f512ce675d46
2026-01-18 21:06:02,990 - app - INFO - AGENT STREAM CALL: query_jobobike_bot_stream called with message='Hello', language='english', session_id='c4509fce-0bd6-48d4-a126-f512ce675d46'
2026-01-18 21:06:03,297 - app - INFO - Retrieved 1 history messages for session c4509fce-0bd6-48d4-a126-f512ce675d46
2026-01-18 21:06:04,150 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 21:06:04,647 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 21:06:04,678 - app - WARNING - Streaming failed, falling back to non-streaming: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 21:06:04,879 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 21:06:04,919 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 21:06:04,922 - app - ERROR - Fallback also failed: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
Traceback (most recent call last):
  File "E:\innocribe\backend\app.py", line 1315, in generate_stream
    # Add complete response to session history
                                ^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 358, in run
    return await runner.run(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 638, in run
    input_guardrail_results, turn_result = await asyncio.gather(
                                           ^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1550, in _run_single_turn
    new_response = await cls._get_new_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1807, in _get_new_response
    new_response = await model.get_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 68, in get_response
    response = await self._fetch_response(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 293, in _fetch_response
    ret = await self._get_client().chat.completions.create(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\resources\chat\completions\completions.py", line 2672, in create
    return await self._post(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1794, in post
    return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1594, in request
    raise self._make_status_error_from_response(err.response) from None
openai.BadRequestError: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 21:06:16,052 - app - INFO - Created new session for streaming chat: bbdc1919-3a7b-4fc2-96c5-44f2b14a2154
2026-01-18 21:06:16,052 - app - INFO - Stream request from 127.0.0.1: language=english, message=jobobike..., session_id=bbdc1919-3a7b-4fc2-96c5-44f2b14a2154
2026-01-18 21:06:18,263 - app - INFO - AGENT STREAM CALL: query_jobobike_bot_stream called with message='jobobike', language='english', session_id='bbdc1919-3a7b-4fc2-96c5-44f2b14a2154'
2026-01-18 21:06:19,282 - app - INFO - Retrieved 1 history messages for session bbdc1919-3a7b-4fc2-96c5-44f2b14a2154
2026-01-18 21:06:20,279 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 21:06:20,310 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 21:06:20,315 - app - WARNING - Streaming failed, falling back to non-streaming: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 21:06:20,512 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 21:06:20,573 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 21:06:20,577 - app - ERROR - Fallback also failed: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
Traceback (most recent call last):
  File "E:\innocribe\backend\app.py", line 1315, in generate_stream
    # Add complete response to session history
                                ^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 358, in run
    return await runner.run(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 638, in run
    input_guardrail_results, turn_result = await asyncio.gather(
                                           ^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1550, in _run_single_turn
    new_response = await cls._get_new_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1807, in _get_new_response
    new_response = await model.get_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 68, in get_response
    response = await self._fetch_response(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 293, in _fetch_response
    ret = await self._get_client().chat.completions.create(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\resources\chat\completions\completions.py", line 2672, in create
    return await self._post(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1794, in post
    return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1594, in request
    raise self._make_status_error_from_response(err.response) from None
openai.BadRequestError: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 21:11:16,005 - app - INFO - Chat request from 127.0.0.1: language=english, message=hi..., session_id=37a5b841-315f-4fd1-a3b5-9e577231d8e5
2026-01-18 21:11:18,470 - app - INFO - AGENT CALL: query_jobobike_bot called with message='hi', language='english', session_id='37a5b841-315f-4fd1-a3b5-9e577231d8e5'
2026-01-18 21:11:19,532 - app - INFO - Retrieved 2 history messages for session 37a5b841-315f-4fd1-a3b5-9e577231d8e5
2026-01-18 21:11:21,594 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 21:11:21,652 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 21:11:21,655 - app - ERROR - Error in query_jobobike_bot: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
Traceback (most recent call last):
  File "E:\innocribe\backend\app.py", line 1394, in query_jobobike_bot
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 358, in run
    return await runner.run(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 638, in run
    input_guardrail_results, turn_result = await asyncio.gather(
                                           ^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1550, in _run_single_turn
    new_response = await cls._get_new_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1807, in _get_new_response
    new_response = await model.get_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 68, in get_response
    response = await self._fetch_response(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 293, in _fetch_response
    ret = await self._get_client().chat.completions.create(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\resources\chat\completions\completions.py", line 2672, in create
    return await self._post(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1794, in post
    return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1594, in request
    raise self._make_status_error_from_response(err.response) from None
openai.BadRequestError: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 21:12:02,001 - app - INFO - Stream request from 127.0.0.1: language=english, message=Hi..., session_id=37a5b841-315f-4fd1-a3b5-9e577231d8e5
2026-01-18 21:12:03,386 - app - INFO - AGENT STREAM CALL: query_jobobike_bot_stream called with message='Hi', language='english', session_id='37a5b841-315f-4fd1-a3b5-9e577231d8e5'
2026-01-18 21:12:03,682 - app - INFO - Retrieved 3 history messages for session 37a5b841-315f-4fd1-a3b5-9e577231d8e5
2026-01-18 21:12:04,182 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 21:12:04,653 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 21:12:04,658 - app - WARNING - Streaming failed, falling back to non-streaming: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 21:12:04,850 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 21:12:04,936 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 21:12:04,938 - app - ERROR - Fallback also failed: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
Traceback (most recent call last):
  File "E:\innocribe\backend\app.py", line 1315, in generate_stream
    # Add complete response to session history
                                ^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 358, in run
    return await runner.run(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 638, in run
    input_guardrail_results, turn_result = await asyncio.gather(
                                           ^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1550, in _run_single_turn
    new_response = await cls._get_new_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1807, in _get_new_response
    new_response = await model.get_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 68, in get_response
    response = await self._fetch_response(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 293, in _fetch_response
    ret = await self._get_client().chat.completions.create(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\resources\chat\completions\completions.py", line 2672, in create
    return await self._post(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1794, in post
    return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1594, in request
    raise self._make_status_error_from_response(err.response) from None
openai.BadRequestError: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 21:12:28,427 - app - INFO - Created new session for streaming chat: d58cfdc1-3d81-4d5a-ad7b-a754aa017b81
2026-01-18 21:12:28,428 - app - INFO - Stream request from 127.0.0.1: language=english, message=Hi..., session_id=d58cfdc1-3d81-4d5a-ad7b-a754aa017b81
2026-01-18 21:12:30,006 - app - INFO - AGENT STREAM CALL: query_jobobike_bot_stream called with message='Hi', language='english', session_id='d58cfdc1-3d81-4d5a-ad7b-a754aa017b81'
2026-01-18 21:12:30,853 - app - INFO - Retrieved 1 history messages for session d58cfdc1-3d81-4d5a-ad7b-a754aa017b81
2026-01-18 21:12:31,308 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 21:12:31,934 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 21:12:31,940 - app - WARNING - Streaming failed, falling back to non-streaming: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 21:12:32,135 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 21:12:32,196 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 21:12:32,200 - app - ERROR - Fallback also failed: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
Traceback (most recent call last):
  File "E:\innocribe\backend\app.py", line 1315, in generate_stream
    # Add complete response to session history
                                ^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 358, in run
    return await runner.run(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 638, in run
    input_guardrail_results, turn_result = await asyncio.gather(
                                           ^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1550, in _run_single_turn
    new_response = await cls._get_new_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1807, in _get_new_response
    new_response = await model.get_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 68, in get_response
    response = await self._fetch_response(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 293, in _fetch_response
    ret = await self._get_client().chat.completions.create(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\resources\chat\completions\completions.py", line 2672, in create
    return await self._post(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1794, in post
    return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1594, in request
    raise self._make_status_error_from_response(err.response) from None
openai.BadRequestError: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 21:15:33,645 - app - INFO - CORS enabled for origins: ['http://localhost:3000', 'http://localhost:3001', 'http://localhost:5173', 'http://localhost:5174', 'http://127.0.0.1:3000', 'http://127.0.0.1:3001', 'http://127.0.0.1:5173', 'http://127.0.0.1:5174', 'http://localhost:3000', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2026-01-18 21:16:02,977 - app - INFO - CORS enabled for origins: ['http://localhost:3000', 'http://localhost:3001', 'http://localhost:5173', 'http://localhost:5174', 'http://127.0.0.1:3000', 'http://127.0.0.1:3001', 'http://127.0.0.1:5173', 'http://127.0.0.1:5174', 'http://localhost:3000', 'http://localhost:8000', 'http://0.0.0.0:7860', 'http://localhost:7860']
2026-01-18 21:16:17,086 - app - INFO - Created new session: b02e9cbb-5b77-49d6-9c62-9071a7c0d61f
2026-01-18 21:16:40,695 - app - INFO - Stream request from 127.0.0.1: language=english, message=hi..., session_id=b02e9cbb-5b77-49d6-9c62-9071a7c0d61f
2026-01-18 21:16:42,076 - app - INFO - AGENT STREAM CALL: query_jobobike_bot_stream called with message='hi', language='english', session_id='b02e9cbb-5b77-49d6-9c62-9071a7c0d61f'
2026-01-18 21:16:42,371 - app - INFO - Retrieved 1 history messages for session b02e9cbb-5b77-49d6-9c62-9071a7c0d61f
2026-01-18 21:16:43,592 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 21:16:43,636 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 21:16:43,640 - app - WARNING - Streaming failed, falling back to non-streaming: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 21:16:43,835 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 21:16:43,877 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 21:16:43,881 - app - ERROR - Fallback also failed: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
Traceback (most recent call last):
  File "E:\innocribe\backend\app.py", line 1315, in generate_stream
    # Add complete response to session history
                                ^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 358, in run
    return await runner.run(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 638, in run
    input_guardrail_results, turn_result = await asyncio.gather(
                                           ^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1550, in _run_single_turn
    new_response = await cls._get_new_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1807, in _get_new_response
    new_response = await model.get_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 68, in get_response
    response = await self._fetch_response(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 293, in _fetch_response
    ret = await self._get_client().chat.completions.create(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\resources\chat\completions\completions.py", line 2672, in create
    return await self._post(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1794, in post
    return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1594, in request
    raise self._make_status_error_from_response(err.response) from None
openai.BadRequestError: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 21:17:04,148 - app - INFO - Created new session for streaming chat: ca1d790d-2992-421d-ba0c-1b3253e5d346
2026-01-18 21:17:04,148 - app - INFO - Stream request from 127.0.0.1: language=english, message=hi..., session_id=ca1d790d-2992-421d-ba0c-1b3253e5d346
2026-01-18 21:17:05,564 - app - INFO - AGENT STREAM CALL: query_jobobike_bot_stream called with message='hi', language='english', session_id='ca1d790d-2992-421d-ba0c-1b3253e5d346'
2026-01-18 21:17:06,890 - app - INFO - Retrieved 1 history messages for session ca1d790d-2992-421d-ba0c-1b3253e5d346
2026-01-18 21:17:08,096 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 21:17:08,192 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 21:17:08,196 - app - WARNING - Streaming failed, falling back to non-streaming: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 21:17:08,392 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 21:17:08,444 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 21:17:08,447 - app - ERROR - Fallback also failed: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
Traceback (most recent call last):
  File "E:\innocribe\backend\app.py", line 1315, in generate_stream
    # Add complete response to session history
                                ^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 358, in run
    return await runner.run(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 638, in run
    input_guardrail_results, turn_result = await asyncio.gather(
                                           ^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1550, in _run_single_turn
    new_response = await cls._get_new_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1807, in _get_new_response
    new_response = await model.get_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 68, in get_response
    response = await self._fetch_response(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 293, in _fetch_response
    ret = await self._get_client().chat.completions.create(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\resources\chat\completions\completions.py", line 2672, in create
    return await self._post(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1794, in post
    return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1594, in request
    raise self._make_status_error_from_response(err.response) from None
openai.BadRequestError: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 21:19:46,272 - app - INFO - Created new session: 9574c701-ebd8-4545-a768-f523366a6788
2026-01-18 21:20:06,457 - app - INFO - Stream request from 127.0.0.1: language=english, message=hi..., session_id=9574c701-ebd8-4545-a768-f523366a6788
2026-01-18 21:20:08,069 - app - INFO - AGENT STREAM CALL: query_jobobike_bot_stream called with message='hi', language='english', session_id='9574c701-ebd8-4545-a768-f523366a6788'
2026-01-18 21:20:09,115 - app - INFO - Retrieved 1 history messages for session 9574c701-ebd8-4545-a768-f523366a6788
2026-01-18 21:20:11,329 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 21:20:11,840 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 21:20:11,894 - app - WARNING - Streaming failed, falling back to non-streaming: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
2026-01-18 21:20:12,090 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 21:20:12,136 - httpx - INFO - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/openai/chat/completions "HTTP/1.1 400 Bad Request"
2026-01-18 21:20:12,141 - app - ERROR - Fallback also failed: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]
Traceback (most recent call last):
  File "E:\innocribe\backend\app.py", line 1315, in generate_stream
    # Add complete response to session history
                                ^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 358, in run
    return await runner.run(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 638, in run
    input_guardrail_results, turn_result = await asyncio.gather(
                                           ^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1550, in _run_single_turn
    new_response = await cls._get_new_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\run.py", line 1807, in _get_new_response
    new_response = await model.get_response(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 68, in get_response
    response = await self._fetch_response(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\agents\models\openai_chatcompletions.py", line 293, in _fetch_response
    ret = await self._get_client().chat.completions.create(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\resources\chat\completions\completions.py", line 2672, in create
    return await self._post(
           ^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1794, in post
    return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\innocribe\backend\.venv\Lib\site-packages\openai\_base_client.py", line 1594, in request
    raise self._make_status_error_from_response(err.response) from None
openai.BadRequestError: Error code: 400 - [{'error': {'code': 400, 'message': 'API key expired. Please renew the API key.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}, {'@type': 'type.googleapis.com/google.rpc.LocalizedMessage', 'locale': 'en-US', 'message': 'API key expired. Please renew the API key.'}]}}]