diff --git a/locales/af.yaml b/locales/af.yaml index fd78cdb3f1e..a64e759c441 100644 --- a/locales/af.yaml +++ b/locales/af.yaml @@ -255,7 +255,7 @@ gateway: title: "**Titel:** {title}" created: "**Geskep:** {timestamp}" last_activity: "**Laaste aktiwiteit:** {timestamp}" - tokens: "**Sessiegebruik (kumulatief):** {tokens}" + tokens: "**Kumulatiewe API-tokens (elke oproep weer gestuur):** {tokens}" agent_running: "**Agent loop:** {state}" state_yes: "Ja ⚡" state_no: "Nee" diff --git a/locales/de.yaml b/locales/de.yaml index 1079cb8d28e..4b84f2e4b66 100644 --- a/locales/de.yaml +++ b/locales/de.yaml @@ -255,7 +255,7 @@ gateway: title: "**Titel:** {title}" created: "**Erstellt:** {timestamp}" last_activity: "**Letzte Aktivität:** {timestamp}" - tokens: "**Sitzungsnutzung (kumulativ):** {tokens}" + tokens: "**Kumulierte API-Tokens (bei jedem Aufruf erneut gesendet):** {tokens}" agent_running: "**Agent läuft:** {state}" state_yes: "Ja ⚡" state_no: "Nein" diff --git a/locales/en.yaml b/locales/en.yaml index 4d09efea410..93d7ffdc433 100644 --- a/locales/en.yaml +++ b/locales/en.yaml @@ -270,7 +270,7 @@ gateway: title: "**Title:** {title}" created: "**Created:** {timestamp}" last_activity: "**Last Activity:** {timestamp}" - tokens: "**Session usage (cumulative):** {tokens}" + tokens: "**Cumulative API tokens (re-sent each call):** {tokens}" agent_running: "**Agent Running:** {state}" state_yes: "Yes ⚡" state_no: "No" diff --git a/locales/es.yaml b/locales/es.yaml index d798c4858de..6a3cccb66a4 100644 --- a/locales/es.yaml +++ b/locales/es.yaml @@ -255,7 +255,7 @@ gateway: title: "**Título:** {title}" created: "**Creado:** {timestamp}" last_activity: "**Última actividad:** {timestamp}" - tokens: "**Uso de sesión (acumulado):** {tokens}" + tokens: "**Tokens de API acumulados (reenviados en cada llamada):** {tokens}" agent_running: "**Agente activo:** {state}" state_yes: "Sí ⚡" state_no: "No" diff --git a/locales/pt.yaml b/locales/pt.yaml index cbba969500f..662971f08b7 100644 --- a/locales/pt.yaml +++ b/locales/pt.yaml @@ -255,7 +255,7 @@ gateway: title: "**Título:** {title}" created: "**Criada:** {timestamp}" last_activity: "**Última atividade:** {timestamp}" - tokens: "**Uso da sessão (cumulativo):** {tokens}" + tokens: "**Tokens de API cumulativos (reenviados a cada chamada):** {tokens}" agent_running: "**Agente em execução:** {state}" state_yes: "Sim ⚡" state_no: "Não" diff --git a/tests/gateway/test_status_command.py b/tests/gateway/test_status_command.py index 9ff824a8fff..0b88d271808 100644 --- a/tests/gateway/test_status_command.py +++ b/tests/gateway/test_status_command.py @@ -97,7 +97,7 @@ async def test_status_command_reports_running_agent_without_interrupt(monkeypatc result = await runner._handle_message(_make_event("/status")) assert "**Session ID:** `sess-1`" in result - assert "**Session usage (cumulative):** 321" in result + assert "**Cumulative API tokens (re-sent each call):** 321" in result assert "**Agent Running:** Yes ⚡" in result assert "**Title:**" not in result running_agent.interrupt.assert_not_called() @@ -150,7 +150,7 @@ async def test_status_command_reads_token_totals_from_session_db(): result = await runner._handle_message(_make_event("/status")) # 1000 + 250 + 500 + 100 + 50 = 1,900 - assert "**Session usage (cumulative):** 1,900" in result + assert "**Cumulative API tokens (re-sent each call):** 1,900" in result @pytest.mark.asyncio @@ -171,7 +171,7 @@ async def test_status_command_tokens_zero_when_session_db_row_missing(): result = await runner._handle_message(_make_event("/status")) - assert "**Session usage (cumulative):** 0" in result + assert "**Cumulative API tokens (re-sent each call):** 0" in result @pytest.mark.asyncio