diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 000000000..aea622d99 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,25 @@ +# Security Policy + +We take the security of this project seriously. If you discover any security vulnerabilities or have concerns regarding the security of this repository, please reach out to us immediately. We appreciate your efforts in responsibly disclosing the issue and will make every effort to address it promptly. + +## Reporting a Vulnerability + +To report a security vulnerability, please follow these steps: + +1. Go to the **Security** tab of this repository on GitHub. +2. Click on **"Report a vulnerability"**. +3. Provide a clear description of the vulnerability and its potential impact. Be as detailed as possible. +4. If applicable, include steps or a PoC (Proof of Concept) to reproduce the vulnerability. +5. Submit the report. + +Once we receive the private report notification, we will promptly investigate and assess the reported vulnerability. + +Please do not disclose any potential vulnerabilities in public repositories, issue trackers, or forums until we have had a chance to review and address the issue. + +## Scope + +This security policy applies to all the code and files within this repository and its dependencies actively maintained by us. If you encounter a security issue in a dependency that is not directly maintained by us, please follow responsible disclosure practices and report it to the respective project. + +While we strive to ensure the security of this project, please note that there may be limitations on resources, response times, and mitigations. + +Thank you for your help in making this project more secure. diff --git a/jsconfig.json b/jsconfig.json new file mode 100644 index 000000000..652e04b1c --- /dev/null +++ b/jsconfig.json @@ -0,0 +1,17 @@ +{ + "compilerOptions": { + "module": "ESNext", + "target": "ESNext", + "moduleResolution": "node", + "strictNullChecks": true, + "strictFunctionTypes": true, + "checkJs": true, + "allowUmdGlobalAccess": true, + "allowSyntheticDefaultImports": true, + "resolveJsonModule": true + }, + "exclude": [ + "node_modules", + "**/node_modules/*" + ] +} \ No newline at end of file diff --git a/public/css/st-tailwind.css b/public/css/st-tailwind.css index b505fccd6..fe6258bd6 100644 --- a/public/css/st-tailwind.css +++ b/public/css/st-tailwind.css @@ -404,6 +404,7 @@ .widthFitContent { width: fit-content; + min-width: fit-content; } .flexGap5 { @@ -416,4 +417,4 @@ .opacity1 { opacity: 1 !important; -} +} \ No newline at end of file diff --git a/public/i18n.json b/public/i18n.json index 6abab8c31..dd6947ebd 100644 --- a/public/i18n.json +++ b/public/i18n.json @@ -4,8 +4,9 @@ "ja-jp", "ko-kr", "ru-ru", - "it-it", - "nl-nl" + "it-it", + "nl-nl", + "es-spa" ], "zh-cn": { "clickslidertips": "点击滑块右侧数字可手动输入", @@ -3483,5 +3484,135 @@ "Select this as default persona for the new chats.": "Selecteer dit als standaard persona voor de nieuwe chats.", "Change persona image": "persona afbeelding wijzigen", "Delete persona": "persona verwijderen" - } -} + }, + "es-spa": { + "clickslidertips": "Haz click en el número al lado de la barra \npara seleccionar un número manualmente.", + "kobldpresets": "Configuraciones de KoboldAI", + "guikoboldaisettings": "Configuración actual de la interfaz de KoboldAI", + "novelaipreserts": "Configuraciones de NovelAI", + "default": "Predeterminado", + "openaipresets": "Configuraciones de OpenAI", + "text gen webio(ooba) presets": "Configuraciones de WebUI(ooba)", + "response legth(tokens)": "Largo de la respuesta de la IA (en Tokens)", + "select": "Seleccionar", + "context size(tokens)": "Tamaño del contexto (en Tokens)", + "unlocked": "Desbloqueado", + "only select modls support context sizes greater than 2048 tokens. proceed only is you know you're doing": "Solo algunos modelos tienen soporte para tamaños de más de 2048 tokens. Procede solo si sabes lo que estás haciendo.", + "rep.pen": "Rep. Pen.", + "rep.pen range": "Rango de Rep. Pen.", + "temperature": "Temperature", + "Encoder Rep. Pen.": "Encoder Rep. Pen.", + "No Repeat Ngram Size": "No Repeat Ngram Size", + "Min Length": "Largo mínimo", + "OpenAI Reverse Proxy": "Reverse Proxy de OpenAI", + "Alternative server URL (leave empty to use the default value).": "URL del server alternativo (deja vacío para usar el predeterminado)", + "Remove your real OAI API Key from the API panel BEFORE typing anything into this box": "Borra tu clave(API) real de OpenAI ANTES de escribir nada en este campo.", + "We cannot provide support for problems encountered while using an unofficial OpenAI proxy": "SillyTaven no puede dar soporte por problemas encontrados durante el uso de un proxy no-oficial de OpenAI", + "Legacy Streaming Processing": "Processo Streaming Legacy", + "Enable this if the streaming doesn't work with your proxy": "Habilita esta opción si el \"streaming\" no está funcionando.", + "Context Size (tokens)": "Tamaño del contexto (en Tokens)", + "Max Response Length (tokens)": "Tamaño máximo (en Tokens)", + "Temperature": "Temperatura", + "Frequency Penalty": "Frequency Penalty", + "Presence Penalty": "Presence Penalty", + "Top-p": "Top-p", + "Display bot response text chunks as they are generated": "Muestra el texto poco a poco al mismo tiempo que es generado.", + "Top A": "Top-a", + "Typical Sampling": "Typical Sampling", + "Tail Free Sampling": "Tail Free Sampling", + "Rep. Pen. Slope": "Rep. Pen. Slope", + "Single-line mode": "Modo \"Solo una línea\"", + "Top K": "Top-k", + "Top P": "Top-p", + "Do Sample": "Do Sample", + "Add BOS Token": "Añadir BOS Token", + "Add the bos_token to the beginning of prompts. Disabling this can make the replies more creative.": "Añade el \"bos_token\" al inicio del prompt. Desabilitar esto puede hacer las respuestas de la IA más creativas", + "Ban EOS Token": "Prohibir EOS Token", + "Ban the eos_token. This forces the model to never end the generation prematurely": "Prohibe el \"eos_token\". Esto obliga a la IA a no terminar su generación de forma prematura", + "Skip Special Tokens": "Saltarse Tokens Especiales", + "Beam search": "Beam Search", + "Number of Beams": "Number of Beams", + "Length Penalty": "Length Penalty", + "Early Stopping": "Early Stopping", + "Contrastive search": "Contrastive search", + "Penalty Alpha": "Penalty Alpha", + "Seed": "Seed", + "Inserts jailbreak as a last system message.": "Inserta el \"jailbreak\" como el último mensaje del Sistema", + "This tells the AI to ignore its usual content restrictions.": "Esto ayuda a la IA para ignorar sus restricciones de contenido", + "NSFW Encouraged": "Alentar \"NSFW\"", + "Tell the AI that NSFW is allowed.": "Le dice a la IA que el contenido NSFW (+18) está permitido", + "NSFW Prioritized": "Priorizar NSFW", + "NSFW prompt text goes first in the prompt to emphasize its effect.": "El \"prompt NSFW\" va antes para enfatizar su efecto", + "Streaming": "Streaming", + "Display the response bit by bit as it is generated.": "Enseña el texto poco a poco mientras es generado", + "When this is off, responses will be displayed all at once when they are complete.": "Cuando esto está deshabilitado, las respuestas se mostrarán de una vez cuando la generación se haya completado", + "Enhance Definitions": "Definiciones Mejoradas", + "Use OAI knowledge base to enhance definitions for public figures and known fictional characters": "Usa el conocimiento de OpenAI (GPT 3.5, GPT 4, ChatGPT) para mejorar las definiciones de figuras públicas y personajes ficticios", + "Wrap in Quotes": "Envolver En Comillas", + "Wrap entire user message in quotes before sending.": "Envuelve todo el mensaje en comillas antes de enviar", + "Leave off if you use quotes manually for speech.": "Déjalo deshabilitado si usas comillas manualmente para denotar diálogo", + "Main prompt": "Prompt Principal", + "The main prompt used to set the model behavior": "El prompt principal usado para definir el comportamiento de la IA", + "NSFW prompt": "Prompt NSFW", + "Prompt that is used when the NSFW toggle is on": "Prompt que es utilizado cuando \"Alentar NSFW\" está activado", + "Jailbreak prompt": "Jailbreak prompt", + "Prompt that is used when the Jailbreak toggle is on": "Prompt que es utilizado cuando Jailbreak Prompt está activado", + "Impersonation prompt": "Prompt \"Impersonar\"", + "Prompt that is used for Impersonation function": "Prompt que es utilizado para la función \"Impersonar\"", + "Logit Bias": "Logit Bias", + "Helps to ban or reenforce the usage of certain words": "Ayuda a prohibir o alentar el uso de algunas palabras", + "View / Edit bias preset": "Ver/Editar configuración de \"Logit Bias\"", + "Add bias entry": "Añadir bias", + "Jailbreak activation message": "Mensaje de activación de Jailbrak", + "Message to send when auto-jailbreak is on.": "Mensaje enviado cuando auto-jailbreak está activado", + "Jailbreak confirmation reply": "Mensaje de confirmación de Jailbreak", + "Bot must send this back to confirm jailbreak": "La IA debe enviar un mensaje para confirmar el jailbreak", + "Character Note": "Nota del personaje", + "Influences bot behavior in its responses": "Influencia el comportamiento de la IA y sus respuestas", + "API": "API", + "KoboldAI": "KoboldAI", + "Use Horde": "Usar AI Horde de KoboldAI", + "API url": "URL de la API", + "Register a Horde account for faster queue times": "Regístrate en KoboldAI para conseguir respuestas más rápido", + "Learn how to contribute your idle GPU cycles to the Hord": "Aprende cómo contribuir a AI Horde con tu GPU", + "Adjust context size to worker capabilities": "Ajustar tamaño del contexto a las capacidades del trabajador", + "Adjust response length to worker capabilities": "Ajustar tamaño de la respuesta a las capacidades del trabajador", + "API key": "API key", + "Register": "Registrarse", + "For privacy reasons": "Por motivos de privacidad, tu API será ocultada cuando se vuelva a cargar la página", + "Model": "Modelo IA", + "Hold Control / Command key to select multiple models.": "Presiona Ctrl/Command Key para seleccionar multiples modelos", + "Horde models not loaded": "Modelos del Horde no cargados", + "Not connected": "Desconectado", + "Novel API key": "API key de NovelAI", + "Follow": "Sigue", + "these directions": "estas instrucciones", + "to get your NovelAI API key.": "para conseguir tu NovelAI API key", + "Enter it in the box below": "Introduce tu NovelAI API key en el siguiente campo", + "Novel AI Model": "Modelo IA de NovelAI", + "Euterpe": "Euterpe", + "Krake": "Krake", + "No connection": "Desconectado", + "oobabooga/text-generation-webui": "oobabooga/text-generation-webui", + "Make sure you run it with": "Asegúrate de usar el argumento --api cuando se ejecute", + "Blocking API url": "API URL", + "Streaming API url": "Streaming API URL", + "to get your OpenAI API key.": "para conseguir tu clave API de OpenAI", + "OpenAI Model": "Modelo AI de OpenAI", + "View API Usage Metrics": "Ver métricas de uso de la API", + "Bot": "Bot", + "Auto-connect to Last Server": "Auto-conectarse con el último servidor", + "View hidden API keys": "Ver claves API ocultas", + "Advanced Formatting": "Formateo avanzado", + "AutoFormat Overrides": "Autoformateo de overrides", + "Samplers Order": "Orden de Samplers", + "Samplers will be applied in a top-down order. Use with caution.": "Los Samplers serán aplicados de orden superior a inferior. \nUsa con precaución", + "Load koboldcpp order": "Cargar el orden de koboldcpp", + "Repetition Penalty": "Repetition Penalty", + "Epsilon Cutoff": "Epsilon Cutoff", + "Eta Cutoff": "Eta Cutoff", + "Rep. Pen. Range.": "Rep. Pen. Range.", + "Rep. Pen. Freq.": "Rep. Pen. Freq.", + "Rep. Pen. Presence": "Rep. Pen. Presence." + } +} \ No newline at end of file diff --git a/public/index.html b/public/index.html index 61676dc12..11538cad9 100644 --- a/public/index.html +++ b/public/index.html @@ -2099,8 +2099,8 @@

Context Template

-
- +
+ @@ -2926,6 +2926,10 @@ Show <tags> in responses +