Skip to content

Commit

Permalink
🎨 chore: files feature pre-commit to reduce code update (lobehub#3488)
Browse files Browse the repository at this point in the history
* 🎨 chore: pre commit to reduce code update

* 🎨 chore: pre commit to reduce code update

* 🎨 chore: pre commit to reduce code update

* ✅ test: fix test

* 🚚 refactor: move image files to chat

* ✅ test: add tests

* ✅ test: add tests
  • Loading branch information
arvinxx authored Aug 17, 2024
1 parent 96c3479 commit 811e571
Show file tree
Hide file tree
Showing 62 changed files with 315 additions and 84 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ public-hoist-pattern[]=*stylelint*
public-hoist-pattern[]=@auth/core
public-hoist-pattern[]=@clerk/backend
public-hoist-pattern[]=@clerk/types
public-hoist-pattern[]=pdfjs-dist
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
lts/hydrogen
lts/iron
3 changes: 3 additions & 0 deletions locales/ar/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"autoGenerate": "توليد تلقائي",
"autoGenerateTooltip": "إكمال تلقائي بناءً على الكلمات المقترحة لوصف المساعد",
"autoGenerateTooltipDisabled": "الرجاء إدخال كلمة تلميح قبل تفعيل وظيفة الإكمال التلقائي",
"batchDelete": "حذف دفعة",
"blog": "مدونة المنتجات",
"cancel": "إلغاء",
"changelog": "سجل التغييرات",
Expand All @@ -31,6 +32,7 @@
"defaultSession": "جلسة افتراضية",
"delete": "حذف",
"document": "وثيقة الاستخدام",
"download": "تحميل",
"duplicate": "إنشاء نسخة",
"edit": "تحرير",
"export": "تصدير الإعدادات",
Expand Down Expand Up @@ -192,6 +194,7 @@
},
"tab": {
"chat": "الدردشة",
"files": "ملفات",
"market": "الاكتشاف",
"me": "أنا",
"setting": "الإعدادات"
Expand Down
5 changes: 5 additions & 0 deletions locales/ar/setting.json
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,11 @@
"modelDesc": "يحدد النموذج المستخدم لإنشاء اسم المساعد ووصفه وصورته وعلامته",
"title": "توليد معلومات المساعد تلقائيًا"
},
"queryRewrite": {
"label": "نموذج إعادة صياغة الأسئلة",
"modelDesc": "نموذج مخصص لتحسين أسئلة المستخدمين",
"title": "قاعدة المعرفة"
},
"title": "مساعد النظام",
"topic": {
"label": "نموذج تسمية الموضوع",
Expand Down
3 changes: 3 additions & 0 deletions locales/bg-BG/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"autoGenerate": "Автоматично генериране",
"autoGenerateTooltip": "Автоматично генериране на описание на агент въз основа на подкани",
"autoGenerateTooltipDisabled": "Моля, попълнете подсказката, за да използвате функцията за автоматично допълване",
"batchDelete": "Пакетно изтриване",
"blog": "Продуктов блог",
"cancel": "Отказ",
"changelog": "Дневник на промените",
Expand All @@ -31,6 +32,7 @@
"defaultSession": "Агент по подразбиране",
"delete": "Изтрий",
"document": "Ръководство за потребителя",
"download": "Изтегляне",
"duplicate": "Създай дубликат",
"edit": "Редактирай",
"export": "Експортирай конфигурация",
Expand Down Expand Up @@ -192,6 +194,7 @@
},
"tab": {
"chat": "Чат",
"files": "Файлове",
"market": "Открий",
"me": "аз",
"setting": "Настройки"
Expand Down
5 changes: 5 additions & 0 deletions locales/bg-BG/setting.json
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,11 @@
"modelDesc": "Модел, определен за генериране на име, описание, профилна снимка и етикети на помощник",
"title": "Автоматично генериране на информация за помощник"
},
"queryRewrite": {
"label": "Модел за пренаписване на запитвания",
"modelDesc": "Определя модел за оптимизиране на запитванията на потребителите",
"title": "База знания"
},
"title": "Системен асистент",
"topic": {
"label": "Модел за именуване на теми",
Expand Down
3 changes: 3 additions & 0 deletions locales/de-DE/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"autoGenerate": "Automatisch generieren",
"autoGenerateTooltip": "Assistentenbeschreibung automatisch auf Basis von Vorschlägen vervollständigen",
"autoGenerateTooltipDisabled": "Bitte geben Sie einen Hinweis ein, um die automatische Vervollständigung zu aktivieren",
"batchDelete": "Massenlöschung",
"blog": "Produkt-Blog",
"cancel": "Abbrechen",
"changelog": "Änderungsprotokoll",
Expand All @@ -31,6 +32,7 @@
"defaultSession": "Standardassistent",
"delete": "Löschen",
"document": "Dokumentation",
"download": "Herunterladen",
"duplicate": "Duplikat erstellen",
"edit": "Bearbeiten",
"export": "Exportieren",
Expand Down Expand Up @@ -192,6 +194,7 @@
},
"tab": {
"chat": "Chat",
"files": "Dateien",
"market": "Entdecken",
"me": "Ich",
"setting": "Einstellung"
Expand Down
5 changes: 5 additions & 0 deletions locales/de-DE/setting.json
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,11 @@
"modelDesc": "Das Modell, das zur Generierung von Assistentennamen, -beschreibungen, -avatars und -tags verwendet wird",
"title": "Automatische Generierung von Assistenteninformationen"
},
"queryRewrite": {
"label": "Fragenumformulierung Modell",
"modelDesc": "Modell zur Optimierung der Benutzeranfragen",
"title": "Wissensdatenbank"
},
"title": "Systemassistent",
"topic": {
"label": "Themenbenennungsmodell",
Expand Down
3 changes: 3 additions & 0 deletions locales/en-US/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"autoGenerate": "Auto Generate",
"autoGenerateTooltip": "Auto-generate assistant description based on prompts",
"autoGenerateTooltipDisabled": "Please enter a tooltip before using the autocomplete feature",
"batchDelete": "Batch Delete",
"blog": "Product Blog",
"cancel": "Cancel",
"changelog": "Changelog",
Expand All @@ -31,6 +32,7 @@
"defaultSession": "Default Assistant",
"delete": "Delete",
"document": "User Manual",
"download": "Download",
"duplicate": "Create Duplicate",
"edit": "Edit",
"export": "Export Configuration",
Expand Down Expand Up @@ -192,6 +194,7 @@
},
"tab": {
"chat": "Chat",
"files": "Files",
"market": "Discover",
"me": "Me",
"setting": "Settings"
Expand Down
5 changes: 5 additions & 0 deletions locales/en-US/setting.json
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,11 @@
"modelDesc": "Model designated for generating assistant name, description, avatar, and tags",
"title": "Automatically Generate Assistant Information"
},
"queryRewrite": {
"label": "Question Rewriting Model",
"modelDesc": "Specify the model used to optimize user inquiries",
"title": "Knowledge Base"
},
"title": "System Assistants",
"topic": {
"label": "Topic Naming Model",
Expand Down
3 changes: 3 additions & 0 deletions locales/es-ES/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"autoGenerate": "Generación automática",
"autoGenerateTooltip": "Completar automáticamente la descripción del asistente basándose en las sugerencias",
"autoGenerateTooltipDisabled": "Por favor, complete la palabra clave antes de usar la función de autocompletar",
"batchDelete": "Eliminar en lote",
"blog": "Blog de productos",
"cancel": "Cancelar",
"changelog": "Registro de cambios",
Expand All @@ -31,6 +32,7 @@
"defaultSession": "Sesión predeterminada",
"delete": "Eliminar",
"document": "Documento de uso",
"download": "Descargar",
"duplicate": "Duplicar",
"edit": "Editar",
"export": "Exportar configuración",
Expand Down Expand Up @@ -192,6 +194,7 @@
},
"tab": {
"chat": "Chat",
"files": "Archivos",
"market": "Descubrir",
"me": "Yo",
"setting": "Configuración"
Expand Down
5 changes: 5 additions & 0 deletions locales/es-ES/setting.json
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,11 @@
"modelDesc": "Modelo designado para generar el nombre, descripción, avatar y etiquetas del asistente",
"title": "Generación automática de información del asistente"
},
"queryRewrite": {
"label": "Modelo de reescritura de preguntas",
"modelDesc": "Modelo designado para optimizar las preguntas de los usuarios",
"title": "Base de conocimientos"
},
"title": "Asistente del sistema",
"topic": {
"label": "Modelo de nombramiento de temas",
Expand Down
3 changes: 3 additions & 0 deletions locales/fr-FR/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"autoGenerate": "Générer automatiquement",
"autoGenerateTooltip": "Générer automatiquement la description de l'agent basée sur les suggestions",
"autoGenerateTooltipDisabled": "Veuillez saisir un mot-clé avant d'activer la fonction de complétion automatique",
"batchDelete": "Suppression en masse",
"blog": "Blog des produits",
"cancel": "Annuler",
"changelog": "Journal des modifications",
Expand All @@ -31,6 +32,7 @@
"defaultSession": "Session par défaut",
"delete": "Supprimer",
"document": "Document d'utilisation",
"download": "Télécharger",
"duplicate": "Dupliquer",
"edit": "Modifier",
"export": "Exporter",
Expand Down Expand Up @@ -192,6 +194,7 @@
},
"tab": {
"chat": "Conversation",
"files": "Fichiers",
"market": "Découvrir",
"me": "moi",
"setting": "Paramètre"
Expand Down
5 changes: 5 additions & 0 deletions locales/fr-FR/setting.json
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,11 @@
"modelDesc": "Modèle spécifié pour générer le nom, la description, l'avatar et les balises de l'assistant",
"title": "Génération automatique des informations de l'assistant"
},
"queryRewrite": {
"label": "Modèle de reformulation des questions",
"modelDesc": "Modèle utilisé pour optimiser les questions des utilisateurs",
"title": "Base de connaissances"
},
"title": "Agent système",
"topic": {
"label": "Modèle de nommage des sujets",
Expand Down
3 changes: 3 additions & 0 deletions locales/it-IT/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"autoGenerate": "Generazione automatica",
"autoGenerateTooltip": "Completamento automatico basato su suggerimenti",
"autoGenerateTooltipDisabled": "Si prega di compilare il campo suggerimento per abilitare la funzione di completamento automatico",
"batchDelete": "Elimina in batch",
"blog": "Blog sui prodotti",
"cancel": "Annulla",
"changelog": "Registro modifiche",
Expand All @@ -31,6 +32,7 @@
"defaultSession": "Sessione predefinita",
"delete": "Elimina",
"document": "Documento di utilizzo",
"download": "Scarica",
"duplicate": "Duplicato",
"edit": "Modifica",
"export": "Esporta configurazione",
Expand Down Expand Up @@ -192,6 +194,7 @@
},
"tab": {
"chat": "Chat",
"files": "File",
"market": "Scopri",
"me": "io",
"setting": "Impostazioni"
Expand Down
5 changes: 5 additions & 0 deletions locales/it-IT/setting.json
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,11 @@
"modelDesc": "Modello specificato per generare nome, descrizione, avatar e etichetta dell'assistente",
"title": "Genera automaticamente informazioni sull'assistente"
},
"queryRewrite": {
"label": "Modello di riscrittura delle domande",
"modelDesc": "Modello specificato per ottimizzare le domande degli utenti",
"title": "Banca dati"
},
"title": "Assistente di sistema",
"topic": {
"label": "Modello di denominazione degli argomenti",
Expand Down
3 changes: 3 additions & 0 deletions locales/ja-JP/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"autoGenerate": "自動生成",
"autoGenerateTooltip": "ヒントに基づいてエージェントの説明を自動生成します",
"autoGenerateTooltipDisabled": "ツールチップを入力してから自動生成機能を使用してください",
"batchDelete": "バッチ削除",
"blog": "製品ブログ",
"cancel": "キャンセル",
"changelog": "変更履歴",
Expand All @@ -31,6 +32,7 @@
"defaultSession": "デフォルトセッション",
"delete": "削除",
"document": "ドキュメント",
"download": "ダウンロード",
"duplicate": "コピーを作成する",
"edit": "編集",
"export": "エクスポート",
Expand Down Expand Up @@ -192,6 +194,7 @@
},
"tab": {
"chat": "チャット",
"files": "ファイル",
"market": "探す",
"me": "",
"setting": "設定"
Expand Down
5 changes: 5 additions & 0 deletions locales/ja-JP/setting.json
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,11 @@
"modelDesc": "アシスタントの名前、説明、アバター、ラベルを生成するために指定されたモデル",
"title": "アシスタント情報の自動生成"
},
"queryRewrite": {
"label": "質問リライトモデル",
"modelDesc": "ユーザーの質問を最適化するために指定されたモデル",
"title": "知識ベース"
},
"title": "システムアシスタント",
"topic": {
"label": "トピックネーミングモデル",
Expand Down
3 changes: 3 additions & 0 deletions locales/ko-KR/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"autoGenerate": "자동 생성",
"autoGenerateTooltip": "힌트 단어를 기반으로 에이전트 설명을 자동으로 완성합니다",
"autoGenerateTooltipDisabled": "자동 완성 기능을 사용하려면 툴팁을 입력하십시오",
"batchDelete": "일괄 삭제",
"blog": "제품 블로그",
"cancel": "취소",
"changelog": "변경 로그",
Expand All @@ -31,6 +32,7 @@
"defaultSession": "기본 세션",
"delete": "삭제",
"document": "사용 설명서",
"download": "다운로드",
"duplicate": "복제품 만들기",
"edit": "편집",
"export": "내보내기",
Expand Down Expand Up @@ -192,6 +194,7 @@
},
"tab": {
"chat": "채팅",
"files": "파일",
"market": "발견",
"me": "",
"setting": "설정"
Expand Down
5 changes: 5 additions & 0 deletions locales/ko-KR/setting.json
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,11 @@
"modelDesc": "어시스턴트 이름, 설명, 프로필 이미지, 레이블을 생성하는 데 사용되는 모델을 지정합니다.",
"title": "어시스턴트 정보 자동 생성"
},
"queryRewrite": {
"label": "질문 재작성 모델",
"modelDesc": "사용자의 질문을 최적화하는 데 사용되는 모델 지정",
"title": "지식 베이스"
},
"title": "시스템 도우미",
"topic": {
"label": "주제 명명 모델",
Expand Down
3 changes: 3 additions & 0 deletions locales/nl-NL/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"autoGenerate": "Automatisch genereren",
"autoGenerateTooltip": "Automatisch assistentbeschrijving genereren op basis van suggesties",
"autoGenerateTooltipDisabled": "Schakel de automatische aanvulling in nadat u een suggestiewoord heeft ingevoerd",
"batchDelete": "Batch verwijderen",
"blog": "Product Blog",
"cancel": "Annuleren",
"changelog": "Wijzigingslogboek",
Expand All @@ -31,6 +32,7 @@
"defaultSession": "Standaard assistent",
"delete": "Verwijderen",
"document": "Gebruiksaanwijzing",
"download": "Downloaden",
"duplicate": "Dupliceren",
"edit": "Bewerken",
"export": "Exporteren",
Expand Down Expand Up @@ -192,6 +194,7 @@
},
"tab": {
"chat": "Chat",
"files": "Bestanden",
"market": "Ontdekken",
"me": "Ik",
"setting": "Instellingen"
Expand Down
5 changes: 5 additions & 0 deletions locales/nl-NL/setting.json
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,11 @@
"modelDesc": "Model voor het genereren van assistentnaam, beschrijving, profielfoto en labels",
"title": "Automatisch assistentinformatie genereren"
},
"queryRewrite": {
"label": "Vraag herschrijvingsmodel",
"modelDesc": "Model dat is opgegeven voor het optimaliseren van gebruikersvragen",
"title": "Kennisbank"
},
"title": "Systeemassistent",
"topic": {
"label": "Onderwerp Naamgevingsmodel",
Expand Down
3 changes: 3 additions & 0 deletions locales/pl-PL/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"autoGenerate": "Automatyczne generowanie",
"autoGenerateTooltip": "Automatyczne uzupełnianie opisu asystenta na podstawie sugestii",
"autoGenerateTooltipDisabled": "Proszę wprowadzić słowo kluczowe przed użyciem funkcji automatycznego uzupełniania",
"batchDelete": "Usuń wiele",
"blog": "Blog produktowy",
"cancel": "Anuluj",
"changelog": "Dziennik zmian",
Expand All @@ -31,6 +32,7 @@
"defaultSession": "Domyślna sesja",
"delete": "Usuń",
"document": "Dokumentacja",
"download": "Pobierz",
"duplicate": "Utwórz kopię",
"edit": "Edytuj",
"export": "Eksportuj ustawienia",
Expand Down Expand Up @@ -192,6 +194,7 @@
},
"tab": {
"chat": "Czat",
"files": "Pliki",
"market": "Odkrywaj",
"me": "ja",
"setting": "Ustawienia"
Expand Down
Loading

0 comments on commit 811e571

Please sign in to comment.