feat: статья из Discover, локализация, подсказки

- Статья: заголовок + ссылка (truncate), title в URL, articleTitle в Message
- Локализация Sources, Research Progress, Answer, шагов, formingAnswer
- Подсказки: промпт без жёсткого примера, разнообразие, label 'Что ещё спросить'
- embeddedTranslations, countryToLocale, locale инструкция для LLM

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
home
2026-02-21 00:37:06 +03:00
parent f4d945a2b5
commit 3fa83bc605
68 changed files with 2301 additions and 345 deletions

View File

@@ -7,8 +7,10 @@ import SetupConfig from './SetupConfig';
const SetupWizard = ({
configSections,
envConfigRequired,
}: {
configSections: UIConfigSections;
envConfigRequired?: boolean;
}) => {
const [showWelcome, setShowWelcome] = useState(true);
const [showSetup, setShowSetup] = useState(false);
@@ -27,7 +29,7 @@ const SetupWizard = ({
await delay(1500);
setSetupState(2);
})();
}, []);
}, [envConfigRequired]);
return (
<div className="bg-light-primary dark:bg-dark-primary h-screen w-screen fixed inset-0 overflow-hidden">
@@ -112,6 +114,7 @@ const SetupWizard = ({
configSections={configSections}
setupState={setupState}
setSetupState={setSetupState}
envConfigRequired={envConfigRequired}
/>
</motion.div>
)}