diff --git a/changelog/v1.json b/changelog/v1.json index 03d7638b119a..2ff4b91853c8 100644 --- a/changelog/v1.json +++ b/changelog/v1.json @@ -1,4 +1,46 @@ [ + { + "children": { + "fixes": ["Fix *_MODEL_LIST env in new provider."] + }, + "date": "2025-01-10", + "version": "1.45.6" + }, + { + "children": { + "fixes": ["Revert officeparser."] + }, + "date": "2025-01-09", + "version": "1.45.5" + }, + { + "children": { + "fixes": ["Fix GitHub and huggingface provider config unusable."] + }, + "date": "2025-01-09", + "version": "1.45.4" + }, + { + "children": { + "fixes": ["Fix some ai provider known issues."] + }, + "date": "2025-01-09", + "version": "1.45.3" + }, + { + "children": { + "improvements": ["Update siliconcloud model list."] + }, + "date": "2025-01-09", + "version": "1.45.2" + }, + { + "children": { + "fixes": ["Fix remark gfm regex breaks in Safari versions < 16.4."] + }, + "date": "2025-01-09", + "version": "1.45.1" + }, { "children": { "features": ["Update Remark."] diff --git a/locales/ar/modelProvider.json b/locales/ar/modelProvider.json index e87210e45129..7b106c8f4670 100644 --- a/locales/ar/modelProvider.json +++ b/locales/ar/modelProvider.json @@ -151,7 +151,7 @@ "title": "جارٍ تنزيل النموذج {{model}} " }, "endpoint": { - "desc": "أدخل عنوان واجهة برمجة التطبيقات الخاص بـ Ollama، إذا لم يتم تحديده محليًا، يمكن تركه فارغًا", + "desc": "يجب أن تحتوي على http(s)://، يمكن تركها فارغة إذا لم يتم تحديدها محليًا", "title": "عنوان وكيل الواجهة" }, "setup": { diff --git a/locales/bg-BG/modelProvider.json b/locales/bg-BG/modelProvider.json index 0779b950eef3..38f0dad8091a 100644 --- a/locales/bg-BG/modelProvider.json +++ b/locales/bg-BG/modelProvider.json @@ -151,7 +151,7 @@ "title": "Изтегляне на модел {{model}} " }, "endpoint": { - "desc": "Въведете адрес на Ollama интерфейсния прокси, оставете празно, ако локално не е указано специално", + "desc": "Трябва да съдържа http(s)://, местният адрес може да остане празен, ако не е зададен допълнително", "title": "Адрес на прокси интерфейс" }, "setup": { diff --git a/locales/de-DE/modelProvider.json b/locales/de-DE/modelProvider.json index c5905fb4959a..a6ae80f9549b 100644 --- a/locales/de-DE/modelProvider.json +++ b/locales/de-DE/modelProvider.json @@ -151,7 +151,7 @@ "title": "Lade Modell {{model}} herunter" }, "endpoint": { - "desc": "Geben Sie die Proxy-Adresse der Ollama-Schnittstelle ein, leer lassen, wenn lokal nicht spezifiziert", + "desc": "Muss http(s):// enthalten, kann leer gelassen werden, wenn lokal nicht zusätzlich angegeben.", "title": "Schnittstellen-Proxy-Adresse" }, "setup": { diff --git a/locales/en-US/modelProvider.json b/locales/en-US/modelProvider.json index c09f1d842812..d292b02887e2 100644 --- a/locales/en-US/modelProvider.json +++ b/locales/en-US/modelProvider.json @@ -151,7 +151,7 @@ "title": "Downloading model {{model}}" }, "endpoint": { - "desc": "Enter the Ollama interface proxy address, leave blank if not specified locally", + "desc": "Must include http(s)://; can be left blank if not specified locally.", "title": "Interface proxy address" }, "setup": { diff --git a/locales/es-ES/modelProvider.json b/locales/es-ES/modelProvider.json index 6f5fa34f7336..587184a429f6 100644 --- a/locales/es-ES/modelProvider.json +++ b/locales/es-ES/modelProvider.json @@ -151,7 +151,7 @@ "title": "Descargando el modelo {{model}} " }, "endpoint": { - "desc": "Introduce la dirección del proxy de la interfaz de Ollama, déjalo en blanco si no se ha especificado localmente", + "desc": "Debe incluir http(s)://, se puede dejar vacío si no se especifica localmente", "title": "Dirección del proxy de la interfaz" }, "setup": { diff --git a/locales/fa-IR/modelProvider.json b/locales/fa-IR/modelProvider.json index 79457b89f291..4d115094d511 100644 --- a/locales/fa-IR/modelProvider.json +++ b/locales/fa-IR/modelProvider.json @@ -151,7 +151,7 @@ "title": "در حال دانلود مدل {{model}} " }, "endpoint": { - "desc": "آدرس پروکسی رابط Ollama را وارد کنید، اگر به صورت محلی تنظیم نشده است، می‌توانید خالی بگذارید", + "desc": "باید شامل http(s):// باشد، اگر محلی به طور اضافی مشخص نشده باشد می‌توان خالی گذاشت", "title": "آدرس سرویس Ollama" }, "setup": { diff --git a/locales/fr-FR/modelProvider.json b/locales/fr-FR/modelProvider.json index 27ec9dc52617..e7ea42050dd1 100644 --- a/locales/fr-FR/modelProvider.json +++ b/locales/fr-FR/modelProvider.json @@ -151,7 +151,7 @@ "title": "Téléchargement du modèle {{model}} en cours" }, "endpoint": { - "desc": "Saisissez l'adresse du proxy Ollama, laissez vide si non spécifié localement", + "desc": "Doit inclure http(s)://, peut rester vide si non spécifié localement", "title": "Adresse du proxy" }, "setup": { diff --git a/locales/it-IT/modelProvider.json b/locales/it-IT/modelProvider.json index 9be4ad414284..587aebdc93ce 100644 --- a/locales/it-IT/modelProvider.json +++ b/locales/it-IT/modelProvider.json @@ -151,7 +151,7 @@ "title": "Download del modello in corso {{model}}" }, "endpoint": { - "desc": "Inserisci l'indirizzo del proxy dell'interfaccia Ollama. Lascia vuoto se non specificato localmente", + "desc": "Deve includere http(s)://, può rimanere vuoto se non specificato localmente", "title": "Indirizzo del proxy dell'interfaccia" }, "setup": { diff --git a/locales/ja-JP/modelProvider.json b/locales/ja-JP/modelProvider.json index fde58db18e94..8a1bcfaa3662 100644 --- a/locales/ja-JP/modelProvider.json +++ b/locales/ja-JP/modelProvider.json @@ -151,7 +151,7 @@ "title": "モデル{{model}}をダウンロード中" }, "endpoint": { - "desc": "Ollamaプロキシインターフェースアドレスを入力してください。ローカルで追加の指定がない場合は空白のままにしてください", + "desc": "http(s)://を含める必要があります。ローカルで特に指定がない場合は空白のままで構いません", "title": "プロキシインターフェースアドレス" }, "setup": { diff --git a/locales/ko-KR/modelProvider.json b/locales/ko-KR/modelProvider.json index 53ed7de115fa..80bb003e6ee3 100644 --- a/locales/ko-KR/modelProvider.json +++ b/locales/ko-KR/modelProvider.json @@ -151,7 +151,7 @@ "title": "모델 {{model}} 다운로드 중" }, "endpoint": { - "desc": "Ollama 인터페이스 프록시 주소를 입력하세요. 로컬에서 별도로 지정하지 않은 경우 비워둘 수 있습니다", + "desc": "http(s)://를 포함해야 하며, 로컬에서 추가로 지정하지 않은 경우 비워둘 수 있습니다.", "title": "인터페이스 프록시 주소" }, "setup": { diff --git a/locales/nl-NL/modelProvider.json b/locales/nl-NL/modelProvider.json index 9ec6dabc856f..551459e878d6 100644 --- a/locales/nl-NL/modelProvider.json +++ b/locales/nl-NL/modelProvider.json @@ -151,7 +151,7 @@ "title": "Model {{model}} wordt gedownload" }, "endpoint": { - "desc": "Voer het Ollama interface proxyadres in, laat leeg indien niet specifiek aangegeven", + "desc": "Moet http(s):// bevatten, kan leeg gelaten worden als lokaal niet specifiek opgegeven", "title": "Interface Proxyadres" }, "setup": { diff --git a/locales/pl-PL/modelProvider.json b/locales/pl-PL/modelProvider.json index 81926714f805..a7c57fb6a418 100644 --- a/locales/pl-PL/modelProvider.json +++ b/locales/pl-PL/modelProvider.json @@ -151,7 +151,7 @@ "title": "Pobieranie modelu {{model}}" }, "endpoint": { - "desc": "Wprowadź adres rest API Ollama, jeśli lokalnie nie określono, pozostaw puste", + "desc": "Musi zawierać http(s)://, lokalnie, jeśli nie określono inaczej, można pozostawić puste", "title": "Adres proxy API" }, "setup": { diff --git a/locales/pt-BR/modelProvider.json b/locales/pt-BR/modelProvider.json index e7a9bfc4cd17..5b51fdcbd33b 100644 --- a/locales/pt-BR/modelProvider.json +++ b/locales/pt-BR/modelProvider.json @@ -151,7 +151,7 @@ "title": "Baixando o modelo {{model}} " }, "endpoint": { - "desc": "Insira o endereço do proxy de interface da Ollama, se não foi especificado localmente, pode deixar em branco", + "desc": "Deve incluir http(s)://, pode deixar em branco se não houver especificação local adicional", "title": "Endereço do Proxy de Interface" }, "setup": { diff --git a/locales/ru-RU/modelProvider.json b/locales/ru-RU/modelProvider.json index 19848e035c2e..1b9fb76e8ef0 100644 --- a/locales/ru-RU/modelProvider.json +++ b/locales/ru-RU/modelProvider.json @@ -151,7 +151,7 @@ "title": "Загрузка модели {{model}} " }, "endpoint": { - "desc": "Введите адрес прокси-интерфейса Ollama, если локально не указано иное, можете оставить пустым", + "desc": "Должен содержать http(s)://, если локально не указано иное, можно оставить пустым", "title": "Адрес прокси-интерфейса" }, "setup": { diff --git a/locales/tr-TR/modelProvider.json b/locales/tr-TR/modelProvider.json index 25c2eec78993..13aec92c5491 100644 --- a/locales/tr-TR/modelProvider.json +++ b/locales/tr-TR/modelProvider.json @@ -151,7 +151,7 @@ "title": "正在下载模型 {{model}} " }, "endpoint": { - "desc": "Ollama arayüz proxy adresini girin, yerel olarak belirtilmemişse boş bırakılabilir", + "desc": "http(s):// içermelidir, yerel olarak belirtilmemişse boş bırakılabilir", "title": "Arayüz Proxy Adresi" }, "setup": { diff --git a/locales/vi-VN/modelProvider.json b/locales/vi-VN/modelProvider.json index adfbc6c5df1f..b7f620d5bcc4 100644 --- a/locales/vi-VN/modelProvider.json +++ b/locales/vi-VN/modelProvider.json @@ -151,7 +151,7 @@ "title": "Đang tải mô hình {{model}}" }, "endpoint": { - "desc": "Nhập địa chỉ proxy API của Ollama, có thể để trống nếu không chỉ định cụ thể", + "desc": "Phải bao gồm http(s)://, có thể để trống nếu không chỉ định thêm cho địa phương", "title": "Địa chỉ proxy API" }, "setup": { diff --git a/locales/zh-CN/modelProvider.json b/locales/zh-CN/modelProvider.json index 268f53c1dfa3..1cbbf5ea49ae 100644 --- a/locales/zh-CN/modelProvider.json +++ b/locales/zh-CN/modelProvider.json @@ -151,7 +151,7 @@ "title": "正在下载模型 {{model}} " }, "endpoint": { - "desc": "填入 Ollama 接口代理地址,本地未额外指定可留空", + "desc": "必须包含http(s)://,本地未额外指定可留空", "title": "Ollama 服务地址" }, "setup": { diff --git a/locales/zh-TW/modelProvider.json b/locales/zh-TW/modelProvider.json index f4463cda5054..d8cbd701d94c 100644 --- a/locales/zh-TW/modelProvider.json +++ b/locales/zh-TW/modelProvider.json @@ -151,7 +151,7 @@ "title": "正在下載模型 {{model}}" }, "endpoint": { - "desc": "填入 Ollama 接口代理地址,本地未額外指定可留空", + "desc": "必須包含http(s)://,本地未額外指定可留空", "title": "接口代理地址" }, "setup": { diff --git a/package.json b/package.json index 43182d0db903..7cce6d4dcd3e 100644 --- a/package.json +++ b/package.json @@ -244,7 +244,7 @@ "@edge-runtime/vm": "^5.0.0", "@huggingface/tasks": "^0.13.13", "@lobehub/i18n-cli": "^1.20.3", - "@lobehub/lint": "^1.25.3", + "@lobehub/lint": "^1.25.5", "@lobehub/seo-cli": "^1.4.3", "@next/bundle-analyzer": "^15.1.4", "@next/eslint-plugin-next": "^15.1.4", diff --git a/src/app/(main)/chat/(workspace)/features/TelemetryNotification.tsx b/src/app/(main)/chat/(workspace)/features/TelemetryNotification.tsx index e1e1279bff59..e341be1a530f 100644 --- a/src/app/(main)/chat/(workspace)/features/TelemetryNotification.tsx +++ b/src/app/(main)/chat/(workspace)/features/TelemetryNotification.tsx @@ -53,7 +53,7 @@ const TelemetryNotification = memo<{ mobile?: boolean }>(({ mobile }) => { avatar={} background={theme.geekblue1} style={{ color: theme.geekblue7 }} - > + /> diff --git a/src/app/(main)/files/(content)/@menu/features/KnowledgeBase/EmptyStatus.tsx b/src/app/(main)/files/(content)/@menu/features/KnowledgeBase/EmptyStatus.tsx index 8ba5363f9855..359e0a7ea414 100644 --- a/src/app/(main)/files/(content)/@menu/features/KnowledgeBase/EmptyStatus.tsx +++ b/src/app/(main)/files/(content)/@menu/features/KnowledgeBase/EmptyStatus.tsx @@ -34,7 +34,7 @@ const LineIcon: IconType = forwardRef(({ size = 130, style, ...rest }, ref) => ( xmlns="http://www.w3.org/2000/svg" {...rest} > - + )); diff --git a/src/app/(main)/files/[id]/Header.tsx b/src/app/(main)/files/[id]/Header.tsx index 5e3f0cb63e6a..d853d1c59fa1 100644 --- a/src/app/(main)/files/[id]/Header.tsx +++ b/src/app/(main)/files/[id]/Header.tsx @@ -32,7 +32,7 @@ const Header = memo(({ filename, url }) => { >