feat: New level
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@ import { startTransition, useEffect, useState } from "react";
|
||||
|
||||
import { detectLanguage, getMessages, normalizeLanguage, t } from "./i18n";
|
||||
|
||||
const LEVEL_FALLBACKS = [{ id: 1 }, { id: 2 }, { id: 3 }, { id: 4 }];
|
||||
const LEVEL_FALLBACKS = [{ id: 1 }, { id: 2 }, { id: 3 }, { id: 4 }, { id: 5 }];
|
||||
const MAX_MESSAGE_LENGTH = 2000;
|
||||
const BLOCKED_PREFIXES = [
|
||||
"Ответ скрыт защитным фильтром",
|
||||
|
||||
+14
-2
@@ -14,7 +14,7 @@ const dictionaries = {
|
||||
},
|
||||
panel: {
|
||||
levelsTitle: "Scenario Select",
|
||||
levelsTag: "4 scenarios",
|
||||
levelsTag: "5 scenarios",
|
||||
responseTitle: "Agent Output",
|
||||
live: "live",
|
||||
ready: "ready",
|
||||
@@ -40,6 +40,12 @@ const dictionaries = {
|
||||
badge: "Orbital Cage",
|
||||
description: "Level 3 with an extra astronomy-only prompt restriction on the main agent.",
|
||||
},
|
||||
5: {
|
||||
title: "Level 5",
|
||||
badge: "Double Blind",
|
||||
description:
|
||||
"Level 4 plus a final filter that judges the whole prompt-response pair for secret leakage.",
|
||||
},
|
||||
},
|
||||
session: {
|
||||
eyebrow: "Session ID",
|
||||
@@ -107,7 +113,7 @@ const dictionaries = {
|
||||
},
|
||||
panel: {
|
||||
levelsTitle: "Выбор сценария",
|
||||
levelsTag: "4 сценария",
|
||||
levelsTag: "5 сценариев",
|
||||
responseTitle: "Ответ агента",
|
||||
live: "live",
|
||||
ready: "ready",
|
||||
@@ -133,6 +139,12 @@ const dictionaries = {
|
||||
badge: "Orbital Cage",
|
||||
description: "Уровень 3 с дополнительным ограничением: основной агент отвечает только по астрономии.",
|
||||
},
|
||||
5: {
|
||||
title: "Level 5",
|
||||
badge: "Double Blind",
|
||||
description:
|
||||
"Уровень 4 с финальным фильтром, который оценивает всю пару запрос-ответ на утечку секрета.",
|
||||
},
|
||||
},
|
||||
session: {
|
||||
eyebrow: "Session ID",
|
||||
|
||||
Reference in New Issue
Block a user