diff --git a/README.md b/README.md
index 5c383d6..bb720a6 100755
--- a/README.md
+++ b/README.md
@@ -77,6 +77,14 @@ docker pull ltopx/le-ai:latest
docker run -d -p 3000:3000 ltopx/le-ai:latest
```
+### Docker Local Deployment
+
+```
+docker build -t ltopx/le-ai .
+
+docker run -d -p 3000:3000 ltopx/le-ai
+```
+
### One-click Deployment
Currently supports one-click deployment to Vercel.
diff --git a/README_CN.md b/README_CN.md
index 385c817..90d90d5 100755
--- a/README_CN.md
+++ b/README_CN.md
@@ -77,9 +77,17 @@ docker pull ltopx/le-ai:latest
docker run -d -p 3000:3000 ltopx/le-ai:latest
```
+### Docker 本地部署
+
+```
+docker build -t ltopx/le-ai .
+
+docker run -d -p 3000:3000 ltopx/le-ai
+```
+
### 一键部署
-目前支持一键部署到 Vercel。
+支持一键部署到 Vercel。
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/LTopx/Le-AI)
diff --git a/package.json b/package.json
index 291964b..dd93de4 100755
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "le-ai",
- "version": "0.9.1",
+ "version": "0.9.2",
"private": true,
"scripts": {
"dev": "next dev",
@@ -90,4 +90,4 @@
"dotenv-cli": "7.3.0",
"prisma": "5.3.1"
}
-}
+}
\ No newline at end of file
diff --git a/public/changelog/en.png b/public/changelog/en.png
new file mode 100644
index 0000000..3e937bf
Binary files /dev/null and b/public/changelog/en.png differ
diff --git a/public/changelog/en.webp b/public/changelog/en.webp
deleted file mode 100644
index 41b0a9a..0000000
Binary files a/public/changelog/en.webp and /dev/null differ
diff --git a/public/changelog/zh-CN.png b/public/changelog/zh-CN.png
new file mode 100644
index 0000000..f6e40fc
Binary files /dev/null and b/public/changelog/zh-CN.png differ
diff --git a/public/changelog/zh-CN.webp b/public/changelog/zh-CN.webp
deleted file mode 100644
index d9ba64a..0000000
Binary files a/public/changelog/zh-CN.webp and /dev/null differ
diff --git a/src/components/announcement/index.tsx b/src/components/announcement/index.tsx
index 102f479..ea3accd 100644
--- a/src/components/announcement/index.tsx
+++ b/src/components/announcement/index.tsx
@@ -1,22 +1,16 @@
"use client";
import React from "react";
-import Image from "next/image";
import { Modal, Button } from "@ltopx/lx-ui";
-import { useTranslations, useLocale } from "next-intl";
+import { useTranslations } from "next-intl";
import pkg from "../../../package.json";
export default function Announcement() {
const tGlobal = useTranslations("global");
const tZLog = useTranslations("zLog");
- const locale = useLocale();
-
const [open, setOpen] = React.useState(false);
- const url =
- locale === "zh-CN" ? "/changelog/zh-CN.webp" : "/changelog/en.webp";
-
const onClose = () => {
localStorage.setItem("announcement_version", pkg.version);
setOpen(false);
@@ -43,7 +37,6 @@ export default function Announcement() {
}
>
-
diff --git a/src/locales/en.json b/src/locales/en.json
index 4813919..98ffaa8 100755
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -322,11 +322,9 @@
"zLog": {
"full-log": "Click to view the full update log",
"menu-notice": "Download Le-AI client",
- "title": "v0.9.1 Update 🔥🔥",
- "text1": "Added support for account password login",
- "text2": "Added compatibility to configure other third-party OpenAI API Keys. For example: nextweb, API2D",
- "text3": "Fixed the issue of character limit for prompts and welcome messages when creating a new role",
- "text4": "Fixed the issue of garbled response in some cases",
- "text5": "Other UI details optimization"
+ "title": "v0.9.2 Update 🔥🔥",
+ "text1": "Support Docker deployment",
+ "text2": "Support unlimited sessions, and adjust the coherence of session by modifying the threshold of content summarization in session settings",
+ "text3": "UI optimization for other modules"
}
}
\ No newline at end of file
diff --git a/src/locales/ja.json b/src/locales/ja.json
index bbb1a12..b367927 100644
--- a/src/locales/ja.json
+++ b/src/locales/ja.json
@@ -322,11 +322,9 @@
"zLog": {
"full-log": "完全な更新履歴を表示するにはクリックしてください",
"menu-notice": "Le-AIクライアントが近日公開予定です",
- "title": "v0.9.1 更新のお知らせ 🔥🔥",
- "text1": "アカウントパスワードログインのサポートを追加しました",
- "text2": "他の第三者OpenAI APIキーとの互換性設定を追加しました。例:nextweb、API2D",
- "text3": "新規ロール作成時にプロンプトとウェルカムメッセージの文字数制限の問題を修正しました",
- "text4": "一部の場合におけるレスポンス文字化け問題を修正しました",
- "text5": "その他UIディテールの最適化"
+ "title": "v0.9.2 更新のお知らせ 🔥🔥",
+ "text1": "Dockerデプロイをサポートする",
+ "text2": "無制限のセッションをサポートし、セッション設定で要約内容の閾値を変更してセッションの一貫性を調整できます",
+ "text3": "他のモジュールUIの最適化"
}
}
\ No newline at end of file
diff --git a/src/locales/zh-CN.json b/src/locales/zh-CN.json
index a14218c..7a1e252 100755
--- a/src/locales/zh-CN.json
+++ b/src/locales/zh-CN.json
@@ -322,11 +322,9 @@
"zLog": {
"full-log": "点击查看完整更新日志",
"menu-notice": "点击下载 Le-AI 客户端",
- "title": "v0.9.1 版本更新公告 🔥🔥",
- "text1": "新增支持支持账号密码登录",
- "text2": "新增兼容配置其他第三方 OpenAI API Key。例如:nextweb,API2D",
- "text3": "修复新建角色时,prompt 和欢迎语字数限制的问题",
- "text4": "修复部分情况下响应乱码的问题",
- "text5": "其他 UI 细节优化"
+ "title": "v0.9.2 版本更新公告 🔥🔥",
+ "text1": "支持 Docker 部署",
+ "text2": "支持无限会话,可在会话设置中修改内容总结的阈值来调整会话的连贯性",
+ "text3": "其他模块 UI 优化"
}
}
\ No newline at end of file
diff --git a/src/locales/zh-HK.json b/src/locales/zh-HK.json
index e2bf8aa..7fad603 100644
--- a/src/locales/zh-HK.json
+++ b/src/locales/zh-HK.json
@@ -322,11 +322,9 @@
"zLog": {
"full-log": "點擊查看完整更新日誌",
"menu-notice": "點擊下載 Le-AI 客戶端",
- "title": "v0.9.1 版本更新公告 🔥🔥",
- "text1": "新增支援支援帳號密碼登錄",
- "text2": "新增兼容配置其他第三方 OpenAI API Key。例如:nextweb,API2D",
- "text3": "修復新建角色時,prompt 和歡迎語字數限制的問題",
- "text4": "修復部分情況下響應亂碼的問題",
- "text5": "其他 UI 細節優化"
+ "title": "v0.9.2 版本更新公告 🔥🔥",
+ "text1": "支持 Docker 部署",
+ "text2": "支持無限會話,可在會話設置中修改內容總結的閾值來調整會話的連貫性",
+ "text3": "其他模塊 UI 優化"
}
}
\ No newline at end of file