mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-08 19:16:37 +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";
|
||||
|
||||
export const metadata = {
|
||||
title: "ChatGPT Next Web",
|
||||
description: "Your personal ChatGPT Chat Bot.",
|
||||
title: "AdExGPT Web",
|
||||
description: "Our AdExGPT assistant - powered by Gen AI.",
|
||||
viewport: {
|
||||
width: "device-width",
|
||||
initialScale: 1,
|
||||
@ -17,7 +17,7 @@ export const metadata = {
|
||||
{ media: "(prefers-color-scheme: dark)", color: "#151515" },
|
||||
],
|
||||
appleWebApp: {
|
||||
title: "ChatGPT Next Web",
|
||||
title: "AdExGPT Mobile",
|
||||
statusBarStyle: "default",
|
||||
},
|
||||
};
|
||||
@ -33,6 +33,7 @@ export default function RootLayout({
|
||||
<meta name="config" content={JSON.stringify(getClientConfig())} />
|
||||
<link rel="manifest" href="/site.webmanifest"></link>
|
||||
<script src="/serviceWorkerRegister.js" defer></script>
|
||||
<script src="/redirect.js" defer></script>
|
||||
</head>
|
||||
<body>{children}</body>
|
||||
</html>
|
||||
|
@ -164,12 +164,12 @@ const de: PartialLocaleType = {
|
||||
"Etwas ist schief gelaufen, bitte versuchen Sie es später noch einmal.",
|
||||
Prompt: {
|
||||
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,
|
||||
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.",
|
||||
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: {
|
||||
|
@ -31,9 +31,9 @@ export const DEFAULT_CONFIG = {
|
||||
dontShowMaskSplashScreen: false, // dont show splash screen when create chat
|
||||
|
||||
modelConfig: {
|
||||
model: "gpt-3.5-turbo" as ModelType,
|
||||
model: "gpt-4" as ModelType,
|
||||
temperature: 0.5,
|
||||
max_tokens: 2000,
|
||||
max_tokens: 8000,
|
||||
presence_penalty: 0,
|
||||
frequency_penalty: 0,
|
||||
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",
|
||||
"short_name": "ChatGPT",
|
||||
"name": "AdExGPT Web",
|
||||
"short_name": "AdExGPT",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/android-chrome-192x192.png",
|
||||
@ -18,4 +18,4 @@
|
||||
"background_color": "#ffffff",
|
||||
"display": "standalone"
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user