pygpt-net 2.7.6__py3-none-any.whl → 2.7.7__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 (57) hide show
  1. pygpt_net/CHANGELOG.txt +6 -0
  2. pygpt_net/__init__.py +3 -3
  3. pygpt_net/controller/chat/remote_tools.py +3 -9
  4. pygpt_net/controller/chat/stream.py +2 -2
  5. pygpt_net/controller/chat/{handler/worker.py → stream_worker.py} +13 -35
  6. pygpt_net/core/debug/models.py +2 -2
  7. pygpt_net/data/config/config.json +14 -4
  8. pygpt_net/data/config/models.json +192 -4
  9. pygpt_net/data/config/settings.json +125 -35
  10. pygpt_net/data/locale/locale.de.ini +2 -0
  11. pygpt_net/data/locale/locale.en.ini +32 -8
  12. pygpt_net/data/locale/locale.es.ini +2 -0
  13. pygpt_net/data/locale/locale.fr.ini +2 -0
  14. pygpt_net/data/locale/locale.it.ini +2 -0
  15. pygpt_net/data/locale/locale.pl.ini +3 -1
  16. pygpt_net/data/locale/locale.uk.ini +2 -0
  17. pygpt_net/data/locale/locale.zh.ini +2 -0
  18. pygpt_net/plugin/cmd_mouse_control/worker.py +2 -1
  19. pygpt_net/plugin/cmd_mouse_control/worker_sandbox.py +2 -1
  20. pygpt_net/provider/api/anthropic/__init__.py +8 -3
  21. pygpt_net/provider/api/anthropic/chat.py +259 -11
  22. pygpt_net/provider/api/anthropic/computer.py +844 -0
  23. pygpt_net/provider/api/anthropic/remote_tools.py +172 -0
  24. pygpt_net/{controller/chat/handler/anthropic_stream.py → provider/api/anthropic/stream.py} +24 -10
  25. pygpt_net/provider/api/anthropic/tools.py +32 -77
  26. pygpt_net/provider/api/anthropic/utils.py +30 -0
  27. pygpt_net/provider/api/google/chat.py +3 -7
  28. pygpt_net/{controller/chat/handler/google_stream.py → provider/api/google/stream.py} +1 -1
  29. pygpt_net/provider/api/google/utils.py +185 -0
  30. pygpt_net/{controller/chat/handler → provider/api/langchain}/__init__.py +0 -0
  31. pygpt_net/{controller/chat/handler/langchain_stream.py → provider/api/langchain/stream.py} +1 -1
  32. pygpt_net/provider/api/llama_index/__init__.py +0 -0
  33. pygpt_net/{controller/chat/handler/llamaindex_stream.py → provider/api/llama_index/stream.py} +1 -1
  34. pygpt_net/provider/api/openai/image.py +2 -2
  35. pygpt_net/{controller/chat/handler/openai_stream.py → provider/api/openai/stream.py} +1 -1
  36. pygpt_net/provider/api/openai/utils.py +69 -3
  37. pygpt_net/provider/api/x_ai/__init__.py +109 -10
  38. pygpt_net/provider/api/x_ai/chat.py +0 -0
  39. pygpt_net/provider/api/x_ai/image.py +149 -47
  40. pygpt_net/provider/api/x_ai/{remote.py → remote_tools.py} +165 -70
  41. pygpt_net/provider/api/x_ai/responses.py +507 -0
  42. pygpt_net/{controller/chat/handler/xai_stream.py → provider/api/x_ai/stream.py} +12 -1
  43. pygpt_net/provider/api/x_ai/tools.py +59 -8
  44. pygpt_net/{controller/chat/handler → provider/api/x_ai}/utils.py +1 -2
  45. pygpt_net/provider/api/x_ai/vision.py +1 -4
  46. pygpt_net/provider/core/config/patch.py +22 -1
  47. pygpt_net/provider/core/model/patch.py +26 -1
  48. pygpt_net/tools/image_viewer/ui/dialogs.py +3 -2
  49. pygpt_net/tools/text_editor/ui/dialogs.py +3 -2
  50. pygpt_net/tools/text_editor/ui/widgets.py +0 -0
  51. pygpt_net/ui/widget/dialog/base.py +16 -5
  52. pygpt_net/ui/widget/textarea/editor.py +0 -0
  53. {pygpt_net-2.7.6.dist-info → pygpt_net-2.7.7.dist-info}/METADATA +8 -2
  54. {pygpt_net-2.7.6.dist-info → pygpt_net-2.7.7.dist-info}/RECORD +54 -48
  55. {pygpt_net-2.7.6.dist-info → pygpt_net-2.7.7.dist-info}/LICENSE +0 -0
  56. {pygpt_net-2.7.6.dist-info → pygpt_net-2.7.7.dist-info}/WHEEL +0 -0
  57. {pygpt_net-2.7.6.dist-info → pygpt_net-2.7.7.dist-info}/entry_points.txt +0 -0
@@ -974,12 +974,26 @@
974
974
  "use": "models",
975
975
  "slider": false,
976
976
  "label": "settings.ctx.auto_summary.model",
977
+ "description": "settings.ctx.auto_summary.model.desc",
977
978
  "value": "gpt-3.5-turbo-1106",
978
979
  "min": null,
979
980
  "max": null,
980
981
  "multiplier": null,
981
982
  "step": null,
982
983
  "advanced": false
984
+ },
985
+ "ctx.auto_summary": {
986
+ "section": "ctx",
987
+ "type": "bool",
988
+ "slider": false,
989
+ "label": "settings.ctx.auto_summary",
990
+ "description": "settings.ctx.auto_summary.desc",
991
+ "value": true,
992
+ "min": null,
993
+ "max": null,
994
+ "multiplier": null,
995
+ "step": null,
996
+ "advanced": false
983
997
  },
984
998
  "ctx.records.folders.top": {
985
999
  "section": "ctx",
@@ -1065,18 +1079,6 @@
1065
1079
  "step": null,
1066
1080
  "advanced": false
1067
1081
  },
1068
- "ctx.auto_summary": {
1069
- "section": "ctx",
1070
- "type": "bool",
1071
- "slider": false,
1072
- "label": "settings.ctx.auto_summary",
1073
- "value": true,
1074
- "min": null,
1075
- "max": null,
1076
- "multiplier": null,
1077
- "step": null,
1078
- "advanced": false
1079
- },
1080
1082
  "lock_modes": {
1081
1083
  "section": "ctx",
1082
1084
  "type": "bool",
@@ -1160,9 +1162,9 @@
1160
1162
  "slider": true,
1161
1163
  "label": "settings.max_output_tokens",
1162
1164
  "description": "settings.zero.limit.desc",
1163
- "value": 50,
1165
+ "value": 64000,
1164
1166
  "min": 0,
1165
- "max": 32000,
1167
+ "max": 2000000,
1166
1168
  "multiplier": 1,
1167
1169
  "step": 1,
1168
1170
  "advanced": false
@@ -1173,9 +1175,9 @@
1173
1175
  "slider": true,
1174
1176
  "label": "settings.max_total_tokens",
1175
1177
  "description": "settings.zero.limit.desc",
1176
- "value": 400,
1178
+ "value": 256000,
1177
1179
  "min": 0,
1178
- "max": 256000,
1180
+ "max": 2000000,
1179
1181
  "multiplier": 1,
1180
1182
  "step": 1,
1181
1183
  "advanced": false
@@ -2049,18 +2051,89 @@
2049
2051
  "advanced": false,
2050
2052
  "tab": "Anthropic"
2051
2053
  },
2052
- "remote_tools.xai.mode": {
2054
+ "remote_tools.anthropic.web_fetch": {
2053
2055
  "section": "remote_tools",
2054
- "type": "combo",
2056
+ "type": "bool",
2055
2057
  "slider": false,
2056
- "label": "settings.remote_tools.xai.mode",
2057
- "description": "settings.remote_tools.xai.mode.desc",
2058
- "value": "auto",
2059
- "keys": [
2060
- {"auto": "auto"},
2061
- {"on": "on"},
2062
- {"off": "off"}
2063
- ],
2058
+ "label": "settings.remote_tools.anthropic.web_fetch",
2059
+ "description": "settings.remote_tools.anthropic.web_fetch.desc",
2060
+ "value": true,
2061
+ "min": null,
2062
+ "max": null,
2063
+ "multiplier": null,
2064
+ "step": null,
2065
+ "advanced": false,
2066
+ "tab": "Anthropic"
2067
+ },
2068
+ "remote_tools.anthropic.code_execution": {
2069
+ "section": "remote_tools",
2070
+ "type": "bool",
2071
+ "slider": false,
2072
+ "label": "settings.remote_tools.anthropic.code_execution",
2073
+ "description": "settings.remote_tools.anthropic.code_execution.desc",
2074
+ "value": true,
2075
+ "min": null,
2076
+ "max": null,
2077
+ "multiplier": null,
2078
+ "step": null,
2079
+ "advanced": false,
2080
+ "tab": "Anthropic"
2081
+ },
2082
+ "remote_tools.anthropic.mcp": {
2083
+ "section": "remote_tools",
2084
+ "type": "bool",
2085
+ "slider": false,
2086
+ "label": "settings.remote_tools.anthropic.mcp",
2087
+ "description": "settings.remote_tools.anthropic.mcp.desc",
2088
+ "value": true,
2089
+ "min": null,
2090
+ "max": null,
2091
+ "multiplier": null,
2092
+ "step": null,
2093
+ "advanced": false,
2094
+ "tab": "Anthropic"
2095
+ },
2096
+ "remote_tools.anthropic.mcp.tools": {
2097
+ "section": "remote_tools",
2098
+ "type": "textarea",
2099
+ "slider": false,
2100
+ "label": "settings.remote_tools.anthropic.mcp.tools",
2101
+ "description": "settings.remote_tools.anthropic.mcp.tools.desc",
2102
+ "value": "",
2103
+ "min": null,
2104
+ "max": null,
2105
+ "multiplier": null,
2106
+ "step": null,
2107
+ "advanced": false,
2108
+ "tab": "Anthropic",
2109
+ "urls": {
2110
+ "Anthropic Docs": "https://platform.claude.com/docs/en/agents-and-tools/remote-mcp-servers"
2111
+ }
2112
+ },
2113
+ "remote_tools.anthropic.mcp.mcp_servers": {
2114
+ "section": "remote_tools",
2115
+ "type": "textarea",
2116
+ "slider": false,
2117
+ "label": "settings.remote_tools.anthropic.mcp.mcp_servers",
2118
+ "description": "settings.remote_tools.anthropic.mcp.mcp_servers.desc",
2119
+ "value": "",
2120
+ "min": null,
2121
+ "max": null,
2122
+ "multiplier": null,
2123
+ "step": null,
2124
+ "advanced": false,
2125
+ "tab": "Anthropic",
2126
+ "urls": {
2127
+ "Anthropic Docs": "https://platform.claude.com/docs/en/agents-and-tools/remote-mcp-servers"
2128
+ }
2129
+ },
2130
+ "remote_tools.xai.web_search": {
2131
+ "section": "remote_tools",
2132
+ "type": "bool",
2133
+ "slider": false,
2134
+ "label": "settings.remote_tools.xai.web_search",
2135
+ "description": "settings.remote_tools.xai.web_search.desc",
2136
+ "value": true,
2064
2137
  "min": null,
2065
2138
  "max": null,
2066
2139
  "multiplier": null,
@@ -2068,12 +2141,12 @@
2068
2141
  "advanced": false,
2069
2142
  "tab": "xAI"
2070
2143
  },
2071
- "remote_tools.xai.sources.web": {
2144
+ "remote_tools.xai.x_search": {
2072
2145
  "section": "remote_tools",
2073
2146
  "type": "bool",
2074
2147
  "slider": false,
2075
- "label": "settings.remote_tools.xai.sources.web",
2076
- "description": "settings.remote_tools.xai.sources.web.desc",
2148
+ "label": "settings.remote_tools.xai.x_search",
2149
+ "description": "settings.remote_tools.xai.x_search.desc",
2077
2150
  "value": true,
2078
2151
  "min": null,
2079
2152
  "max": null,
@@ -2082,12 +2155,12 @@
2082
2155
  "advanced": false,
2083
2156
  "tab": "xAI"
2084
2157
  },
2085
- "remote_tools.xai.sources.x": {
2158
+ "remote_tools.xai.code_execution": {
2086
2159
  "section": "remote_tools",
2087
2160
  "type": "bool",
2088
2161
  "slider": false,
2089
- "label": "settings.remote_tools.xai.sources.x",
2090
- "description": "settings.remote_tools.xai.sources.x.desc",
2162
+ "label": "settings.remote_tools.xai.code_execution",
2163
+ "description": "settings.remote_tools.xai.code_execution.desc",
2091
2164
  "value": true,
2092
2165
  "min": null,
2093
2166
  "max": null,
@@ -2096,12 +2169,12 @@
2096
2169
  "advanced": false,
2097
2170
  "tab": "xAI"
2098
2171
  },
2099
- "remote_tools.xai.sources.news": {
2172
+ "remote_tools.xai.mcp": {
2100
2173
  "section": "remote_tools",
2101
2174
  "type": "bool",
2102
2175
  "slider": false,
2103
- "label": "settings.remote_tools.xai.sources.news",
2104
- "description": "settings.remote_tools.xai.sources.news.desc",
2176
+ "label": "settings.remote_tools.xai.mcp",
2177
+ "description": "settings.remote_tools.xai.mcp.desc",
2105
2178
  "value": true,
2106
2179
  "min": null,
2107
2180
  "max": null,
@@ -2110,6 +2183,23 @@
2110
2183
  "advanced": false,
2111
2184
  "tab": "xAI"
2112
2185
  },
2186
+ "remote_tools.xai.mcp.args": {
2187
+ "section": "remote_tools",
2188
+ "type": "textarea",
2189
+ "slider": false,
2190
+ "label": "settings.remote_tools.xai.mcp.args",
2191
+ "description": "settings.remote_tools.xai.mcp.args.desc",
2192
+ "value": "",
2193
+ "min": null,
2194
+ "max": null,
2195
+ "multiplier": null,
2196
+ "step": null,
2197
+ "advanced": false,
2198
+ "tab": "xAI",
2199
+ "urls": {
2200
+ "xAI Docs": "https://docs.x.ai/docs/guides/tools/remote-mcp-tools"
2201
+ }
2202
+ },
2113
2203
  "llama.idx.list": {
2114
2204
  "section": "llama-index",
2115
2205
  "type": "dict",
@@ -1279,7 +1279,9 @@ settings.ctx.attachment.verbose = Ausführlicher Modus
1279
1279
  settings.ctx.attachment.verbose.desc = Verwenden Sie die Anhänge in der Konsole
1280
1280
  settings.ctx.audio = Audio-Symbol immer anzeigen
1281
1281
  settings.ctx.auto_summary = Kontext automatisch zusammenfassen
1282
+ settings.ctx.auto_summary.desc = Aktivieren Sie die automatische Zusammenfassung des Kontexts in der Konversationsliste links.
1282
1283
  settings.ctx.auto_summary.model = Modell für automatische Zusammenfassung verwendet
1284
+ settings.ctx.auto_summary.model.desc = Wählen Sie ein Modell, das zum Zusammenfassen des Kontexts und zur Erstellung des Titels in der Konversationsliste links verwendet wird.
1283
1285
  settings.ctx.code_interpreter = Ausgabe des Code-Interpreters anzeigen
1284
1286
  settings.ctx.code_interpreter.desc = Wenn diese Option aktiviert ist, wird die Ausgabe des Code-Interpreters in der Assistant-API in Echtzeit angezeigt (im Stream-Modus).
1285
1287
  settings.ctx.convert_lists = Listen in Absätze umwandeln
@@ -1330,7 +1330,9 @@ settings.ctx.attachment.verbose = Verbose mode
1330
1330
  settings.ctx.attachment.verbose.desc = Log attachments usage to the console
1331
1331
  settings.ctx.audio = Always show audio icon
1332
1332
  settings.ctx.auto_summary = Context auto-summary
1333
+ settings.ctx.auto_summary.desc = Enable automatic summarization of the context on the conversation list on the left.
1333
1334
  settings.ctx.auto_summary.model = Model used for auto-summary
1335
+ settings.ctx.auto_summary.model.desc = Choose a model used for summarizing the context and preparing the title on the conversation list on the left.
1334
1336
  settings.ctx.code_interpreter = Show Code Interpreter output
1335
1337
  settings.ctx.code_interpreter.desc = If enabled, output from the code interpreter in the Assistant API will be displayed in real-time (in stream mode).
1336
1338
  settings.ctx.convert_lists = Convert lists to paragraphs
@@ -1478,34 +1480,52 @@ settings.prompt.img = Image generation
1478
1480
  settings.prompt.img.desc = Prompt for generating prompts for image model (if raw-mode is disabled). Image / Video modes only.
1479
1481
  settings.prompt.video = Video generation
1480
1482
  settings.prompt.video.desc = Prompt for generating prompts for video model (if raw-mode is disabled). Image / Videos mode only.
1483
+ settings.remote_tools.anthropic.code_execution = Code Execution
1484
+ settings.remote_tools.anthropic.code_execution.desc = Enable Code Execution remote tool.
1485
+ settings.remote_tools.anthropic.file_search = Web Search
1486
+ settings.remote_tools.anthropic.file_search.desc = Enable Web Search remote tool.
1487
+ settings.remote_tools.anthropic.mcp = Remote MCP
1488
+ settings.remote_tools.anthropic.mcp.desc = Enable MCP remote tool/connector.
1489
+ settings.remote_tools.anthropic.mcp.mcp_servers = Remote MCP configuration (mcp_servers)
1490
+ settings.remote_tools.anthropic.mcp.mcp_servers.desc = Configuration in JSON format (will be used in request)
1491
+ settings.remote_tools.anthropic.mcp.tools = Remote MCP configuration (tools)
1492
+ settings.remote_tools.anthropic.mcp.tools.desc = Configuration in JSON format (will be used in request)
1493
+ settings.remote_tools.anthropic.web_fetch = Web Fetch
1494
+ settings.remote_tools.anthropic.web_fetch.desc = Enable Web Fetch remote tool.
1481
1495
  settings.remote_tools.anthropic.web_search = Web Search
1482
1496
  settings.remote_tools.anthropic.web_search.desc = Enable Web Search remote tool.
1483
1497
  settings.remote_tools.code_interpreter = Code Interpreter
1484
- settings.remote_tools.code_interpreter.desc = Enable `code_interpreter` remote tool - Responses API only.
1498
+ settings.remote_tools.code_interpreter.desc = Enable Code Interpreter remote tool - Responses API only.
1485
1499
  settings.remote_tools.file_search = File search
1486
1500
  settings.remote_tools.file_search.args = File search vector store IDs
1487
1501
  settings.remote_tools.file_search.args.desc = Vector store IDs, separated by comma (,)
1488
- settings.remote_tools.file_search.desc = Enable `file_search` remote tool - Responses API only.
1502
+ settings.remote_tools.file_search.desc = Enable File Search remote tool - Responses API only.
1489
1503
  settings.remote_tools.google.code_interpreter = Code Interpreter
1490
1504
  settings.remote_tools.google.code_interpreter.desc = Enable Code Interpreter remote tool.
1491
1505
  settings.remote_tools.google.file_search = File search
1492
1506
  settings.remote_tools.google.file_search.args = File search vector store IDs
1493
1507
  settings.remote_tools.google.file_search.args.desc = Vector store IDs, separated by comma (,)
1494
- settings.remote_tools.google.file_search.desc = Enable `file_search` remote tool - Responses API only.
1508
+ settings.remote_tools.google.file_search.desc = Enable File Search remote tool - Responses API only.
1495
1509
  settings.remote_tools.google.maps = Google Maps
1496
1510
  settings.remote_tools.google.maps.desc = Enable Google Maps remote tool.
1497
1511
  settings.remote_tools.google.url_ctx = URL Context
1498
1512
  settings.remote_tools.google.url_ctx.desc = Enable URL Context remote tool.
1499
- settings.remote_tools.google.web_search = Google Search
1500
- settings.remote_tools.google.web_search.desc = Enable Google Search remote tool.
1513
+ settings.remote_tools.google.web_search = Web Search
1514
+ settings.remote_tools.google.web_search.desc = Enable Web Search remote tool.
1501
1515
  settings.remote_tools.image = Image generation
1502
- settings.remote_tools.image.desc = Enable `image_generation` remote tool - Responses API only.
1516
+ settings.remote_tools.image.desc = Enable Image generation remote tool - Responses API only.
1503
1517
  settings.remote_tools.mcp = Remote MCP
1504
1518
  settings.remote_tools.mcp.args = Remote MCP configuration
1505
1519
  settings.remote_tools.mcp.args.desc = Configuration in JSON format (will be used in request)
1506
- settings.remote_tools.mcp.desc = Enable `mcp` remote tool - Responses API only.
1520
+ settings.remote_tools.mcp.desc = Enable MCP remote tool - Responses API only.
1507
1521
  settings.remote_tools.web_search = Web Search
1508
- settings.remote_tools.web_search.desc = Enable `web_search` remote tool - Responses API only.
1522
+ settings.remote_tools.web_search.desc = Enable Web Search remote tool - Responses API only.
1523
+ settings.remote_tools.xai.code_execution = Code Execution
1524
+ settings.remote_tools.xai.code_execution.desc = Enable Code Execution remote tool.
1525
+ settings.remote_tools.xai.mcp = Remote MCP
1526
+ settings.remote_tools.xai.mcp.args = Remote MCP configuration
1527
+ settings.remote_tools.xai.mcp.args.desc = Configuration in JSON format (will be used in request)
1528
+ settings.remote_tools.xai.mcp.desc = Enable MCP remote tool - Responses API only.
1509
1529
  settings.remote_tools.xai.mode = Live Search mode
1510
1530
  settings.remote_tools.xai.mode.desc = Select mode: auto|on|off
1511
1531
  settings.remote_tools.xai.sources.news = Source: News
@@ -1514,6 +1534,10 @@ settings.remote_tools.xai.sources.web = Source: Web
1514
1534
  settings.remote_tools.xai.sources.web.desc = Enable Web in Live Search
1515
1535
  settings.remote_tools.xai.sources.x = Source: X / Twitter
1516
1536
  settings.remote_tools.xai.sources.x.desc = Enable X / Twitter in Live Search
1537
+ settings.remote_tools.xai.web_search = Web Search
1538
+ settings.remote_tools.xai.web_search.desc = Enable Web Search remote tool.
1539
+ settings.remote_tools.xai.x_search = X Search
1540
+ settings.remote_tools.xai.x_search.desc = Enable X Search remote tool.
1517
1541
  settings.render.code_syntax = Code syntax highlight
1518
1542
  settings.render.code_syntax.disabled = Disable syntax highlight
1519
1543
  settings.render.code_syntax.final_max_chars = Max chars to highlight (static)
@@ -1280,7 +1280,9 @@ settings.ctx.attachment.verbose = Modo detallado
1280
1280
  settings.ctx.attachment.verbose.desc = Registrar el uso de adjuntos en la consola
1281
1281
  settings.ctx.audio = Siempre mostrar el ícono de audio
1282
1282
  settings.ctx.auto_summary = Resumen automático del contexto
1283
+ settings.ctx.auto_summary.desc = Habilite la resumena automática del contexto en la lista de conversaciones a la izquierda.
1283
1284
  settings.ctx.auto_summary.model = Modelo utilizado para el resumen automático
1285
+ settings.ctx.auto_summary.model.desc = Elija un modelo utilizado para resumir el contexto y preparar el título en la lista de conversaciones a la izquierda.
1284
1286
  settings.ctx.code_interpreter = Mostrar salida del intérprete de código
1285
1287
  settings.ctx.code_interpreter.desc = Si está habilitado, la salida del intérprete de código en la API del Asistente se mostrará en tiempo real (en modo de transmisión).
1286
1288
  settings.ctx.convert_lists = Convertir listas en párrafos
@@ -1279,7 +1279,9 @@ settings.ctx.attachment.verbose = Mode verbose
1279
1279
  settings.ctx.attachment.verbose.desc = Enregistrer l'utilisation des pièces jointes dans la console
1280
1280
  settings.ctx.audio = Toujours afficher l'icône audio
1281
1281
  settings.ctx.auto_summary = Résumé automatique du contexte
1282
+ settings.ctx.auto_summary.desc = Activez la synthèse automatique du contexte dans la liste de conversation à gauche.
1282
1283
  settings.ctx.auto_summary.model = Modèle utilisé pour le résumé automatique
1284
+ settings.ctx.auto_summary.model.desc = Choisissez un modèle utilisé pour résumer le contexte et préparer le titre dans la liste de conversation à gauche.
1283
1285
  settings.ctx.code_interpreter = Afficher la sortie de l'interprèteur de code
1284
1286
  settings.ctx.code_interpreter.desc = Si activé, la sortie de l'interpréteur de code dans l'API Assistant sera affichée en temps réel (en mode flux).
1285
1287
  settings.ctx.convert_lists = Convertir les listes en paragraphes
@@ -1279,7 +1279,9 @@ settings.ctx.attachment.verbose = Modalità Verbose
1279
1279
  settings.ctx.attachment.verbose.desc = Log utilizzo degli allegati nella console
1280
1280
  settings.ctx.audio = Mostra sempre l'icona audio
1281
1281
  settings.ctx.auto_summary = Riassunto automatico del contesto
1282
+ settings.ctx.auto_summary.desc = Abilita il riassunto automatico del contesto nella lista delle conversazioni a sinistra.
1282
1283
  settings.ctx.auto_summary.model = Modello utilizzato per riassunto automatico
1284
+ settings.ctx.auto_summary.model.desc = Scegli un modello utilizzato per riassumere il contesto e preparare il titolo nella lista delle conversazioni a sinistra.
1283
1285
  settings.ctx.code_interpreter = Mostra l'output dell'interprete del codice
1284
1286
  settings.ctx.code_interpreter.desc = Se abilitato, l'output dell'interprete del codice nell'API dell'Assistente verrà visualizzato in tempo reale (in modalità streaming).
1285
1287
  settings.ctx.convert_lists = Converti liste in paragrafi
@@ -303,7 +303,7 @@ context.items = elementy
303
303
  context.label = Kontekst
304
304
  context_menu.zoom = Powiększenie
305
305
  context_menu.zoom.in = Powiększ
306
- context_menu.zoom.out = Pomniejsz
306
+ context_menu.zoom.out = Pomniejsz
307
307
  context.tokens = tokeny
308
308
  ctx.delete.all.confirm = Czy na pewno usunąć CAŁĄ historię?
309
309
  ctx.delete.confirm = Czy na pewno usunąć?
@@ -1280,7 +1280,9 @@ settings.ctx.attachment.verbose = Tryb szczegółowy
1280
1280
  settings.ctx.attachment.verbose.desc = Loguj użycie załączników do konsoli
1281
1281
  settings.ctx.audio = Zawsze pokazuj ikonę audio
1282
1282
  settings.ctx.auto_summary = Kontekst: auto-podsumowanie
1283
+ settings.ctx.auto_summary.desc = Włącz automatyczne podsumowywanie kontekstu na liście konwersacji po lewej.
1283
1284
  settings.ctx.auto_summary.model = Model używany do auto-podsumowania
1285
+ settings.ctx.auto_summary.model.desc = Wybierz model używany do podsumowywania kontekstu i przygotowywania tytułu na liście konwersacji po lewej.
1284
1286
  settings.ctx.code_interpreter = Pokaż wyniki interpretacji kodu
1285
1287
  settings.ctx.code_interpreter.desc = Jeśli ta opcja jest włączona, wyniki z interpretacji kodu w API Asystenta będą wyświetlane w czasie rzeczywistym (w trybie strumienia).
1286
1288
  settings.ctx.convert_lists = Konwertuj listy na akapity
@@ -1279,7 +1279,9 @@ settings.ctx.attachment.verbose = Детальний режим
1279
1279
  settings.ctx.attachment.verbose.desc = Реєструвати використання вкладень у консолі
1280
1280
  settings.ctx.audio = Завжди показувати значок аудіо
1281
1281
  settings.ctx.auto_summary = Автоматичне стиснення контексту
1282
+ settings.ctx.auto_summary.desc = Увімкніть автоматичне підсумовування контексту у списку розмов зліва.
1282
1283
  settings.ctx.auto_summary.model = Модель, що використовується для автоматичного стиснення
1284
+ settings.ctx.auto_summary.model.desc = Виберіть модель, що використовується для підсумовування контексту та підготовки заголовка у списку розмов зліва.
1283
1285
  settings.ctx.code_interpreter = Показати вивід інтерпретатора коду
1284
1286
  settings.ctx.code_interpreter.desc = Якщо включено, результати інтерпретатора коду в API Асистента будуть відображатися в реальному часі (в режимі потоку).
1285
1287
  settings.ctx.convert_lists = Конвертувати списки в абзаци
@@ -1279,7 +1279,9 @@ settings.ctx.attachment.verbose = 详细模式
1279
1279
  settings.ctx.attachment.verbose.desc = 将附件使用记录到控制台
1280
1280
  settings.ctx.audio = 总是显示音频图标
1281
1281
  settings.ctx.auto_summary = 上下文自動摘要
1282
+ settings.ctx.auto_summary.desc = 启用左侧对话列表中上下文的自动总结。
1282
1283
  settings.ctx.auto_summary.model = 用於自動摘要的模型
1284
+ settings.ctx.auto_summary.model.desc = 选择用于总结上下文并准备左侧对话列表标题的模型。
1283
1285
  settings.ctx.code_interpreter = 显示代码解释器输出
1284
1286
  settings.ctx.code_interpreter.desc = 如果启用,助手 API 中的代码解释器输出将实时显示(以流模式)。
1285
1287
  settings.ctx.convert_lists = 将列表转换为段落
@@ -6,7 +6,7 @@
6
6
  # GitHub: https://github.com/szczyglis-dev/py-gpt #
7
7
  # MIT License #
8
8
  # Created By : Marcin Szczyglinski #
9
- # Updated Date: 2026.01.02 02:00:00 #
9
+ # Updated Date: 2026.01.05 20:00:00 #
10
10
  # ================================================== #
11
11
 
12
12
  import sys
@@ -782,6 +782,7 @@ class Worker(BaseWorker):
782
782
  mouse = MouseController()
783
783
  mouse_pos_x, mouse_pos_y = mouse.position
784
784
  return {
785
+ "result": "success",
785
786
  'current_step': current_step,
786
787
  'screen_w': screen_x,
787
788
  'screen_h': screen_y,
@@ -6,7 +6,7 @@
6
6
  # GitHub: https://github.com/szczyglis-dev/py-gpt #
7
7
  # MIT License #
8
8
  # Created By : Marcin Szczygliński #
9
- # Updated Date: 2026.01.02 02:00:00 #
9
+ # Updated Date: 2026.01.05 20:00:00 #
10
10
  # ================================================== #
11
11
 
12
12
  import time
@@ -231,6 +231,7 @@ class Worker(BaseWorker):
231
231
  current_step = self.get_param(item, "current_step", "")
232
232
  screen_w, screen_h = self.viewport_w, self.viewport_h
233
233
  return {
234
+ "result": "success",
234
235
  "current_step": current_step,
235
236
  "screen_w": screen_w,
236
237
  "screen_h": screen_h,
@@ -6,7 +6,7 @@
6
6
  # GitHub: https://github.com/szczyglis-dev/py-gpt #
7
7
  # MIT License #
8
8
  # Created By : Marcin Szczygliński #
9
- # Updated Date: 2026.01.03 17:00:00 #
9
+ # Updated Date: 2026.01.05 20:00:00 #
10
10
  # ================================================== #
11
11
 
12
12
  from typing import Optional, Dict, Any
@@ -18,7 +18,7 @@ from pygpt_net.core.types import (
18
18
  MODE_CHAT,
19
19
  MODE_COMPLETION,
20
20
  MODE_IMAGE,
21
- MODE_RESEARCH,
21
+ MODE_RESEARCH, MODE_COMPUTER,
22
22
  )
23
23
  from pygpt_net.core.bridge.context import BridgeContext
24
24
  from pygpt_net.core.types.chunk import ChunkType
@@ -29,6 +29,8 @@ from .tools import Tools
29
29
  from .vision import Vision
30
30
  from .audio import Audio
31
31
  from .image import Image
32
+ from .remote_tools import RemoteTools
33
+ from .computer import Computer
32
34
 
33
35
 
34
36
  class ApiAnthropic:
@@ -44,6 +46,8 @@ class ApiAnthropic:
44
46
  self.vision = Vision(window)
45
47
  self.audio = Audio(window) # stub helpers (no official audio out/in in SDK as of now)
46
48
  self.image = Image(window) # stub: no image generation in Anthropic
49
+ self.remote_tools = RemoteTools(window)
50
+ self.computer = Computer(window)
47
51
  self.client: Optional[anthropic.Anthropic] = None
48
52
  self.locked = False
49
53
  self.last_client_args: Optional[Dict[str, Any]] = None
@@ -103,7 +107,8 @@ class ApiAnthropic:
103
107
  MODE_COMPLETION,
104
108
  MODE_CHAT,
105
109
  MODE_AUDIO,
106
- MODE_RESEARCH
110
+ MODE_RESEARCH,
111
+ MODE_COMPUTER
107
112
  ):
108
113
  # MODE_AUDIO fallback: treat as normal chat (no native audio API)
109
114
  response = self.chat.send(context=context, extra=extra)