:
}
onClick={changeVisibility}
className={"password-eye"}
diff --git a/app/locales/cn.ts b/app/locales/cn.ts
index 4db555422c9..02b3a9d403a 100644
--- a/app/locales/cn.ts
+++ b/app/locales/cn.ts
@@ -133,6 +133,7 @@ const cn = {
Settings: {
Title: "设置",
SubTitle: "所有设置选项",
+ ShowPassword: "显示密码",
Danger: {
Reset: {
diff --git a/app/locales/en.ts b/app/locales/en.ts
index ac788032979..6cca963a959 100644
--- a/app/locales/en.ts
+++ b/app/locales/en.ts
@@ -44,6 +44,7 @@ const en: LocaleType = {
PinToastAction: "View",
Delete: "Delete",
Edit: "Edit",
+ FullScreen: "FullScreen",
},
Commands: {
new: "Start a new chat",
@@ -135,6 +136,7 @@ const en: LocaleType = {
Settings: {
Title: "Settings",
SubTitle: "All Settings",
+ ShowPassword: "ShowPassword",
Danger: {
Reset: {
Title: "Reset All Settings",
From 034c82e5149ba03a5d9c690633b7381cf3eea2c2 Mon Sep 17 00:00:00 2001
From: lyf <1910527151@qq.com>
Date: Wed, 7 Aug 2024 13:39:23 +0800
Subject: [PATCH 3/5] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AE=BE=E7=BD=AE?=
=?UTF-8?q?=E7=9A=84=E6=97=A0=E9=9A=9C=E7=A2=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/components/sd/sd.tsx | 1 +
1 file changed, 1 insertion(+)
diff --git a/app/components/sd/sd.tsx b/app/components/sd/sd.tsx
index 4f5f8696065..0ace62a83cb 100644
--- a/app/components/sd/sd.tsx
+++ b/app/components/sd/sd.tsx
@@ -133,6 +133,7 @@ export function Sd() {
{showMaxIcon && (
: }
bordered
onClick={() => {
From 0958b9ee12ab9cae387eb595ca0aa30c591c97db Mon Sep 17 00:00:00 2001
From: lyf <1910527151@qq.com>
Date: Thu, 8 Aug 2024 13:08:56 +0800
Subject: [PATCH 4/5] tsxiugai
---
app/components/ui-lib.tsx | 13 +++----------
1 file changed, 3 insertions(+), 10 deletions(-)
diff --git a/app/components/ui-lib.tsx b/app/components/ui-lib.tsx
index 88b68d72f2b..fd78f9c4765 100644
--- a/app/components/ui-lib.tsx
+++ b/app/components/ui-lib.tsx
@@ -265,16 +265,9 @@ export function Input(props: InputProps) {
);
}
-// 定义一个接口 AriaProps,包含一个可选的 aria 属性
-interface AriaProps {
- aria?: string;
-}
-
-// 定义一个接口 PasswordInputProps,继承自 HTMLProps 和 AriaProps
-// 用于描述密码输入框组件的属性
-interface PasswordInputProps extends HTMLProps, AriaProps {}
-
-export function PasswordInput(props: PasswordInputProps) {
+export function PasswordInput(
+ props: HTMLProps & { aria?: string },
+) {
const [visible, setVisible] = useState(false);
function changeVisibility() {
setVisible(!visible);
From cc28aef6255d1abed0c5ee675a042e5ffb1f96c0 Mon Sep 17 00:00:00 2001
From: lyf <1910527151@qq.com>
Date: Thu, 8 Aug 2024 16:23:40 +0800
Subject: [PATCH 5/5] add gpt-4o-2024-08-06
---
app/constant.ts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/app/constant.ts b/app/constant.ts
index aa207718c18..d21f18f5a37 100644
--- a/app/constant.ts
+++ b/app/constant.ts
@@ -243,6 +243,7 @@ export const KnowledgeCutOffDate: Record = {
"gpt-4-turbo-preview": "2023-12",
"gpt-4o": "2023-10",
"gpt-4o-2024-05-13": "2023-10",
+ "gpt-4o-2024-08-06": "2023-10",
"gpt-4o-mini": "2023-10",
"gpt-4o-mini-2024-07-18": "2023-10",
"gpt-4-vision-preview": "2023-04",
@@ -264,6 +265,7 @@ const openaiModels = [
"gpt-4-turbo-preview",
"gpt-4o",
"gpt-4o-2024-05-13",
+ "gpt-4o-2024-08-06",
"gpt-4o-mini",
"gpt-4o-mini-2024-07-18",
"gpt-4-vision-preview",