Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(i18n): update translations and fix test references

Steven Enamakel6ac0200221f1
diff --git a/app/src/components/flows/canvas/nodeConfig/__tests__/nodeConfigForms.test.tsx b/app/src/components/flows/canvas/nodeConfig/__tests__/nodeConfigForms.test.tsx
index 87052028d8..8a7e06103f 100644
--- a/app/src/components/flows/canvas/nodeConfig/__tests__/nodeConfigForms.test.tsx
+++ b/app/src/components/flows/canvas/nodeConfig/__tests__/nodeConfigForms.test.tsx
@@ -90,12 +90,12 @@ describe('TransformForm', () => {
});
describe('AgentForm', () => {
- it('offers managed tiers and patches config.model with the chosen tier', () => {
+ it('offers workload role hints and patches config.model with the chosen one', () => {
const { onChange } = renderForm('agent', {});
fireEvent.change(screen.getByTestId('node-config-agent-model'), {
- target: { value: 'reasoning-v1' },
+ target: { value: 'hint:reasoning' },
});
- expect(onChange).toHaveBeenLastCalledWith({ model: 'reasoning-v1' });
+ expect(onChange).toHaveBeenLastCalledWith({ model: 'hint:reasoning' });
});
it('reveals a custom model input when Custom is selected', () => {
diff --git a/app/src/components/settings/panels/AgentEditorPage.test.tsx b/app/src/components/settings/panels/AgentEditorPage.test.tsx
index 1860e71010..51ab8a93ee 100644
--- a/app/src/components/settings/panels/AgentEditorPage.test.tsx
+++ b/app/src/components/settings/panels/AgentEditorPage.test.tsx
@@ -39,7 +39,7 @@ function agent(overrides: Partial<AgentRegistryEntry> = {}): AgentRegistryEntry
description: 'Crunches numbers.',
source: 'custom',
enabled: true,
- model: 'reasoning-v1',
+ model: 'hint:reasoning',
system_prompt: 'Be precise.',
tool_allowlist: ['memory.search'],
...overrides,
@@ -73,8 +73,8 @@ describe('AgentEditorPage', () => {
fireEvent.change(screen.getByLabelText('Name'), { target: { value: 'Helper' } });
fireEvent.change(screen.getByLabelText('Description'), { target: { value: 'Helps out.' } });
- // Model dropdown offers known tiers/hints.
- expect(screen.getByRole('option', { name: 'reasoning-v1' })).toBeInTheDocument();
+ // Model dropdown offers the workload role hints.
+ expect(screen.getByRole('option', { name: 'hint:reasoning' })).toBeInTheDocument();
fireEvent.change(screen.getByRole('combobox'), { target: { value: 'hint:coding' } });
fireEvent.click(screen.getByRole('button', { name: /Create agent/ }));
@@ -133,7 +133,7 @@ describe('AgentEditorPage', () => {
// Name is read-only in edit mode — no editable Name input is rendered.
expect(screen.queryByLabelText('Name')).toBeNull();
expect(screen.getByDisplayValue('Crunches numbers.')).toBeInTheDocument();
- expect((screen.getByRole('combobox') as HTMLSelectElement).value).toBe('reasoning-v1');
+ expect((screen.getByRole('combobox') as HTMLSelectElement).value).toBe('hint:reasoning');
fireEvent.change(screen.getByLabelText('Description'), { target: { value: 'Updated.' } });
fireEvent.click(screen.getByRole('button', { name: /^Save$/ }));
diff --git a/app/src/lib/i18n/ar.ts b/app/src/lib/i18n/ar.ts
index 04dd3ad91a..0cd354cc34 100644
--- a/app/src/lib/i18n/ar.ts
+++ b/app/src/lib/i18n/ar.ts
@@ -3735,7 +3735,7 @@ const messages: TranslationMap = {
'flows.nodeConfig.agent.agentRefLabel': 'الوكيل',
'flows.nodeConfig.agent.agentRefHint': 'شغّل هذه العقدة كوكيل مُسجَّل: تُطبَّق أدواته وضوابطه.',
'flows.nodeConfig.agent.agentRefInherit': 'افتراضي (مُنشئ سير العمل)',
- 'flows.nodeConfig.agent.modelManagedTiers': 'المستويات المُدارة',
+ 'flows.nodeConfig.agent.modelManagedTiers': 'أدوار أعباء العمل',
'flows.nodeConfig.agent.modelHints': 'تلميحات النموذج',
'flows.nodeConfig.agent.modelCustom': 'نموذج مخصص…',
'flows.nodeConfig.agent.modelCustomPlaceholder': 'مثل gpt-4o-mini',
diff --git a/app/src/lib/i18n/bn.ts b/app/src/lib/i18n/bn.ts
index f5ec909783..1563229586 100644
--- a/app/src/lib/i18n/bn.ts
+++ b/app/src/lib/i18n/bn.ts
@@ -3832,7 +3832,7 @@ const messages: TranslationMap = {
'flows.nodeConfig.agent.agentRefHint':
'এই নোডটি একটি নিবন্ধিত এজেন্ট হিসেবে চালান: এর সরঞ্জাম ও সুরক্ষা প্রযোজ্য।',
'flows.nodeConfig.agent.agentRefInherit': 'ডিফল্ট (ওয়ার্কফ্লো বিল্ডার)',
- 'flows.nodeConfig.agent.modelManagedTiers': 'পরিচালিত স্তর',
+ 'flows.nodeConfig.agent.modelManagedTiers': 'ওয়ার্কলোড ভূমিকা',
'flows.nodeConfig.agent.modelHints': 'মডেল ইঙ্গিত',
'flows.nodeConfig.agent.modelCustom': 'কাস্টম মডেল…',
'flows.nodeConfig.agent.modelCustomPlaceholder': 'যেমন gpt-4o-mini',
diff --git a/app/src/lib/i18n/de.ts b/app/src/lib/i18n/de.ts
index c85ab06358..51542d3783 100644
--- a/app/src/lib/i18n/de.ts
+++ b/app/src/lib/i18n/de.ts
@@ -3938,7 +3938,7 @@ const messages: TranslationMap = {
'flows.nodeConfig.agent.agentRefHint':
'Diesen Knoten als registrierten Agenten ausführen: dessen Tools und Schutzmechanismen gelten.',
'flows.nodeConfig.agent.agentRefInherit': 'Standard (Workflow-Builder)',
- 'flows.nodeConfig.agent.modelManagedTiers': 'Verwaltete Stufen',
+ 'flows.nodeConfig.agent.modelManagedTiers': 'Workload-Rollen',
'flows.nodeConfig.agent.modelHints': 'Modellhinweise',
'flows.nodeConfig.agent.modelCustom': 'Benutzerdefiniertes Modell…',
'flows.nodeConfig.agent.modelCustomPlaceholder': 'z. B. gpt-4o-mini',
diff --git a/app/src/lib/i18n/en.ts b/app/src/lib/i18n/en.ts
index 6e985434df..8fee985c52 100644
--- a/app/src/lib/i18n/en.ts
+++ b/app/src/lib/i18n/en.ts
@@ -4508,7 +4508,7 @@ const en: TranslationMap = {
'flows.nodeConfig.agent.modelHint': 'Pick a capability tier: the workspace resolves the model.',
'flows.nodeConfig.agent.modelInherit': 'Default (inherit)',
'flows.nodeConfig.agent.modelHints': 'Model hints',
- 'flows.nodeConfig.agent.modelManagedTiers': 'Managed tiers',
+ 'flows.nodeConfig.agent.modelManagedTiers': 'Workload roles',
'flows.nodeConfig.agent.modelCustom': 'Custom model…',
'flows.nodeConfig.agent.modelCustomPlaceholder': 'e.g. gpt-4o-mini',
'flows.nodeConfig.tool.slugLabel': 'Action',
diff --git a/app/src/lib/i18n/es.ts b/app/src/lib/i18n/es.ts
index ff34aa0908..206afb9f9a 100644
--- a/app/src/lib/i18n/es.ts
+++ b/app/src/lib/i18n/es.ts
@@ -3892,7 +3892,7 @@ const messages: TranslationMap = {
'flows.nodeConfig.agent.agentRefHint':
'Ejecuta este nodo como un agente registrado: se aplican sus herramientas y salvaguardas.',
'flows.nodeConfig.agent.agentRefInherit': 'Predeterminado (constructor de flujos)',
- 'flows.nodeConfig.agent.modelManagedTiers': 'Niveles gestionados',
+ 'flows.nodeConfig.agent.modelManagedTiers': 'Roles de carga de trabajo',
'flows.nodeConfig.agent.modelHints': 'Sugerencias de modelo',
'flows.nodeConfig.agent.modelCustom': 'Modelo personalizado…',
'flows.nodeConfig.agent.modelCustomPlaceholder': 'p. ej., gpt-4o-mini',
diff --git a/app/src/lib/i18n/fr.ts b/app/src/lib/i18n/fr.ts
index e7de0d7c4a..e2e929965d 100644
--- a/app/src/lib/i18n/fr.ts
+++ b/app/src/lib/i18n/fr.ts
@@ -3918,7 +3918,7 @@ const messages: TranslationMap = {
'flows.nodeConfig.agent.agentRefHint':
"Exécuter ce nœud comme un agent enregistré : ses outils et garde-fous s'appliquent.",
'flows.nodeConfig.agent.agentRefInherit': 'Par défaut (constructeur de workflow)',
- 'flows.nodeConfig.agent.modelManagedTiers': 'Niveaux gérés',
+ 'flows.nodeConfig.agent.modelManagedTiers': 'Rôles de charge de travail',
'flows.nodeConfig.agent.modelHints': 'Indications de modèle',
'flows.nodeConfig.agent.modelCustom': 'Modèle personnalisé…',
'flows.nodeConfig.agent.modelCustomPlaceholder': 'p. ex. gpt-4o-mini',
diff --git a/app/src/lib/i18n/hi.ts b/app/src/lib/i18n/hi.ts
index 1734f11696..e5e9881192 100644
--- a/app/src/lib/i18n/hi.ts
+++ b/app/src/lib/i18n/hi.ts
@@ -3830,7 +3830,7 @@ const messages: TranslationMap = {
'flows.nodeConfig.agent.agentRefHint':
'इस नोड को एक पंजीकृत एजेंट के रूप में चलाएँ: इसके उपकरण और सुरक्षा उपाय लागू होते हैं।',
'flows.nodeConfig.agent.agentRefInherit': 'डिफ़ॉल्ट (वर्कफ़्लो बिल्डर)',
- 'flows.nodeConfig.agent.modelManagedTiers': 'प्रबंधित स्तर',
+ 'flows.nodeConfig.agent.modelManagedTiers': 'वर्कलोड भूमिकाएँ',
'flows.nodeConfig.agent.modelHints': 'मॉडल संकेत',
'flows.nodeConfig.agent.modelCustom': 'कस्टम मॉडल…',
'flows.nodeConfig.agent.modelCustomPlaceholder': 'जैसे gpt-4o-mini',
diff --git a/app/src/lib/i18n/id.ts b/app/src/lib/i18n/id.ts
index 14ea00983a..a12e1844d2 100644
--- a/app/src/lib/i18n/id.ts
+++ b/app/src/lib/i18n/id.ts
@@ -3846,7 +3846,7 @@ const messages: TranslationMap = {
'flows.nodeConfig.agent.agentRefHint':
'Jalankan node ini sebagai agen terdaftar: alat dan pengamannya berlaku.',
'flows.nodeConfig.agent.agentRefInherit': 'Bawaan (pembuat alur kerja)',
- 'flows.nodeConfig.agent.modelManagedTiers': 'Tingkat terkelola',
+ 'flows.nodeConfig.agent.modelManagedTiers': 'Peran beban kerja',
'flows.nodeConfig.agent.modelHints': 'Petunjuk model',
'flows.nodeConfig.agent.modelCustom': 'Model kustom…',
'flows.nodeConfig.agent.modelCustomPlaceholder': 'mis. gpt-4o-mini',
diff --git a/app/src/lib/i18n/it.ts b/app/src/lib/i18n/it.ts
index 2c1cd41d77..b37fd7065f 100644
--- a/app/src/lib/i18n/it.ts
+++ b/app/src/lib/i18n/it.ts
@@ -3888,7 +3888,7 @@ const messages: TranslationMap = {
'flows.nodeConfig.agent.agentRefHint':
'Esegui questo nodo come agente registrato: si applicano i suoi strumenti e le sue protezioni.',
'flows.nodeConfig.agent.agentRefInherit': 'Predefinito (costruttore di flussi)',
- 'flows.nodeConfig.agent.modelManagedTiers': 'Livelli gestiti',
+ 'flows.nodeConfig.agent.modelManagedTiers': 'Ruoli del carico di lavoro',
'flows.nodeConfig.agent.modelHints': 'Suggerimenti modello',
'flows.nodeConfig.agent.modelCustom': 'Modello personalizzato…',
'flows.nodeConfig.agent.modelCustomPlaceholder': 'es. gpt-4o-mini',
diff --git a/app/src/lib/i18n/ko.ts b/app/src/lib/i18n/ko.ts
index 8f373a8284..4c5df19c9c 100644
--- a/app/src/lib/i18n/ko.ts
+++ b/app/src/lib/i18n/ko.ts
@@ -3784,7 +3784,7 @@ const messages: TranslationMap = {
'flows.nodeConfig.agent.agentRefHint':
'이 노드를 등록된 에이전트로 실행합니다: 해당 에이전트의 도구와 가드레일이 적용됩니다.',
'flows.nodeConfig.agent.agentRefInherit': '기본값 (워크플로 빌더)',
- 'flows.nodeConfig.agent.modelManagedTiers': '관리형 등급',
+ 'flows.nodeConfig.agent.modelManagedTiers': '워크로드 역할',
'flows.nodeConfig.agent.modelHints': '모델 힌트',
'flows.nodeConfig.agent.modelCustom': '사용자 지정 모델…',
'flows.nodeConfig.agent.modelCustomPlaceholder': '예: gpt-4o-mini',
diff --git a/app/src/lib/i18n/pl.ts b/app/src/lib/i18n/pl.ts
index c6c65dadfe..b51f2b5fe3 100644
--- a/app/src/lib/i18n/pl.ts
+++ b/app/src/lib/i18n/pl.ts
@@ -3879,7 +3879,7 @@ const messages: TranslationMap = {
'flows.nodeConfig.agent.agentRefHint':
'Uruchom ten węzeł jako zarejestrowanego agenta: obowiązują jego narzędzia i zabezpieczenia.',
'flows.nodeConfig.agent.agentRefInherit': 'Domyślny (kreator przepływów)',
- 'flows.nodeConfig.agent.modelManagedTiers': 'Zarządzane poziomy',
+ 'flows.nodeConfig.agent.modelManagedTiers': 'Role obciążeń',
'flows.nodeConfig.agent.modelHints': 'Wskazówki modelu',
'flows.nodeConfig.agent.modelCustom': 'Model niestandardowy…',
'flows.nodeConfig.agent.modelCustomPlaceholder': 'np. gpt-4o-mini',
diff --git a/app/src/lib/i18n/pt.ts b/app/src/lib/i18n/pt.ts
index 8d5a0977fe..20b63451c3 100644
--- a/app/src/lib/i18n/pt.ts
+++ b/app/src/lib/i18n/pt.ts
@@ -3885,7 +3885,7 @@ const messages: TranslationMap = {
'flows.nodeConfig.agent.agentRefHint':
'Executar este nó como um agente registrado: suas ferramentas e proteções se aplicam.',
'flows.nodeConfig.agent.agentRefInherit': 'Padrão (construtor de fluxos)',
- 'flows.nodeConfig.agent.modelManagedTiers': 'Níveis gerenciados',
+ 'flows.nodeConfig.agent.modelManagedTiers': 'Funções de carga de trabalho',
'flows.nodeConfig.agent.modelHints': 'Dicas de modelo',
'flows.nodeConfig.agent.modelCustom': 'Modelo personalizado…',
'flows.nodeConfig.agent.modelCustomPlaceholder': 'ex.: gpt-4o-mini',
diff --git a/app/src/lib/i18n/ru.ts b/app/src/lib/i18n/ru.ts
index 57759fb4be..4eef58aac2 100644
--- a/app/src/lib/i18n/ru.ts
+++ b/app/src/lib/i18n/ru.ts
@@ -3867,7 +3867,7 @@ const messages: TranslationMap = {
'flows.nodeConfig.agent.agentRefHint':
'Запускать этот узел как зарегистрированного агента: применяются его инструменты и ограничения.',
'flows.nodeConfig.agent.agentRefInherit': 'По умолчанию (конструктор рабочих процессов)',
- 'flows.nodeConfig.agent.modelManagedTiers': 'Управляемые уровни',
+ 'flows.nodeConfig.agent.modelManagedTiers': 'Роли рабочих нагрузок',
'flows.nodeConfig.agent.modelHints': 'Подсказки модели',
'flows.nodeConfig.agent.modelCustom': 'Пользовательская модель…',
'flows.nodeConfig.agent.modelCustomPlaceholder': 'например, gpt-4o-mini',
diff --git a/app/src/lib/i18n/zh-CN.ts b/app/src/lib/i18n/zh-CN.ts
index 5f78b67568..abe62d9f42 100644
--- a/app/src/lib/i18n/zh-CN.ts
+++ b/app/src/lib/i18n/zh-CN.ts
@@ -3608,7 +3608,7 @@ const messages: TranslationMap = {
'flows.nodeConfig.agent.agentRefLabel': '智能体',
'flows.nodeConfig.agent.agentRefHint': '将此节点作为已注册的智能体运行:其工具和防护措施将生效。',
'flows.nodeConfig.agent.agentRefInherit': '默认(工作流构建器)',
- 'flows.nodeConfig.agent.modelManagedTiers': '托管层级',
+ 'flows.nodeConfig.agent.modelManagedTiers': '工作负载角色',
'flows.nodeConfig.agent.modelHints': '模型提示',
'flows.nodeConfig.agent.modelCustom': '自定义模型…',
'flows.nodeConfig.agent.modelCustomPlaceholder': '例如 gpt-4o-mini',