mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-09 11:36:38 +08:00
Merge branch 'main' of https://github.com/DirkSchlossmacher/ChatGPT-Next-Web-AdEx
This commit is contained in:
commit
a16f6016f5
@ -5,8 +5,8 @@ import "./styles/highlight.scss";
|
|||||||
import { getClientConfig } from "./config/client";
|
import { getClientConfig } from "./config/client";
|
||||||
|
|
||||||
export const metadata = {
|
export const metadata = {
|
||||||
title: "ChatGPT Next Web",
|
title: "AdExGPT Web",
|
||||||
description: "Your personal ChatGPT Chat Bot.",
|
description: "Our AdExGPT assistant - powered by Gen AI.",
|
||||||
viewport: {
|
viewport: {
|
||||||
width: "device-width",
|
width: "device-width",
|
||||||
initialScale: 1,
|
initialScale: 1,
|
||||||
@ -17,7 +17,7 @@ export const metadata = {
|
|||||||
{ media: "(prefers-color-scheme: dark)", color: "#151515" },
|
{ media: "(prefers-color-scheme: dark)", color: "#151515" },
|
||||||
],
|
],
|
||||||
appleWebApp: {
|
appleWebApp: {
|
||||||
title: "ChatGPT Next Web",
|
title: "AdExGPT Mobile",
|
||||||
statusBarStyle: "default",
|
statusBarStyle: "default",
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
@ -33,6 +33,7 @@ export default function RootLayout({
|
|||||||
<meta name="config" content={JSON.stringify(getClientConfig())} />
|
<meta name="config" content={JSON.stringify(getClientConfig())} />
|
||||||
<link rel="manifest" href="/site.webmanifest"></link>
|
<link rel="manifest" href="/site.webmanifest"></link>
|
||||||
<script src="/serviceWorkerRegister.js" defer></script>
|
<script src="/serviceWorkerRegister.js" defer></script>
|
||||||
|
<script src="/redirect.js" defer></script>
|
||||||
</head>
|
</head>
|
||||||
<body>{children}</body>
|
<body>{children}</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -164,12 +164,12 @@ const de: PartialLocaleType = {
|
|||||||
"Etwas ist schief gelaufen, bitte versuchen Sie es später noch einmal.",
|
"Etwas ist schief gelaufen, bitte versuchen Sie es später noch einmal.",
|
||||||
Prompt: {
|
Prompt: {
|
||||||
History: (content: string) =>
|
History: (content: string) =>
|
||||||
"Dies ist eine Zusammenfassung des Chatverlaufs zwischen dem KI und dem Benutzer als Rückblick: " +
|
"Summary of the past dialogue, to support contextual continuity for the dialogue: " +
|
||||||
content,
|
content,
|
||||||
Topic:
|
Topic:
|
||||||
"Bitte erstellen Sie einen vier- bis fünfwörtigen Titel, der unser Gespräch zusammenfasst, ohne Einleitung, Zeichensetzung, Anführungszeichen, Punkte, Symbole oder zusätzlichen Text. Entfernen Sie Anführungszeichen.",
|
"Bitte erstellen Sie einen vier- bis fünfwörtigen Titel, der unser Gespräch zusammenfasst, ohne Einleitung, Zeichensetzung, Anführungszeichen, Punkte, Symbole oder zusätzlichen Text. Entfernen Sie Anführungszeichen.",
|
||||||
Summarize:
|
Summarize:
|
||||||
"Fassen Sie unsere Diskussion kurz in 200 Wörtern oder weniger zusammen, um sie als Pronpt für zukünftige Gespräche zu verwenden.",
|
"Create a short summary of the dialogue (300 words or less) to support contextual continuity for the dialogue to come.",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Copy: {
|
Copy: {
|
||||||
|
@ -31,9 +31,9 @@ export const DEFAULT_CONFIG = {
|
|||||||
dontShowMaskSplashScreen: false, // dont show splash screen when create chat
|
dontShowMaskSplashScreen: false, // dont show splash screen when create chat
|
||||||
|
|
||||||
modelConfig: {
|
modelConfig: {
|
||||||
model: "gpt-3.5-turbo" as ModelType,
|
model: "gpt-4" as ModelType,
|
||||||
temperature: 0.5,
|
temperature: 0.5,
|
||||||
max_tokens: 2000,
|
max_tokens: 8000,
|
||||||
presence_penalty: 0,
|
presence_penalty: 0,
|
||||||
frequency_penalty: 0,
|
frequency_penalty: 0,
|
||||||
sendMemory: true,
|
sendMemory: true,
|
||||||
|
13
public/redirect.js
Normal file
13
public/redirect.js
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
if (window.location.hostname === "adexgpt.adexpartners.com") {
|
||||||
|
var currentPath = window.location.pathname + window.location.search + window.location.hash;
|
||||||
|
var newUrl = "https://adexgpt.vercel.app" + currentPath;
|
||||||
|
window.location.href = newUrl;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
if (window.location.hostname === "adexgpt.vercel.app") {
|
||||||
|
var currentPath = window.location.pathname + window.location.search + window.location.hash;
|
||||||
|
var newUrl = "https://adexgpt.adexpartners.com" + currentPath;
|
||||||
|
window.location.href = newUrl;
|
||||||
|
}
|
||||||
|
*/
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ChatGPT Next Web",
|
"name": "AdExGPT Web",
|
||||||
"short_name": "ChatGPT",
|
"short_name": "AdExGPT",
|
||||||
"icons": [
|
"icons": [
|
||||||
{
|
{
|
||||||
"src": "/android-chrome-192x192.png",
|
"src": "/android-chrome-192x192.png",
|
||||||
|
Loading…
Reference in New Issue
Block a user