pygpt-net 2.6.23__py3-none-any.whl → 2.6.25__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.
- pygpt_net/CHANGELOG.txt +14 -0
- pygpt_net/__init__.py +3 -3
- pygpt_net/controller/chat/response.py +6 -5
- pygpt_net/controller/config/placeholder.py +3 -1
- pygpt_net/controller/model/importer.py +28 -5
- pygpt_net/core/agents/runners/loop.py +36 -3
- pygpt_net/core/attachments/context.py +4 -4
- pygpt_net/core/idx/chat.py +1 -1
- pygpt_net/core/idx/indexing.py +3 -3
- pygpt_net/core/idx/llm.py +61 -2
- pygpt_net/data/config/config.json +41 -4
- pygpt_net/data/config/models.json +3 -3
- pygpt_net/data/config/settings.json +56 -1
- pygpt_net/data/locale/locale.de.ini +46 -0
- pygpt_net/data/locale/locale.en.ini +53 -1
- pygpt_net/data/locale/locale.es.ini +46 -0
- pygpt_net/data/locale/locale.fr.ini +46 -0
- pygpt_net/data/locale/locale.it.ini +46 -0
- pygpt_net/data/locale/locale.pl.ini +47 -1
- pygpt_net/data/locale/locale.uk.ini +46 -0
- pygpt_net/data/locale/locale.zh.ini +46 -0
- pygpt_net/provider/agents/llama_index/codeact_workflow.py +8 -7
- pygpt_net/provider/agents/llama_index/planner_workflow.py +11 -10
- pygpt_net/provider/agents/llama_index/supervisor_workflow.py +9 -8
- pygpt_net/provider/agents/openai/agent_b2b.py +30 -17
- pygpt_net/provider/agents/openai/agent_planner.py +29 -29
- pygpt_net/provider/agents/openai/agent_with_experts_feedback.py +21 -23
- pygpt_net/provider/agents/openai/agent_with_feedback.py +21 -23
- pygpt_net/provider/agents/openai/bot_researcher.py +25 -30
- pygpt_net/provider/agents/openai/evolve.py +37 -39
- pygpt_net/provider/agents/openai/supervisor.py +16 -18
- pygpt_net/provider/core/config/patch.py +45 -1
- pygpt_net/provider/llms/anthropic.py +38 -7
- pygpt_net/provider/llms/azure_openai.py +9 -4
- pygpt_net/provider/llms/deepseek_api.py +36 -3
- pygpt_net/provider/llms/google.py +9 -3
- pygpt_net/provider/llms/hugging_face_api.py +9 -3
- pygpt_net/provider/llms/hugging_face_router.py +17 -3
- pygpt_net/provider/llms/llama_index/x_ai/__init__.py +0 -0
- pygpt_net/provider/llms/llama_index/x_ai/embedding.py +71 -0
- pygpt_net/provider/llms/local.py +25 -1
- pygpt_net/provider/llms/mistral.py +29 -1
- pygpt_net/provider/llms/ollama.py +3 -1
- pygpt_net/provider/llms/openai.py +7 -2
- pygpt_net/provider/llms/x_ai.py +19 -3
- pygpt_net/ui/widget/textarea/input.py +3 -3
- {pygpt_net-2.6.23.dist-info → pygpt_net-2.6.25.dist-info}/METADATA +54 -28
- {pygpt_net-2.6.23.dist-info → pygpt_net-2.6.25.dist-info}/RECORD +51 -49
- {pygpt_net-2.6.23.dist-info → pygpt_net-2.6.25.dist-info}/LICENSE +0 -0
- {pygpt_net-2.6.23.dist-info → pygpt_net-2.6.25.dist-info}/WHEEL +0 -0
- {pygpt_net-2.6.23.dist-info → pygpt_net-2.6.25.dist-info}/entry_points.txt +0 -0
|
@@ -72,7 +72,53 @@ action.use.read_cmd = Ask for reading this file...
|
|
|
72
72
|
action.video.open = Open video or audio...
|
|
73
73
|
action.video.play = Play video or audio...
|
|
74
74
|
action.video.transcribe = Transcribe audio...
|
|
75
|
+
agent.coder.additional.label = Additional prompt
|
|
76
|
+
agent.coder.additional.prompt.desc = Additional prompt for agent (will be added to the base prompt)
|
|
77
|
+
agent.coder.base.label = Base prompt
|
|
78
|
+
agent.coder.base.prompt.desc = Code execute prompt (initial)
|
|
79
|
+
agent.eval.feedback = Feedback
|
|
80
|
+
agent.eval.next = Re-running with feedback
|
|
81
|
+
agent.eval.score = Evaluator score
|
|
82
|
+
agent.eval.score.good = Response is good enough, exiting.
|
|
83
|
+
agent.evolve.generation = Generation
|
|
84
|
+
agent.evolve.maxgen_limit = Max generations reached, exiting.
|
|
85
|
+
agent.evolve.option.max_generations = Max generations
|
|
86
|
+
agent.evolve.option.num_parents = Num of parents
|
|
87
|
+
agent.evolve.running = Running agent
|
|
88
|
+
agent.evolve.winner = Winner: agent
|
|
75
89
|
agent.infinity.confirm.content = WARNING: You are attempting to run an infinite loop! This may cause heavy token usage. Are you sure you want to continue?
|
|
90
|
+
agent.name.supervisor = Supervisor
|
|
91
|
+
agent.name.worker = Worker
|
|
92
|
+
agent.option.model = Model
|
|
93
|
+
agent.option.name = Name
|
|
94
|
+
agent.option.prompt = Prompt
|
|
95
|
+
agent.option.prompt.b1.desc = Prompt for bot 1
|
|
96
|
+
agent.option.prompt.b2.desc = Prompt for bot 2
|
|
97
|
+
agent.option.prompt.base.desc = Prompt for Base Agent
|
|
98
|
+
agent.option.prompt.chooser.desc = Prompt for Chooser agent
|
|
99
|
+
agent.option.prompt.feedback.desc = Prompt for feedback evaluation
|
|
100
|
+
agent.option.prompt.planner.desc = Prompt for Planner agent
|
|
101
|
+
agent.option.prompt.search.desc = Prompt for search agent
|
|
102
|
+
agent.option.prompt.supervisor.desc = Prompt for Supervisor
|
|
103
|
+
agent.option.prompt.worker.desc = Prompt for Worker
|
|
104
|
+
agent.option.section.base = Base agent
|
|
105
|
+
agent.option.section.chooser = Chooser
|
|
106
|
+
agent.option.section.feedback = Feedback
|
|
107
|
+
agent.option.section.planner = Planner
|
|
108
|
+
agent.option.section.search = Search
|
|
109
|
+
agent.option.section.supervisor = Supervisor
|
|
110
|
+
agent.option.section.worker = Worker
|
|
111
|
+
agent.option.section.writer = Writer
|
|
112
|
+
agent.option.tools.local = Allow local tools
|
|
113
|
+
agent.option.tools.local.desc = Allow usage of local tools for this agent
|
|
114
|
+
agent.option.tools.remote = Allowe remote tools
|
|
115
|
+
agent.option.tools.remote.desc = Allow usage of remote tools for this agent
|
|
116
|
+
agent.planner.plan.label = Planner (initial)
|
|
117
|
+
agent.planner.plan.prompt.desc = Initial plan prompt
|
|
118
|
+
agent.planner.refine.label = Planner (refine)
|
|
119
|
+
agent.planner.refine.prompt.desc = Plan refine prompt
|
|
120
|
+
agent.planner.step.label = Execute prompt
|
|
121
|
+
agent.planner.step.prompt.desc = Steps execute prompt
|
|
76
122
|
alert.preset.empty_id = Name is required.
|
|
77
123
|
alert.preset.no_chat_completion = At least one of: chat, completion, img or vision option is required!
|
|
78
124
|
alert.snap.file_manager = Snap detected. Please open the directory manually in your file manager:
|
|
@@ -1013,6 +1059,8 @@ settings.agent.idx = Index to use
|
|
|
1013
1059
|
settings.agent.idx.auto_retrieve = Auto retrieve additional context from RAG
|
|
1014
1060
|
settings.agent.idx.auto_retrieve.desc = Auto retrieve additional context from RAG at the beginning if the index is provided.
|
|
1015
1061
|
settings.agent.idx.desc = Only if sub-mode is Chat with Files, choose the index to use in Autonomous and Experts modes
|
|
1062
|
+
settings.agent.llama.eval_model = Model for evaluation
|
|
1063
|
+
settings.agent.llama.eval_model.desc = Model used for evaluation with score/percentage (loop). If not selected, then current active model will be used.
|
|
1016
1064
|
settings.agent.llama.append_eval = Append and compare previous evaluation prompt in next evaluation
|
|
1017
1065
|
settings.agent.llama.append_eval.desc = If enabled, previous improvement prompt will be checked in next eval in loop
|
|
1018
1066
|
settings.agent.llama.iterations = Max run iterations
|
|
@@ -1062,6 +1110,8 @@ settings.api_key.mistral = Mistral AI API KEY
|
|
|
1062
1110
|
settings.api_key.mistral.desc = Required for the Mistral AI API.
|
|
1063
1111
|
settings.api_key.perplexity = Perplexity API KEY
|
|
1064
1112
|
settings.api_key.perplexity.desc = Required for the Perplexity API.
|
|
1113
|
+
settings.api_key.voyage = VoyageAI API KEY
|
|
1114
|
+
settings.api_key.voyage.desc = Required for the Voyage API - embeddings for Anthropic and DeepSeek API.
|
|
1065
1115
|
settings.api_key.xai = xAI API KEY
|
|
1066
1116
|
settings.api_key.xai.desc = Required for the xAI API and Grok models.
|
|
1067
1117
|
settings.api_proxy = Proxy address
|
|
@@ -1200,8 +1250,10 @@ settings.llama.idx.custom_meta = Custom metadata to append/replace to indexed do
|
|
|
1200
1250
|
settings.llama.idx.custom_meta.desc = Define custom metadata key => value fields for specified file extensions, separate extensions by comma.\nAllowed placeholders: {path}, {relative_path} {filename}, {dirname}, {relative_dir} {ext}, {size}, {mtime}, {date}, {date_time}, {time}, {timestamp}
|
|
1201
1251
|
settings.llama.idx.custom_meta.web = Custom metadata to append/replace to indexed documents (web/external content)
|
|
1202
1252
|
settings.llama.idx.custom_meta.web.desc = Define custom metadata key => value fields for specified external data loaders.\nAllowed placeholders: {date}, {date_time}, {time}, {timestamp} + {data loader args}
|
|
1203
|
-
settings.llama.idx.embeddings.args =
|
|
1253
|
+
settings.llama.idx.embeddings.args = Global embeddings provider **kwargs
|
|
1204
1254
|
settings.llama.idx.embeddings.args.desc = Additional keyword arguments (**kwargs), such as model name, for the embeddings provider instance. These arguments will be passed to the provider instance; please refer to the LlamaIndex API reference for a list of required arguments for the specified embeddings provider.
|
|
1255
|
+
settings.llama.idx.embeddings.default = Default embedding providers for attachments
|
|
1256
|
+
settings.llama.idx.embeddings.default.desc = Define embedding model by provider to use in attachments
|
|
1205
1257
|
settings.llama.idx.embeddings.env = Embeddings provider ENV vars
|
|
1206
1258
|
settings.llama.idx.embeddings.env.desc = Environment to set up before embedding provider initialization, such as API keys, etc. Use {config_key} as a placeholder to use the value from the application configuration.
|
|
1207
1259
|
settings.llama.idx.embeddings.limit.rpm = RPM limit
|
|
@@ -72,7 +72,53 @@ action.use.read_cmd = Pedir leer este archivo...
|
|
|
72
72
|
action.video.open = Abrir vídeo o audio...
|
|
73
73
|
action.video.play = Reproducir vídeo o audio...
|
|
74
74
|
action.video.transcribe = Transcribir audio...
|
|
75
|
+
agent.coder.additional.label = Prompt adicional
|
|
76
|
+
agent.coder.additional.prompt.desc = Prompt adicional para el agente (se añadirá al prompt base)
|
|
77
|
+
agent.coder.base.label = Prompt base
|
|
78
|
+
agent.coder.base.prompt.desc = Ejecutar código prompt (inicial)
|
|
79
|
+
agent.eval.feedback = Feedback
|
|
80
|
+
agent.eval.next = Reejecutando con feedback
|
|
81
|
+
agent.eval.score = Puntuación del evaluador
|
|
82
|
+
agent.eval.score.good = Respuesta suficientemente buena, saliendo.
|
|
83
|
+
agent.evolve.generation = Generación
|
|
84
|
+
agent.evolve.maxgen_limit = Máxima generación alcanzada, saliendo.
|
|
85
|
+
agent.evolve.option.max_generations = Máximas generaciones
|
|
86
|
+
agent.evolve.option.num_parents = Número de padres
|
|
87
|
+
agent.evolve.running = Agente en ejecución
|
|
88
|
+
agent.evolve.winner = Ganador: agente
|
|
75
89
|
agent.infinity.confirm.content = ADVERTENCIA: ¡Estás intentando ejecutar un bucle infinito! Esto puede causar un uso intensivo de tokens. ¿Estás seguro de que deseas continuar?
|
|
90
|
+
agent.name.supervisor = Supervisor
|
|
91
|
+
agent.name.worker = Trabajador
|
|
92
|
+
agent.option.model = Modelo
|
|
93
|
+
agent.option.name = Nombre
|
|
94
|
+
agent.option.prompt = Prompt
|
|
95
|
+
agent.option.prompt.b1.desc = Prompt para bot 1
|
|
96
|
+
agent.option.prompt.b2.desc = Prompt para bot 2
|
|
97
|
+
agent.option.prompt.base.desc = Prompt para Agente Base
|
|
98
|
+
agent.option.prompt.chooser.desc = Prompt para agente selector
|
|
99
|
+
agent.option.prompt.feedback.desc = Prompt para evaluación de feedback
|
|
100
|
+
agent.option.prompt.planner.desc = Prompt para agente planificador
|
|
101
|
+
agent.option.prompt.search.desc = Prompt para agente de búsqueda
|
|
102
|
+
agent.option.prompt.supervisor.desc = Prompt para Supervisor
|
|
103
|
+
agent.option.prompt.worker.desc = Prompt para Trabajador
|
|
104
|
+
agent.option.section.base = Agente base
|
|
105
|
+
agent.option.section.chooser = Selector
|
|
106
|
+
agent.option.section.feedback = Feedback
|
|
107
|
+
agent.option.section.planner = Planificador
|
|
108
|
+
agent.option.section.search = Búsqueda
|
|
109
|
+
agent.option.section.supervisor = Supervisor
|
|
110
|
+
agent.option.section.worker = Trabajador
|
|
111
|
+
agent.option.section.writer = Escritor
|
|
112
|
+
agent.option.tools.local = Permitir herramientas locales
|
|
113
|
+
agent.option.tools.local.desc = Permitir uso de herramientas locales para este agente
|
|
114
|
+
agent.option.tools.remote = Permitir herramientas remotas
|
|
115
|
+
agent.option.tools.remote.desc = Permitir uso de herramientas remotas para este agente
|
|
116
|
+
agent.planner.plan.label = Planificador (inicial)
|
|
117
|
+
agent.planner.plan.prompt.desc = Prompt del plan inicial
|
|
118
|
+
agent.planner.refine.label = Planificador (refinamiento)
|
|
119
|
+
agent.planner.refine.prompt.desc = Prompt de refinamiento del plan
|
|
120
|
+
agent.planner.step.label = Ejecutar prompt
|
|
121
|
+
agent.planner.step.prompt.desc = Pasos ejecutar prompt
|
|
76
122
|
alert.preset.empty_id = Se requiere un nombre.
|
|
77
123
|
alert.preset.no_chat_completion = Se requiere al menos una de las siguientes: chat, finalización, img o visión.
|
|
78
124
|
alert.snap.file_manager = Se detectó un snapshot. Por favor, abra el directorio manualmente en su gestor de archivos:
|
|
@@ -72,7 +72,53 @@ action.use.read_cmd = Demander à lire ce fichier...
|
|
|
72
72
|
action.video.open = Ouvrir une vidéo ou un audio...
|
|
73
73
|
action.video.play = Lire une vidéo ou un audio...
|
|
74
74
|
action.video.transcribe = Transcrire l'audio...
|
|
75
|
+
agent.coder.additional.label = Prompt supplémentaire
|
|
76
|
+
agent.coder.additional.prompt.desc = Prompt supplémentaire pour l'agent (sera ajouté au prompt de base)
|
|
77
|
+
agent.coder.base.label = Prompt de base
|
|
78
|
+
agent.coder.base.prompt.desc = Exécuter le code prompt (initial)
|
|
79
|
+
agent.eval.feedback = Feedback
|
|
80
|
+
agent.eval.next = Réexécution avec feedback
|
|
81
|
+
agent.eval.score = Score de l'évaluateur
|
|
82
|
+
agent.eval.score.good = Réponse suffisamment bonne, sortie.
|
|
83
|
+
agent.evolve.generation = Génération
|
|
84
|
+
agent.evolve.maxgen_limit = Nombre maximal de générations atteint, sortie.
|
|
85
|
+
agent.evolve.option.max_generations = Générations max
|
|
86
|
+
agent.evolve.option.num_parents = Nombre de parents
|
|
87
|
+
agent.evolve.running = Agent en cours d'exécution
|
|
88
|
+
agent.evolve.winner = Gagnant : agent
|
|
75
89
|
agent.infinity.confirm.content = AVERTISSEMENT : Vous êtes sur le point de lancer une boucle infinie ! Cela pourrait entraîner une consommation élevée de jetons. Êtes-vous sûr de vouloir continuer ?
|
|
90
|
+
agent.name.supervisor = Superviseur
|
|
91
|
+
agent.name.worker = Travailleur
|
|
92
|
+
agent.option.model = Modèle
|
|
93
|
+
agent.option.name = Nom
|
|
94
|
+
agent.option.prompt = Prompt
|
|
95
|
+
agent.option.prompt.b1.desc = Prompt pour bot 1
|
|
96
|
+
agent.option.prompt.b2.desc = Prompt pour bot 2
|
|
97
|
+
agent.option.prompt.base.desc = Prompt pour agent de base
|
|
98
|
+
agent.option.prompt.chooser.desc = Prompt pour agent choississeur
|
|
99
|
+
agent.option.prompt.feedback.desc = Prompt pour évaluation du feedback
|
|
100
|
+
agent.option.prompt.planner.desc = Prompt pour agent planificateur
|
|
101
|
+
agent.option.prompt.search.desc = Prompt pour agent de recherche
|
|
102
|
+
agent.option.prompt.supervisor.desc = Prompt pour superviseur
|
|
103
|
+
agent.option.prompt.worker.desc = Prompt pour travailleur
|
|
104
|
+
agent.option.section.base = Agent de base
|
|
105
|
+
agent.option.section.chooser = Choisisseur
|
|
106
|
+
agent.option.section.feedback = Feedback
|
|
107
|
+
agent.option.section.planner = Planificateur
|
|
108
|
+
agent.option.section.search = Recherche
|
|
109
|
+
agent.option.section.supervisor = Superviseur
|
|
110
|
+
agent.option.section.worker = Travailleur
|
|
111
|
+
agent.option.section.writer = Écrivain
|
|
112
|
+
agent.option.tools.local = Autoriser les outils locaux
|
|
113
|
+
agent.option.tools.local.desc = Autoriser l'utilisation des outils locaux pour cet agent
|
|
114
|
+
agent.option.tools.remote = Autoriser les outils distants
|
|
115
|
+
agent.option.tools.remote.desc = Autoriser l'utilisation des outils distants pour cet agent
|
|
116
|
+
agent.planner.plan.label = Planificateur (initial)
|
|
117
|
+
agent.planner.plan.prompt.desc = Prompt initial du plan
|
|
118
|
+
agent.planner.refine.label = Planificateur (raffinement)
|
|
119
|
+
agent.planner.refine.prompt.desc = Prompt de raffinement du plan
|
|
120
|
+
agent.planner.step.label = Exécuter le prompt
|
|
121
|
+
agent.planner.step.prompt.desc = Étapes d'exécution du prompt
|
|
76
122
|
alert.preset.empty_id = Le nom est requis.
|
|
77
123
|
alert.preset.no_chat_completion = Au moins une des options suivantes est requise : chat, complétion, img ou vision !
|
|
78
124
|
alert.snap.file_manager = Snap détecté. Veuillez ouvrir le répertoire manuellement dans votre gestionnaire de fichiers :
|
|
@@ -72,7 +72,53 @@ action.use.read_cmd = Chiedi di leggere questo file...
|
|
|
72
72
|
action.video.open = Apri video o audio...
|
|
73
73
|
action.video.play = Riproduci video o audio...
|
|
74
74
|
action.video.transcribe = Trascrivi audio...
|
|
75
|
+
agent.coder.additional.label = Prompt aggiuntivo
|
|
76
|
+
agent.coder.additional.prompt.desc = Prompt aggiuntivo per l'agente (verrà aggiunto al prompt di base)
|
|
77
|
+
agent.coder.base.label = Prompt di base
|
|
78
|
+
agent.coder.base.prompt.desc = Esecuzione codice prompt (iniziale)
|
|
79
|
+
agent.eval.feedback = Feedback
|
|
80
|
+
agent.eval.next = Riesecuzione con feedback
|
|
81
|
+
agent.eval.score = Punteggio valutatore
|
|
82
|
+
agent.eval.score.good = Risposta abbastanza buona, uscita.
|
|
83
|
+
agent.evolve.generation = Generazione
|
|
84
|
+
agent.evolve.maxgen_limit = Limite di generazioni massime raggiunto, uscita.
|
|
85
|
+
agent.evolve.option.max_generations = Generazioni massime
|
|
86
|
+
agent.evolve.option.num_parents = Numero di genitori
|
|
87
|
+
agent.evolve.running = Agente in esecuzione
|
|
88
|
+
agent.evolve.winner = Vincitore: agente
|
|
75
89
|
agent.infinity.confirm.content = AVVERTIMENTO: Stai tentando di eseguire un ciclo infinito! Questo potrebbe causare un uso elevato di token. Sei sicuro di voler continuare?
|
|
90
|
+
agent.name.supervisor = Supervisore
|
|
91
|
+
agent.name.worker = Lavoratore
|
|
92
|
+
agent.option.model = Modello
|
|
93
|
+
agent.option.name = Nome
|
|
94
|
+
agent.option.prompt = Prompt
|
|
95
|
+
agent.option.prompt.b1.desc = Prompt per bot 1
|
|
96
|
+
agent.option.prompt.b2.desc = Prompt per bot 2
|
|
97
|
+
agent.option.prompt.base.desc = Prompt per agente base
|
|
98
|
+
agent.option.prompt.chooser.desc = Prompt per agente selezionatore
|
|
99
|
+
agent.option.prompt.feedback.desc = Prompt per valutazione feedback
|
|
100
|
+
agent.option.prompt.planner.desc = Prompt per agente pianificatore
|
|
101
|
+
agent.option.prompt.search.desc = Prompt per agente di ricerca
|
|
102
|
+
agent.option.prompt.supervisor.desc = Prompt per Supervisore
|
|
103
|
+
agent.option.prompt.worker.desc = Prompt per Lavoratore
|
|
104
|
+
agent.option.section.base = Agente Base
|
|
105
|
+
agent.option.section.chooser = Scegliere
|
|
106
|
+
agent.option.section.feedback = Feedback
|
|
107
|
+
agent.option.section.planner = Pianificatore
|
|
108
|
+
agent.option.section.search = Ricerca
|
|
109
|
+
agent.option.section.supervisor = Supervisore
|
|
110
|
+
agent.option.section.worker = Lavoratore
|
|
111
|
+
agent.option.section.writer = Scrittore
|
|
112
|
+
agent.option.tools.local = Consenti strumenti locali
|
|
113
|
+
agent.option.tools.local.desc = Consenti utilizzo strumenti locali per questo agente
|
|
114
|
+
agent.option.tools.remote = Consenti strumenti remoti
|
|
115
|
+
agent.option.tools.remote.desc = Consenti utilizzo strumenti remoti per questo agente
|
|
116
|
+
agent.planner.plan.label = Pianificatore (iniziale)
|
|
117
|
+
agent.planner.plan.prompt.desc = Prompt del piano iniziale
|
|
118
|
+
agent.planner.refine.label = Pianificatore (raffinamento)
|
|
119
|
+
agent.planner.refine.prompt.desc = Prompt di raffinamento del piano
|
|
120
|
+
agent.planner.step.label = Esegui prompt
|
|
121
|
+
agent.planner.step.prompt.desc = Esecuzione dei passi del prompt
|
|
76
122
|
alert.preset.empty_id = Il nome è richiesto.
|
|
77
123
|
alert.preset.no_chat_completion = È richiesta almeno una delle opzioni: chat, completamento, immagine o visione!
|
|
78
124
|
alert.snap.file_manager = Rilevato Snap. Apri la cartella manualmente nel file manager:
|
|
@@ -72,7 +72,53 @@ action.use.read_cmd = Poproś o odczytanie tego pliku...
|
|
|
72
72
|
action.video.open = Otwórz wideo lub audio...
|
|
73
73
|
action.video.play = Odtwórz wideo lub audio...
|
|
74
74
|
action.video.transcribe = Przepisz dźwięk...
|
|
75
|
+
agent.coder.additional.label = Dodatkowy prompt
|
|
76
|
+
agent.coder.additional.prompt.desc = Dodatkowy prompt dla agenta (zostanie dodany do podstawowego promptu)
|
|
77
|
+
agent.coder.base.label = Podstawowy prompt
|
|
78
|
+
agent.coder.base.prompt.desc = Wykonywanie kodu promptu (wstępny)
|
|
79
|
+
agent.eval.feedback = Feedback
|
|
80
|
+
agent.eval.next = Ponowne uruchomienie z feedbackiem
|
|
81
|
+
agent.eval.score = Ocena ewaluatora
|
|
82
|
+
agent.eval.score.good = Odpowiedź wystarczająco dobra, wychodzenie.
|
|
83
|
+
agent.evolve.generation = Generacja
|
|
84
|
+
agent.evolve.maxgen_limit = Osiągnięto maksymalną liczbę generacji, wychodzenie.
|
|
85
|
+
agent.evolve.option.max_generations = Maksymalna liczba generacji
|
|
86
|
+
agent.evolve.option.num_parents = Liczba rodziców
|
|
87
|
+
agent.evolve.running = Działający agent
|
|
88
|
+
agent.evolve.winner = Zwycięzca: agent
|
|
75
89
|
agent.infinity.confirm.content = UWAGA: Próbujesz uruchomić nieskończoną pętlę! Może to spowodować intensywne zużycie tokenów. Czy na pewno chcesz kontynuować?
|
|
90
|
+
agent.name.supervisor = Supervisor
|
|
91
|
+
agent.name.worker = Worker
|
|
92
|
+
agent.option.model = Model
|
|
93
|
+
agent.option.name = Nazwa
|
|
94
|
+
agent.option.prompt = Prompt
|
|
95
|
+
agent.option.prompt.b1.desc = Prompt dla bota 1
|
|
96
|
+
agent.option.prompt.b2.desc = Prompt dla bota 2
|
|
97
|
+
agent.option.prompt.base.desc = Prompt dla agenta bazowego
|
|
98
|
+
agent.option.prompt.chooser.desc = Prompt dla agenta wybieracza
|
|
99
|
+
agent.option.prompt.feedback.desc = Prompt do ewaluacji feedbacku
|
|
100
|
+
agent.option.prompt.planner.desc = Prompt dla agenta planisty
|
|
101
|
+
agent.option.prompt.search.desc = Prompt dla agenta wyszukującego
|
|
102
|
+
agent.option.prompt.supervisor.desc = Prompt dla Supervisora
|
|
103
|
+
agent.option.prompt.worker.desc = Prompt dla Workera
|
|
104
|
+
agent.option.section.base = Agent bazowy
|
|
105
|
+
agent.option.section.chooser = Wybieracz
|
|
106
|
+
agent.option.section.feedback = Feedback
|
|
107
|
+
agent.option.section.planner = Planista
|
|
108
|
+
agent.option.section.search = Wyszukiwanie
|
|
109
|
+
agent.option.section.supervisor = Supervisor
|
|
110
|
+
agent.option.section.worker = Worker
|
|
111
|
+
agent.option.section.writer = Piszący
|
|
112
|
+
agent.option.tools.local = Pozwól na lokalne narzędzia
|
|
113
|
+
agent.option.tools.local.desc = Pozwól na użycie lokalnych narzędzi dla tego agenta
|
|
114
|
+
agent.option.tools.remote = Pozwól na zdalne narzędzia
|
|
115
|
+
agent.option.tools.remote.desc = Pozwól na użycie zdalnych narzędzi dla tego agenta
|
|
116
|
+
agent.planner.plan.label = Planista (wstępny)
|
|
117
|
+
agent.planner.plan.prompt.desc = Wstępny prompt planu
|
|
118
|
+
agent.planner.refine.label = Planista (refine)
|
|
119
|
+
agent.planner.refine.prompt.desc = Refine prompt planu
|
|
120
|
+
agent.planner.step.label = Wykonaj prompt
|
|
121
|
+
agent.planner.step.prompt.desc = Wykonywanie kroków promptu
|
|
76
122
|
alert.preset.empty_id = Podanie nazwy jest wymagane.
|
|
77
123
|
alert.preset.no_chat_completion = Przynajmniej jedna opcja: czat, completion, obraz albo wizja jest wymagana!
|
|
78
124
|
alert.snap.file_manager = Uruchomiono za pomocą Snap-a. Proszę otworzyć katalog manualnie za pomocą przeglądarki plików:
|
|
@@ -113,7 +159,7 @@ attachments.auto_index = Auto-indeksacja przy przesyłaniu
|
|
|
113
159
|
attachments.btn.add = Dodaj plik
|
|
114
160
|
attachments.btn.add_url = Sieć
|
|
115
161
|
attachments.btn.clear = Wyczyść
|
|
116
|
-
attachments.btn.input.add = Dodaj załącznik
|
|
162
|
+
attachments.btn.input.add = Dodaj załącznik
|
|
117
163
|
attachments.capture_clear = Wyczyść przy przechwytywaniu
|
|
118
164
|
attachments.clear.confirm = Wyczyścić listę plików?
|
|
119
165
|
attachments.ctx.indexed = Tak
|
|
@@ -72,7 +72,53 @@ action.use.read_cmd = Попросіть прочитати цей файл...
|
|
|
72
72
|
action.video.open = Відкрити відео або аудіо...
|
|
73
73
|
action.video.play = Відтворити відео або аудіо...
|
|
74
74
|
action.video.transcribe = Транскрибувати аудіо...
|
|
75
|
+
agent.coder.additional.label = Додаткова підказка
|
|
76
|
+
agent.coder.additional.prompt.desc = Додаткова підказка для агента (буде додано до базової підказки)
|
|
77
|
+
agent.coder.base.label = Базова підказка
|
|
78
|
+
agent.coder.base.prompt.desc = Виконання коду підказки (початковий)
|
|
79
|
+
agent.eval.feedback = Відгук
|
|
80
|
+
agent.eval.next = Повторне виконання з відгуком
|
|
81
|
+
agent.eval.score = Оцінка оцінювача
|
|
82
|
+
agent.eval.score.good = Відповідь достатньо добра, вихід.
|
|
83
|
+
agent.evolve.generation = Покоління
|
|
84
|
+
agent.evolve.maxgen_limit = Досягнуто максимуму поколінь, вихід.
|
|
85
|
+
agent.evolve.option.max_generations = Максимум поколінь
|
|
86
|
+
agent.evolve.option.num_parents = Кількість батьків
|
|
87
|
+
agent.evolve.running = Агент працює
|
|
88
|
+
agent.evolve.winner = Переможець: агент
|
|
75
89
|
agent.infinity.confirm.content = ПОПЕРЕДЖЕННЯ: Ви намагаєтеся запустити нескінченний цикл! Це може призвести до інтенсивного використання токенів. Ви впевнені, що хочете продовжити?
|
|
90
|
+
agent.name.supervisor = Супервізор
|
|
91
|
+
agent.name.worker = Працiвник
|
|
92
|
+
agent.option.model = Модель
|
|
93
|
+
agent.option.name = Ім'я
|
|
94
|
+
agent.option.prompt = Підказка
|
|
95
|
+
agent.option.prompt.b1.desc = Підказка для бота 1
|
|
96
|
+
agent.option.prompt.b2.desc = Підказка для бота 2
|
|
97
|
+
agent.option.prompt.base.desc = Підказка для базового агента
|
|
98
|
+
agent.option.prompt.chooser.desc = Підказка для виборчого агента
|
|
99
|
+
agent.option.prompt.feedback.desc = Підказка для оцінки відгуків
|
|
100
|
+
agent.option.prompt.planner.desc = Підказка для планувального агента
|
|
101
|
+
agent.option.prompt.search.desc = Підказка для пошукового агента
|
|
102
|
+
agent.option.prompt.supervisor.desc = Підказка для супервізора
|
|
103
|
+
agent.option.prompt.worker.desc = Підказка для працівника
|
|
104
|
+
agent.option.section.base = Базовий агент
|
|
105
|
+
agent.option.section.chooser = Вибирач
|
|
106
|
+
agent.option.section.feedback = Відгук
|
|
107
|
+
agent.option.section.planner = Планувальник
|
|
108
|
+
agent.option.section.search = Пошук
|
|
109
|
+
agent.option.section.supervisor = Супервізор
|
|
110
|
+
agent.option.section.worker = Працівник
|
|
111
|
+
agent.option.section.writer = Письменник
|
|
112
|
+
agent.option.tools.local = Дозволити локальні інструменти
|
|
113
|
+
agent.option.tools.local.desc = Дозволити використання локальних інструментів для цього агента
|
|
114
|
+
agent.option.tools.remote = Дозволити віддалені інструменти
|
|
115
|
+
agent.option.tools.remote.desc = Дозволити використання віддалених інструментів для цього агента
|
|
116
|
+
agent.planner.plan.label = Планувальник (початковий)
|
|
117
|
+
agent.planner.plan.prompt.desc = Початкова підказка плану
|
|
118
|
+
agent.planner.refine.label = Планувальник (уточнення)
|
|
119
|
+
agent.planner.refine.prompt.desc = Уточнення підказки плану
|
|
120
|
+
agent.planner.step.label = Виконати підказку
|
|
121
|
+
agent.planner.step.prompt.desc = Кроки виконання підказки
|
|
76
122
|
alert.preset.empty_id = Назва є обов'язковою.
|
|
77
123
|
alert.preset.no_chat_completion = Потрібно хоча б одне з: чат, завершення, зображення або візуальна опція!
|
|
78
124
|
alert.snap.file_manager = Виявлено Snap. Будь ласка, відкрийте директорію вручну у вашому файловому менеджері:
|
|
@@ -72,7 +72,53 @@ action.use.read_cmd = 請求讀取此文件...
|
|
|
72
72
|
action.video.open = 打开视频或音频...
|
|
73
73
|
action.video.play = 播放视频或音频...
|
|
74
74
|
action.video.transcribe = 转录音频...
|
|
75
|
+
agent.coder.additional.label = 额外提示
|
|
76
|
+
agent.coder.additional.prompt.desc = 代理的额外提示(将添加到基础提示)
|
|
77
|
+
agent.coder.base.label = 基础提示
|
|
78
|
+
agent.coder.base.prompt.desc = 代码执行提示(初始)
|
|
79
|
+
agent.eval.feedback = 反馈
|
|
80
|
+
agent.eval.next = 重新运行并反馈
|
|
81
|
+
agent.eval.score = 评估分数
|
|
82
|
+
agent.eval.score.good = 响应足够好,退出。
|
|
83
|
+
agent.evolve.generation = 代
|
|
84
|
+
agent.evolve.maxgen_limit = 达到最大代数,退出。
|
|
85
|
+
agent.evolve.option.max_generations = 最大代数
|
|
86
|
+
agent.evolve.option.num_parents = 父母数量
|
|
87
|
+
agent.evolve.running = 运行中代理
|
|
88
|
+
agent.evolve.winner = 胜者:代理
|
|
75
89
|
agent.infinity.confirm.content = 警告:您正在嘗試運行無限循環!這可能會導致大量令牌使用。您確定要繼續嗎?
|
|
90
|
+
agent.name.supervisor = 监督者
|
|
91
|
+
agent.name.worker = 工作者
|
|
92
|
+
agent.option.model = 模型
|
|
93
|
+
agent.option.name = 名称
|
|
94
|
+
agent.option.prompt = 提示
|
|
95
|
+
agent.option.prompt.b1.desc = 机器人1的提示
|
|
96
|
+
agent.option.prompt.b2.desc = 机器人2的提示
|
|
97
|
+
agent.option.prompt.base.desc = 基础代理的提示
|
|
98
|
+
agent.option.prompt.chooser.desc = 选择器代理的提示
|
|
99
|
+
agent.option.prompt.feedback.desc = 反馈评估提示
|
|
100
|
+
agent.option.prompt.planner.desc = 规划代理的提示
|
|
101
|
+
agent.option.prompt.search.desc = 搜索代理的提示
|
|
102
|
+
agent.option.prompt.supervisor.desc = 监督者的提示
|
|
103
|
+
agent.option.prompt.worker.desc = 工作者的提示
|
|
104
|
+
agent.option.section.base = 基础代理
|
|
105
|
+
agent.option.section.chooser = 选择器
|
|
106
|
+
agent.option.section.feedback = 反馈
|
|
107
|
+
agent.option.section.planner = 规划者
|
|
108
|
+
agent.option.section.search = 搜索
|
|
109
|
+
agent.option.section.supervisor = 监督者
|
|
110
|
+
agent.option.section.worker = 工作者
|
|
111
|
+
agent.option.section.writer = 写作者
|
|
112
|
+
agent.option.tools.local = 允许本地工具
|
|
113
|
+
agent.option.tools.local.desc = 允许该代理使用本地工具
|
|
114
|
+
agent.option.tools.remote = 允许远程工具
|
|
115
|
+
agent.option.tools.remote.desc = 允许该代理使用远程工具
|
|
116
|
+
agent.planner.plan.label = 规划者(初始)
|
|
117
|
+
agent.planner.plan.prompt.desc = 初始计划提示
|
|
118
|
+
agent.planner.refine.label = 规划者(精炼)
|
|
119
|
+
agent.planner.refine.prompt.desc = 计划精炼提示
|
|
120
|
+
agent.planner.step.label = 执行提示
|
|
121
|
+
agent.planner.step.prompt.desc = 执行步骤提示
|
|
76
122
|
alert.preset.empty_id = 名稱是必需的。
|
|
77
123
|
alert.preset.no_chat_completion = 至少需要一個:聊天、完成、圖像或視覺選項!
|
|
78
124
|
alert.snap.file_manager = 檢測到快照。請在文件管理器中手動打開目錄:
|
|
@@ -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: 2025.08.
|
|
9
|
+
# Updated Date: 2025.08.26 01:00:00 #
|
|
10
10
|
# ================================================== #
|
|
11
11
|
|
|
12
12
|
from typing import Dict, Any
|
|
@@ -16,6 +16,7 @@ from pygpt_net.core.types import (
|
|
|
16
16
|
AGENT_MODE_WORKFLOW,
|
|
17
17
|
AGENT_TYPE_LLAMA,
|
|
18
18
|
)
|
|
19
|
+
from pygpt_net.utils import trans
|
|
19
20
|
|
|
20
21
|
from .workflow.codeact import DEFAULT_CODE_ACT_PROMPT
|
|
21
22
|
from ..base import BaseAgent
|
|
@@ -71,23 +72,23 @@ class CodeActAgent(BaseAgent):
|
|
|
71
72
|
"""
|
|
72
73
|
return {
|
|
73
74
|
"base": {
|
|
74
|
-
"label": "
|
|
75
|
+
"label": trans("agent.coder.base.label"),
|
|
75
76
|
"options": {
|
|
76
77
|
"prompt": {
|
|
77
78
|
"type": "textarea",
|
|
78
|
-
"label": "
|
|
79
|
-
"description": "
|
|
79
|
+
"label": trans("agent.option.prompt"),
|
|
80
|
+
"description": trans("agent.coder.base.prompt.desc"),
|
|
80
81
|
"default": DEFAULT_CODE_ACT_PROMPT,
|
|
81
82
|
},
|
|
82
83
|
}
|
|
83
84
|
},
|
|
84
85
|
"additional": {
|
|
85
|
-
"label": "
|
|
86
|
+
"label": trans("agent.coder.additional.label"),
|
|
86
87
|
"options": {
|
|
87
88
|
"prompt": {
|
|
88
89
|
"type": "textarea",
|
|
89
|
-
"label": "
|
|
90
|
-
"description": "
|
|
90
|
+
"label": trans("agent.option.prompt"),
|
|
91
|
+
"description": trans("agent.coder.additional.prompt.desc"),
|
|
91
92
|
"default": "",
|
|
92
93
|
},
|
|
93
94
|
}
|
|
@@ -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: 2025.08.
|
|
9
|
+
# Updated Date: 2025.08.26 01:00:00 #
|
|
10
10
|
# ================================================== #
|
|
11
11
|
|
|
12
12
|
from typing import Dict, Any, List
|
|
@@ -19,6 +19,7 @@ from pygpt_net.core.types import (
|
|
|
19
19
|
from llama_index.core.llms.llm import LLM
|
|
20
20
|
from llama_index.core.tools.types import BaseTool
|
|
21
21
|
|
|
22
|
+
from pygpt_net.utils import trans
|
|
22
23
|
from .workflow.planner import (
|
|
23
24
|
DEFAULT_INITIAL_PLAN_PROMPT,
|
|
24
25
|
DEFAULT_PLAN_REFINE_PROMPT,
|
|
@@ -80,34 +81,34 @@ class PlannerAgent(BaseAgent):
|
|
|
80
81
|
"""
|
|
81
82
|
return {
|
|
82
83
|
"step": {
|
|
83
|
-
"label": "
|
|
84
|
+
"label": trans("agent.planner.step.label"),
|
|
84
85
|
"options": {
|
|
85
86
|
"prompt": {
|
|
86
87
|
"type": "textarea",
|
|
87
|
-
"label": "
|
|
88
|
-
"description": "
|
|
88
|
+
"label": trans("agent.option.prompt"),
|
|
89
|
+
"description": trans("agent.planner.step.prompt.desc"),
|
|
89
90
|
"default": DEFAULT_EXECUTE_PROMPT,
|
|
90
91
|
},
|
|
91
92
|
}
|
|
92
93
|
},
|
|
93
94
|
"plan": {
|
|
94
|
-
"label": "
|
|
95
|
+
"label": trans("agent.planner.plan.label"),
|
|
95
96
|
"options": {
|
|
96
97
|
"prompt": {
|
|
97
98
|
"type": "textarea",
|
|
98
|
-
"label": "
|
|
99
|
-
"description": "
|
|
99
|
+
"label": trans("agent.option.prompt"),
|
|
100
|
+
"description": trans("agent.planner.plan.prompt.desc"),
|
|
100
101
|
"default": DEFAULT_INITIAL_PLAN_PROMPT,
|
|
101
102
|
},
|
|
102
103
|
}
|
|
103
104
|
},
|
|
104
105
|
"plan_refine": {
|
|
105
|
-
"label": "
|
|
106
|
+
"label": trans("agent.planner.refine.label"),
|
|
106
107
|
"options": {
|
|
107
108
|
"prompt": {
|
|
108
109
|
"type": "textarea",
|
|
109
|
-
"label": "
|
|
110
|
-
"description": "
|
|
110
|
+
"label": trans("agent.option.prompt"),
|
|
111
|
+
"description": trans("agent.planner.refine.prompt.desc"),
|
|
111
112
|
"default": DEFAULT_PLAN_REFINE_PROMPT,
|
|
112
113
|
},
|
|
113
114
|
}
|
|
@@ -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: 2025.08.
|
|
9
|
+
# Updated Date: 2025.08.26 01:00:00 #
|
|
10
10
|
# ================================================== #
|
|
11
11
|
|
|
12
12
|
from typing import Dict, Any, List
|
|
@@ -19,6 +19,7 @@ from pygpt_net.core.types import (
|
|
|
19
19
|
from llama_index.core.llms.llm import LLM
|
|
20
20
|
from llama_index.core.tools.types import BaseTool
|
|
21
21
|
|
|
22
|
+
from pygpt_net.utils import trans
|
|
22
23
|
from .workflow.supervisor import (
|
|
23
24
|
get_workflow,
|
|
24
25
|
SUPERVISOR_PROMPT,
|
|
@@ -86,29 +87,29 @@ class SupervisorAgent(BaseAgent):
|
|
|
86
87
|
"""
|
|
87
88
|
return {
|
|
88
89
|
"supervisor": {
|
|
89
|
-
"label": "
|
|
90
|
+
"label": trans("agent.option.section.supervisor"),
|
|
90
91
|
"options": {
|
|
91
92
|
"prompt": {
|
|
92
93
|
"type": "textarea",
|
|
93
|
-
"label": "
|
|
94
|
-
"description": "
|
|
94
|
+
"label": trans("agent.option.prompt"),
|
|
95
|
+
"description": trans("agent.option.prompt.supervisor.desc"),
|
|
95
96
|
"default": SUPERVISOR_PROMPT,
|
|
96
97
|
},
|
|
97
98
|
}
|
|
98
99
|
},
|
|
99
100
|
"worker": {
|
|
100
|
-
"label": "
|
|
101
|
+
"label": trans("agent.option.section.worker"),
|
|
101
102
|
"options": {
|
|
102
103
|
"model": {
|
|
103
|
-
"label": "
|
|
104
|
+
"label": trans("agent.option.model"),
|
|
104
105
|
"type": "combo",
|
|
105
106
|
"use": "models",
|
|
106
107
|
"default": "gpt-4o",
|
|
107
108
|
},
|
|
108
109
|
"prompt": {
|
|
109
110
|
"type": "textarea",
|
|
110
|
-
"label": "
|
|
111
|
-
"description": "
|
|
111
|
+
"label": trans("agent.option.prompt"),
|
|
112
|
+
"description": trans("agent.option.prompt.worker.desc"),
|
|
112
113
|
"default": WORKER_PROMPT,
|
|
113
114
|
},
|
|
114
115
|
}
|