pygpt-net 2.6.43__py3-none-any.whl → 2.6.45__py3-none-any.whl

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 (35) hide show
  1. pygpt_net/CHANGELOG.txt +13 -0
  2. pygpt_net/__init__.py +3 -3
  3. pygpt_net/app.py +1 -1
  4. pygpt_net/controller/ctx/ctx.py +6 -0
  5. pygpt_net/controller/debug/debug.py +7 -19
  6. pygpt_net/controller/debug/fixtures.py +103 -0
  7. pygpt_net/core/debug/console/console.py +2 -1
  8. pygpt_net/core/debug/debug.py +1 -1
  9. pygpt_net/core/fixtures/stream/__init__.py +0 -0
  10. pygpt_net/{provider/api/fake → core/fixtures/stream}/generator.py +2 -3
  11. pygpt_net/core/render/web/body.py +294 -23
  12. pygpt_net/core/render/web/helpers.py +26 -0
  13. pygpt_net/core/render/web/renderer.py +457 -704
  14. pygpt_net/data/config/config.json +10 -6
  15. pygpt_net/data/config/models.json +3 -3
  16. pygpt_net/data/config/settings.json +59 -19
  17. pygpt_net/data/fixtures/fake_stream.txt +5733 -0
  18. pygpt_net/data/js/app.js +2617 -1315
  19. pygpt_net/data/locale/locale.en.ini +12 -5
  20. pygpt_net/js_rc.py +14272 -10602
  21. pygpt_net/provider/api/openai/__init__.py +4 -12
  22. pygpt_net/provider/core/config/patch.py +14 -1
  23. pygpt_net/ui/base/context_menu.py +3 -2
  24. pygpt_net/ui/layout/chat/output.py +1 -1
  25. pygpt_net/ui/layout/ctx/ctx_list.py +3 -3
  26. pygpt_net/ui/menu/debug.py +36 -23
  27. pygpt_net/ui/widget/lists/context.py +233 -51
  28. pygpt_net/ui/widget/textarea/web.py +4 -4
  29. pygpt_net/utils.py +3 -2
  30. {pygpt_net-2.6.43.dist-info → pygpt_net-2.6.45.dist-info}/METADATA +72 -14
  31. {pygpt_net-2.6.43.dist-info → pygpt_net-2.6.45.dist-info}/RECORD +35 -32
  32. /pygpt_net/{provider/api/fake/__init__.py → core/fixtures/__init__} +0 -0
  33. {pygpt_net-2.6.43.dist-info → pygpt_net-2.6.45.dist-info}/LICENSE +0 -0
  34. {pygpt_net-2.6.43.dist-info → pygpt_net-2.6.45.dist-info}/WHEEL +0 -0
  35. {pygpt_net-2.6.43.dist-info → pygpt_net-2.6.45.dist-info}/entry_points.txt +0 -0
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "__meta__": {
3
- "version": "2.6.43",
4
- "app.version": "2.6.43",
5
- "updated_at": "2025-09-12T00:00:00"
3
+ "version": "2.6.45",
4
+ "app.version": "2.6.45",
5
+ "updated_at": "2025-09-13T00:00:00"
6
6
  },
7
7
  "access.audio.event.speech": false,
8
8
  "access.audio.event.speech.disabled": [],
@@ -429,12 +429,16 @@
429
429
  "remote_tools.xai.sources.x": true,
430
430
  "remote_tools.xai.sources.news": false,
431
431
  "render.blocks": true,
432
- "render.code_syntax": "github-dark",
433
- "render.code_syntax.stream_max_lines": 1000,
432
+ "render.code_syntax": "github-dark",
433
+ "render.code_syntax.disabled": false,
434
+ "render.code_syntax.final_max_chars": 350000,
434
435
  "render.code_syntax.final_max_lines": 1500,
435
- "render.code_syntax.final_max_chars": 350000,
436
+ "render.code_syntax.stream_max_lines": 1000,
437
+ "render.code_syntax.stream_n_line": 25,
438
+ "render.code_syntax.stream_n_chars": 5000,
436
439
  "render.engine": "web",
437
440
  "render.memory.limit": "2.5GB",
441
+ "render.msg.user.collapse.px": 1500,
438
442
  "render.open_gl": false,
439
443
  "render.plain": false,
440
444
  "send_clear": true,
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "__meta__": {
3
- "version": "2.6.43",
4
- "app.version": "2.6.43",
5
- "updated_at": "2025-09-12T08:03:34"
3
+ "version": "2.6.45",
4
+ "app.version": "2.6.45",
5
+ "updated_at": "2025-09-13T08:03:34"
6
6
  },
7
7
  "items": {
8
8
  "SpeakLeash/bielik-11b-v2.3-instruct:Q4_K_M": {
@@ -593,6 +593,15 @@
593
593
  "multiplier": 1,
594
594
  "step": 1,
595
595
  "advanced": false
596
+ },
597
+ "theme.style": {
598
+ "section": "layout",
599
+ "type": "combo",
600
+ "use": "styles",
601
+ "label": "settings.theme.style",
602
+ "description": "settings.render.web.only.desc",
603
+ "value": "chatgpt",
604
+ "advanced": false
596
605
  },
597
606
  "zoom": {
598
607
  "section": "layout",
@@ -607,15 +616,6 @@
607
616
  "step": 1,
608
617
  "advanced": false
609
618
  },
610
- "theme.style": {
611
- "section": "layout",
612
- "type": "combo",
613
- "use": "styles",
614
- "label": "settings.theme.style",
615
- "description": "settings.render.web.only.desc",
616
- "value": "chatgpt",
617
- "advanced": false
618
- },
619
619
  "render.code_syntax": {
620
620
  "section": "layout",
621
621
  "type": "combo",
@@ -626,6 +626,36 @@
626
626
  "advanced": false,
627
627
  "tab": "code_syntax"
628
628
  },
629
+ "render.code_syntax.disabled": {
630
+ "section": "layout",
631
+ "type": "bool",
632
+ "label": "settings.render.code_syntax.disabled",
633
+ "value": false,
634
+ "advanced": false,
635
+ "tab": "code_syntax"
636
+ },
637
+ "render.code_syntax.stream_n_line": {
638
+ "section": "layout",
639
+ "type": "int",
640
+ "min": 0,
641
+ "slider": false,
642
+ "label": "settings.render.code_syntax.stream_n_line",
643
+ "description": "settings.render.code_syntax.stream_n_line.desc",
644
+ "value": 50,
645
+ "advanced": false,
646
+ "tab": "code_syntax"
647
+ },
648
+ "render.code_syntax.stream_n_chars": {
649
+ "section": "layout",
650
+ "type": "int",
651
+ "min": 0,
652
+ "slider": false,
653
+ "label": "settings.render.code_syntax.stream_n_chars",
654
+ "description": "settings.render.code_syntax.stream_n_chars.desc",
655
+ "value": 300,
656
+ "advanced": false,
657
+ "tab": "code_syntax"
658
+ },
629
659
  "render.code_syntax.stream_max_lines": {
630
660
  "section": "layout",
631
661
  "type": "int",
@@ -721,6 +751,19 @@
721
751
  "step": 1,
722
752
  "advanced": false
723
753
  },
754
+ "layout.dpi.factor": {
755
+ "section": "layout",
756
+ "type": "float",
757
+ "slider": true,
758
+ "label": "settings.layout.dpi.factor",
759
+ "description": "settings.restart.required",
760
+ "value": 1.0,
761
+ "min": 1.0,
762
+ "max": 3.0,
763
+ "multiplier": 100,
764
+ "step": 1,
765
+ "advanced": false
766
+ },
724
767
  "layout.dpi.scaling": {
725
768
  "section": "layout",
726
769
  "type": "bool",
@@ -734,17 +777,14 @@
734
777
  "step": 1,
735
778
  "advanced": false
736
779
  },
737
- "layout.dpi.factor": {
780
+ "render.msg.user.collapse.px": {
738
781
  "section": "layout",
739
- "type": "float",
740
- "slider": true,
741
- "label": "settings.layout.dpi.factor",
742
- "description": "settings.restart.required",
743
- "value": 1.0,
744
- "min": 1.0,
745
- "max": 3.0,
746
- "multiplier": 100,
747
- "step": 1,
782
+ "type": "int",
783
+ "min": 0,
784
+ "slider": false,
785
+ "label": "settings.render.msg.user.collapse.px",
786
+ "description": "settings.render.msg.user.collapse.px.desc",
787
+ "value": 1500,
748
788
  "advanced": false
749
789
  },
750
790
  "layout.tooltips": {