superbrain-server 1.0.15 → 1.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/package.json +1 -1
  2. package/payload/analyzers/__pycache__/__init__.cpython-311.pyc +0 -0
  3. package/payload/analyzers/__pycache__/audio_transcribe.cpython-311.pyc +0 -0
  4. package/payload/analyzers/__pycache__/caption.cpython-311.pyc +0 -0
  5. package/payload/analyzers/__pycache__/music_identifier.cpython-311.pyc +0 -0
  6. package/payload/analyzers/__pycache__/text_analyzer.cpython-311.pyc +0 -0
  7. package/payload/analyzers/__pycache__/visual_analyze.cpython-311.pyc +0 -0
  8. package/payload/analyzers/__pycache__/webpage_analyzer.cpython-311.pyc +0 -0
  9. package/payload/analyzers/__pycache__/youtube_analyzer.cpython-311.pyc +0 -0
  10. package/payload/api.py +1 -0
  11. package/payload/config/model_rankings.json +250 -20
  12. package/payload/config/openrouter_free_models.json +519 -482
  13. package/payload/core/__pycache__/__init__.cpython-311.pyc +0 -0
  14. package/payload/core/__pycache__/category_manager.cpython-311.pyc +0 -0
  15. package/payload/core/__pycache__/database.cpython-311.pyc +0 -0
  16. package/payload/core/__pycache__/link_checker.cpython-311.pyc +0 -0
  17. package/payload/core/__pycache__/model_router.cpython-311.pyc +0 -0
  18. package/payload/core/model_router.py +7 -10
  19. package/payload/instagram/__pycache__/__init__.cpython-311.pyc +0 -0
  20. package/payload/instagram/__pycache__/instagram_downloader.cpython-311.pyc +0 -0
  21. package/payload/instagram/__pycache__/instagram_login.cpython-311.pyc +0 -0
  22. package/payload/start.py +188 -189
  23. package/payload/temp/Random cinematic shots/Random cinematic shots..mp4 +0 -0
  24. package/payload/temp/Random cinematic shots/Random cinematic shots._audio.mp3 +0 -0
  25. package/payload/temp/Random cinematic shots/Random cinematic shots._thumbnail.jpg +0 -0
  26. package/payload/temp/Random cinematic shots/info.txt +18 -0
  27. package/payload/temp/Random cinematic shots._1/Random cinematic shots..mp4 +0 -0
  28. package/payload/temp/Random cinematic shots._1/Random cinematic shots._audio.mp3 +0 -0
  29. package/payload/temp/Random cinematic shots._1/Random cinematic shots._thumbnail.jpg +0 -0
  30. package/payload/temp/Random cinematic shots._1/info.txt +18 -0
  31. package/payload/temp/Random cinematic shots._2/Random cinematic shots..mp4 +0 -0
  32. package/payload/temp/Random cinematic shots._2/Random cinematic shots._audio.mp3 +0 -0
  33. package/payload/temp/Random cinematic shots._2/Random cinematic shots._thumbnail.jpg +0 -0
  34. package/payload/temp/Random cinematic shots._2/info.txt +18 -0
  35. package/payload/test_backend.py +241 -0
  36. package/payload/tests/__init__.py +0 -0
  37. package/payload/tests/__pycache__/__init__.cpython-311.pyc +0 -0
  38. package/payload/tests/__pycache__/test_api.cpython-311.pyc +0 -0
  39. package/payload/tests/__pycache__/test_db.cpython-311.pyc +0 -0
  40. package/payload/tests/__pycache__/test_sync_code.cpython-311.pyc +0 -0
  41. package/payload/tests/test_api.py +17 -0
  42. package/payload/tests/test_db.py +22 -0
  43. package/payload/tests/test_sync_code.py +65 -0
  44. package/payload/utils/__pycache__/__init__.cpython-311.pyc +0 -0
  45. package/payload/utils/__pycache__/db_stats.cpython-311.pyc +0 -0
  46. package/payload/utils/__pycache__/manage_token.cpython-311.pyc +0 -0
  47. package/payload/__pycache__/api.cpython-311.pyc +0 -0
  48. package/payload/__pycache__/main.cpython-311.pyc +0 -0
  49. package/payload/__pycache__/start.cpython-311.pyc +0 -0
  50. package/payload/config/.api_keys +0 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "superbrain-server",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "description": "1-Line Auto-Installer and Server Execution wrapper for SuperBrain",
5
5
  "main": "index.js",
6
6
  "bin": {
package/payload/api.py CHANGED
@@ -217,6 +217,7 @@ def queue_worker():
217
217
  stdout=subprocess.PIPE,
218
218
  stderr=subprocess.PIPE,
219
219
  text=True,
220
+ encoding="utf-8",
220
221
  bufsize=1
221
222
  )
222
223
 
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "groq_gpt_oss_20b": {
3
3
  "key": "groq_gpt_oss_20b",
4
- "avg_response_s": 1.325513668372554,
5
- "success_count": 50,
4
+ "avg_response_s": 2.0711580976104056,
5
+ "success_count": 55,
6
6
  "fail_count": 1,
7
7
  "down_until": null,
8
- "last_used": "2026-04-06T17:49:12.415601",
8
+ "last_used": "2026-04-07T19:17:14.551082",
9
9
  "last_error": null,
10
10
  "base_priority": 0.5
11
11
  },
@@ -323,8 +323,8 @@
323
323
  "key": "gemini_25_flash_lite_vision",
324
324
  "avg_response_s": 6.709401964075168,
325
325
  "success_count": 14,
326
- "fail_count": 10,
327
- "down_until": "2026-04-06T17:54:03.900203",
326
+ "fail_count": 11,
327
+ "down_until": "2026-04-07T19:21:49.576562",
328
328
  "last_used": "2026-02-24T09:45:09.831171",
329
329
  "last_error": "No module named 'google.generativeai'",
330
330
  "base_priority": 1.5
@@ -333,8 +333,8 @@
333
333
  "key": "gemini_25_pro_vision",
334
334
  "avg_response_s": null,
335
335
  "success_count": 0,
336
- "fail_count": 13,
337
- "down_until": "2026-04-06T17:54:03.898186",
336
+ "fail_count": 14,
337
+ "down_until": "2026-04-07T19:21:49.574579",
338
338
  "last_used": null,
339
339
  "last_error": "No module named 'google.generativeai'",
340
340
  "base_priority": 2
@@ -353,8 +353,8 @@
353
353
  "key": "gemini_3_pro_vision",
354
354
  "avg_response_s": null,
355
355
  "success_count": 0,
356
- "fail_count": 12,
357
- "down_until": "2026-04-06T17:54:03.899185",
356
+ "fail_count": 13,
357
+ "down_until": "2026-04-07T19:21:49.575578",
358
358
  "last_used": null,
359
359
  "last_error": "No module named 'google.generativeai'",
360
360
  "base_priority": 3
@@ -363,8 +363,8 @@
363
363
  "key": "gemini_31_pro_vision",
364
364
  "avg_response_s": null,
365
365
  "success_count": 0,
366
- "fail_count": 11,
367
- "down_until": "2026-04-06T17:54:03.901209",
366
+ "fail_count": 12,
367
+ "down_until": "2026-04-07T19:21:49.577584",
368
368
  "last_used": null,
369
369
  "last_error": "No module named 'google.generativeai'",
370
370
  "base_priority": 3.5
@@ -373,8 +373,8 @@
373
373
  "key": "gemini_20_flash_vision",
374
374
  "avg_response_s": null,
375
375
  "success_count": 0,
376
- "fail_count": 10,
377
- "down_until": "2026-04-06T17:54:03.901209",
376
+ "fail_count": 11,
377
+ "down_until": "2026-04-07T19:21:49.578193",
378
378
  "last_used": null,
379
379
  "last_error": "No module named 'google.generativeai'",
380
380
  "base_priority": 4
@@ -383,8 +383,8 @@
383
383
  "key": "gemini_20_flash_lite_vision",
384
384
  "avg_response_s": null,
385
385
  "success_count": 0,
386
- "fail_count": 10,
387
- "down_until": "2026-04-06T17:54:03.902186",
386
+ "fail_count": 11,
387
+ "down_until": "2026-04-07T19:21:49.578884",
388
388
  "last_used": null,
389
389
  "last_error": "No module named 'google.generativeai'",
390
390
  "base_priority": 4.5
@@ -393,19 +393,19 @@
393
393
  "key": "gemini_15_flash_vision",
394
394
  "avg_response_s": null,
395
395
  "success_count": 0,
396
- "fail_count": 10,
397
- "down_until": "2026-04-06T17:54:03.903185",
396
+ "fail_count": 11,
397
+ "down_until": "2026-04-07T19:21:49.579924",
398
398
  "last_used": null,
399
399
  "last_error": "No module named 'google.generativeai'",
400
400
  "base_priority": 4.8
401
401
  },
402
402
  "groq_llama4_scout_vision": {
403
403
  "key": "groq_llama4_scout_vision",
404
- "avg_response_s": 1.9110158948201241,
405
- "success_count": 30,
404
+ "avg_response_s": 1.616974180643797,
405
+ "success_count": 34,
406
406
  "fail_count": 0,
407
407
  "down_until": null,
408
- "last_used": "2026-04-06T17:49:07.508119",
408
+ "last_used": "2026-04-07T19:17:07.761951",
409
409
  "last_error": null,
410
410
  "base_priority": 5
411
411
  },
@@ -488,5 +488,235 @@
488
488
  "last_used": null,
489
489
  "last_error": "No module named 'ollama'",
490
490
  "base_priority": 100
491
+ },
492
+ "dyn_qwen_qwen3_6-plus_free": {
493
+ "key": "dyn_qwen_qwen3_6-plus_free",
494
+ "avg_response_s": null,
495
+ "success_count": 0,
496
+ "fail_count": 0,
497
+ "down_until": null,
498
+ "last_used": null,
499
+ "last_error": null,
500
+ "base_priority": 20
501
+ },
502
+ "dyn_v_qwen_qwen3_6-plus_free": {
503
+ "key": "dyn_v_qwen_qwen3_6-plus_free",
504
+ "avg_response_s": null,
505
+ "success_count": 0,
506
+ "fail_count": 0,
507
+ "down_until": null,
508
+ "last_used": null,
509
+ "last_error": null,
510
+ "base_priority": 20
511
+ },
512
+ "dyn_google_lyria-3-pro-preview": {
513
+ "key": "dyn_google_lyria-3-pro-preview",
514
+ "avg_response_s": null,
515
+ "success_count": 0,
516
+ "fail_count": 0,
517
+ "down_until": null,
518
+ "last_used": null,
519
+ "last_error": null,
520
+ "base_priority": 21
521
+ },
522
+ "dyn_v_google_lyria-3-pro-preview": {
523
+ "key": "dyn_v_google_lyria-3-pro-preview",
524
+ "avg_response_s": null,
525
+ "success_count": 0,
526
+ "fail_count": 0,
527
+ "down_until": null,
528
+ "last_used": null,
529
+ "last_error": null,
530
+ "base_priority": 21
531
+ },
532
+ "dyn_google_lyria-3-clip-preview": {
533
+ "key": "dyn_google_lyria-3-clip-preview",
534
+ "avg_response_s": null,
535
+ "success_count": 0,
536
+ "fail_count": 0,
537
+ "down_until": null,
538
+ "last_used": null,
539
+ "last_error": null,
540
+ "base_priority": 22
541
+ },
542
+ "dyn_v_google_lyria-3-clip-preview": {
543
+ "key": "dyn_v_google_lyria-3-clip-preview",
544
+ "avg_response_s": null,
545
+ "success_count": 0,
546
+ "fail_count": 0,
547
+ "down_until": null,
548
+ "last_used": null,
549
+ "last_error": null,
550
+ "base_priority": 22
551
+ },
552
+ "dyn_nvidia_nemotron-3-super-120b-a12b_free": {
553
+ "key": "dyn_nvidia_nemotron-3-super-120b-a12b_free",
554
+ "avg_response_s": null,
555
+ "success_count": 0,
556
+ "fail_count": 0,
557
+ "down_until": null,
558
+ "last_used": null,
559
+ "last_error": null,
560
+ "base_priority": 23
561
+ },
562
+ "dyn_openrouter_free": {
563
+ "key": "dyn_openrouter_free",
564
+ "avg_response_s": null,
565
+ "success_count": 0,
566
+ "fail_count": 0,
567
+ "down_until": null,
568
+ "last_used": null,
569
+ "last_error": null,
570
+ "base_priority": 24
571
+ },
572
+ "dyn_v_openrouter_free": {
573
+ "key": "dyn_v_openrouter_free",
574
+ "avg_response_s": null,
575
+ "success_count": 0,
576
+ "fail_count": 0,
577
+ "down_until": null,
578
+ "last_used": null,
579
+ "last_error": null,
580
+ "base_priority": 24
581
+ },
582
+ "dyn_arcee-ai_trinity-mini_free": {
583
+ "key": "dyn_arcee-ai_trinity-mini_free",
584
+ "avg_response_s": null,
585
+ "success_count": 0,
586
+ "fail_count": 0,
587
+ "down_until": null,
588
+ "last_used": null,
589
+ "last_error": null,
590
+ "base_priority": 28
591
+ },
592
+ "dyn_nvidia_nemotron-nano-9b-v2_free": {
593
+ "key": "dyn_nvidia_nemotron-nano-9b-v2_free",
594
+ "avg_response_s": null,
595
+ "success_count": 0,
596
+ "fail_count": 0,
597
+ "down_until": null,
598
+ "last_used": null,
599
+ "last_error": null,
600
+ "base_priority": 29
601
+ },
602
+ "dyn_minimax_minimax-m2_5_free": {
603
+ "key": "dyn_minimax_minimax-m2_5_free",
604
+ "avg_response_s": null,
605
+ "success_count": 0,
606
+ "fail_count": 0,
607
+ "down_until": null,
608
+ "last_used": null,
609
+ "last_error": null,
610
+ "base_priority": 30
611
+ },
612
+ "dyn_qwen_qwen3-coder_free": {
613
+ "key": "dyn_qwen_qwen3-coder_free",
614
+ "avg_response_s": null,
615
+ "success_count": 0,
616
+ "fail_count": 0,
617
+ "down_until": null,
618
+ "last_used": null,
619
+ "last_error": null,
620
+ "base_priority": 31
621
+ },
622
+ "dyn_liquid_lfm-2_5-1_2b-thinking_free": {
623
+ "key": "dyn_liquid_lfm-2_5-1_2b-thinking_free",
624
+ "avg_response_s": null,
625
+ "success_count": 0,
626
+ "fail_count": 0,
627
+ "down_until": null,
628
+ "last_used": null,
629
+ "last_error": null,
630
+ "base_priority": 32
631
+ },
632
+ "dyn_liquid_lfm-2_5-1_2b-instruct_free": {
633
+ "key": "dyn_liquid_lfm-2_5-1_2b-instruct_free",
634
+ "avg_response_s": null,
635
+ "success_count": 0,
636
+ "fail_count": 0,
637
+ "down_until": null,
638
+ "last_used": null,
639
+ "last_error": null,
640
+ "base_priority": 33
641
+ },
642
+ "dyn_arcee-ai_trinity-large-preview_free": {
643
+ "key": "dyn_arcee-ai_trinity-large-preview_free",
644
+ "avg_response_s": null,
645
+ "success_count": 0,
646
+ "fail_count": 0,
647
+ "down_until": null,
648
+ "last_used": null,
649
+ "last_error": null,
650
+ "base_priority": 35
651
+ },
652
+ "dyn_meta-llama_llama-3_2-3b-instruct_free": {
653
+ "key": "dyn_meta-llama_llama-3_2-3b-instruct_free",
654
+ "avg_response_s": null,
655
+ "success_count": 0,
656
+ "fail_count": 0,
657
+ "down_until": null,
658
+ "last_used": null,
659
+ "last_error": null,
660
+ "base_priority": 39
661
+ },
662
+ "dyn_google_gemma-3n-e2b-it_free": {
663
+ "key": "dyn_google_gemma-3n-e2b-it_free",
664
+ "avg_response_s": null,
665
+ "success_count": 0,
666
+ "fail_count": 0,
667
+ "down_until": null,
668
+ "last_used": null,
669
+ "last_error": null,
670
+ "base_priority": 43
671
+ },
672
+ "dyn_google_gemma-3-4b-it_free": {
673
+ "key": "dyn_google_gemma-3-4b-it_free",
674
+ "avg_response_s": null,
675
+ "success_count": 0,
676
+ "fail_count": 0,
677
+ "down_until": null,
678
+ "last_used": null,
679
+ "last_error": null,
680
+ "base_priority": 44
681
+ },
682
+ "dyn_v_google_gemma-3-4b-it_free": {
683
+ "key": "dyn_v_google_gemma-3-4b-it_free",
684
+ "avg_response_s": null,
685
+ "success_count": 0,
686
+ "fail_count": 0,
687
+ "down_until": null,
688
+ "last_used": null,
689
+ "last_error": null,
690
+ "base_priority": 44
691
+ },
692
+ "dyn_google_gemma-3n-e4b-it_free": {
693
+ "key": "dyn_google_gemma-3n-e4b-it_free",
694
+ "avg_response_s": null,
695
+ "success_count": 0,
696
+ "fail_count": 0,
697
+ "down_until": null,
698
+ "last_used": null,
699
+ "last_error": null,
700
+ "base_priority": 45
701
+ },
702
+ "dyn_google_gemma-3-12b-it_free": {
703
+ "key": "dyn_google_gemma-3-12b-it_free",
704
+ "avg_response_s": null,
705
+ "success_count": 0,
706
+ "fail_count": 0,
707
+ "down_until": null,
708
+ "last_used": null,
709
+ "last_error": null,
710
+ "base_priority": 46
711
+ },
712
+ "dyn_v_google_gemma-3-12b-it_free": {
713
+ "key": "dyn_v_google_gemma-3-12b-it_free",
714
+ "avg_response_s": null,
715
+ "success_count": 0,
716
+ "fail_count": 0,
717
+ "down_until": null,
718
+ "last_used": null,
719
+ "last_error": null,
720
+ "base_priority": 46
491
721
  }
492
722
  }