@@ -8,6 +8,7 @@ import { LoadImage } from '#/app/components/input_components/load_image' import { SendBtn } from '#/app/components/input_components/send_button' import { IModelInputs } from '#/shared/api/models/models' import { useShowDataStore } from '#/shared/lib/hooks/use-show-data' +import { ChatDisclaimer } from '#/shared/ui/chat-disclaimer/chat-disclaimer' function buildTypeVersionsMap(inputs: IModelInputs[]): Record { const byType = new Map() @@ -321,9 +322,10 @@ export const ModelInput: FC = ({ )} - - + {styles === 'chats' && ( + + )} ) } @@ -0,0 +1,18 @@ +.root { + width: 100%; + color: #80808e; + font-weight: 400; + text-align: center; + letter-spacing: -0.01em; + line-height: 100%; +} + +.desktop { + margin-top: 6px; + font-size: 11px; +} + +.mobile { + margin-top: 6px; + font-size: 10px; +} @@ -0,0 +1,13 @@ +import { c } from '#/shared' + +import styles from './chat-disclaimer.module.scss' + +export const ChatDisclaimer = ({ desktop }: { desktop: boolean }) => { + return ( +

+ ИИ может делать ошибки, перепроверяйте результат. + {desktop ? ' ' :
} + Не вводите личные данные других людей без их согласия. +

+ ) +}