pygpt-net 2.6.35__py3-none-any.whl → 2.6.37__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 (65) hide show
  1. pygpt_net/CHANGELOG.txt +9 -0
  2. pygpt_net/__init__.py +3 -3
  3. pygpt_net/controller/chat/handler/anthropic_stream.py +166 -0
  4. pygpt_net/controller/chat/handler/google_stream.py +181 -0
  5. pygpt_net/controller/chat/handler/langchain_stream.py +24 -0
  6. pygpt_net/controller/chat/handler/llamaindex_stream.py +47 -0
  7. pygpt_net/controller/chat/handler/openai_stream.py +260 -0
  8. pygpt_net/controller/chat/handler/utils.py +210 -0
  9. pygpt_net/controller/chat/handler/worker.py +566 -0
  10. pygpt_net/controller/chat/handler/xai_stream.py +135 -0
  11. pygpt_net/controller/chat/stream.py +1 -1
  12. pygpt_net/controller/ctx/ctx.py +1 -1
  13. pygpt_net/controller/model/editor.py +3 -0
  14. pygpt_net/core/bridge/context.py +35 -35
  15. pygpt_net/core/bridge/worker.py +40 -16
  16. pygpt_net/core/render/web/body.py +39 -15
  17. pygpt_net/core/render/web/renderer.py +4 -4
  18. pygpt_net/data/config/config.json +10 -3
  19. pygpt_net/data/config/models.json +3 -3
  20. pygpt_net/data/config/settings.json +105 -0
  21. pygpt_net/data/css/style.dark.css +2 -3
  22. pygpt_net/data/css/style.light.css +2 -3
  23. pygpt_net/data/css/web-blocks.css +1 -1
  24. pygpt_net/data/css/web-chatgpt.css +1 -1
  25. pygpt_net/data/css/web-chatgpt_wide.css +1 -1
  26. pygpt_net/data/locale/locale.de.ini +3 -1
  27. pygpt_net/data/locale/locale.en.ini +19 -1
  28. pygpt_net/data/locale/locale.es.ini +3 -1
  29. pygpt_net/data/locale/locale.fr.ini +3 -1
  30. pygpt_net/data/locale/locale.it.ini +3 -1
  31. pygpt_net/data/locale/locale.pl.ini +4 -2
  32. pygpt_net/data/locale/locale.uk.ini +3 -1
  33. pygpt_net/data/locale/locale.zh.ini +3 -1
  34. pygpt_net/provider/api/__init__.py +5 -3
  35. pygpt_net/provider/api/anthropic/__init__.py +190 -29
  36. pygpt_net/provider/api/anthropic/audio.py +30 -0
  37. pygpt_net/provider/api/anthropic/chat.py +341 -0
  38. pygpt_net/provider/api/anthropic/image.py +25 -0
  39. pygpt_net/provider/api/anthropic/tools.py +266 -0
  40. pygpt_net/provider/api/anthropic/vision.py +142 -0
  41. pygpt_net/provider/api/google/chat.py +2 -2
  42. pygpt_net/provider/api/google/tools.py +58 -48
  43. pygpt_net/provider/api/google/vision.py +7 -1
  44. pygpt_net/provider/api/openai/chat.py +1 -0
  45. pygpt_net/provider/api/openai/vision.py +6 -0
  46. pygpt_net/provider/api/x_ai/__init__.py +247 -0
  47. pygpt_net/provider/api/x_ai/audio.py +32 -0
  48. pygpt_net/provider/api/x_ai/chat.py +968 -0
  49. pygpt_net/provider/api/x_ai/image.py +208 -0
  50. pygpt_net/provider/api/x_ai/remote.py +262 -0
  51. pygpt_net/provider/api/x_ai/tools.py +120 -0
  52. pygpt_net/provider/api/x_ai/vision.py +119 -0
  53. pygpt_net/provider/core/config/patch.py +37 -0
  54. pygpt_net/provider/llms/anthropic.py +4 -2
  55. pygpt_net/ui/base/config_dialog.py +5 -11
  56. pygpt_net/ui/dialog/models.py +2 -4
  57. pygpt_net/ui/dialog/plugins.py +40 -43
  58. pygpt_net/ui/widget/element/labels.py +19 -3
  59. pygpt_net/ui/widget/textarea/web.py +1 -1
  60. {pygpt_net-2.6.35.dist-info → pygpt_net-2.6.37.dist-info}/METADATA +15 -6
  61. {pygpt_net-2.6.35.dist-info → pygpt_net-2.6.37.dist-info}/RECORD +64 -45
  62. pygpt_net/controller/chat/handler/stream_worker.py +0 -1136
  63. {pygpt_net-2.6.35.dist-info → pygpt_net-2.6.37.dist-info}/LICENSE +0 -0
  64. {pygpt_net-2.6.35.dist-info → pygpt_net-2.6.37.dist-info}/WHEEL +0 -0
  65. {pygpt_net-2.6.35.dist-info → pygpt_net-2.6.37.dist-info}/entry_points.txt +0 -0