mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-01 23:56:39 +08:00
Modifications
This commit is contained in:
parent
da2e2372aa
commit
b8b49fd0cc
1
.gitignore
vendored
1
.gitignore
vendored
@ -41,6 +41,7 @@ dev
|
||||
|
||||
# docker-compose env files
|
||||
.env
|
||||
.env.local
|
||||
|
||||
*.key
|
||||
*.key.pub
|
@ -155,10 +155,10 @@ export function SideBar(props: { className?: string }) {
|
||||
>
|
||||
<div className={styles["sidebar-header"]} data-tauri-drag-region>
|
||||
<div className={styles["sidebar-title"]} data-tauri-drag-region>
|
||||
NextChat
|
||||
بسم الله الرحمن الرحيم
|
||||
</div>
|
||||
<div className={styles["sidebar-sub-title"]}>
|
||||
Build your own AI assistant.
|
||||
S'entraîner avec l'IA
|
||||
</div>
|
||||
<div className={styles["sidebar-logo"] + " no-dark"}>
|
||||
<ChatGptIcon />
|
||||
@ -179,13 +179,13 @@ export function SideBar(props: { className?: string }) {
|
||||
}}
|
||||
shadow
|
||||
/>
|
||||
<IconButton
|
||||
{/* <IconButton
|
||||
icon={<PluginIcon />}
|
||||
text={shouldNarrow ? undefined : Locale.Plugin.Name}
|
||||
className={styles["sidebar-bar-button"]}
|
||||
onClick={() => showToast(Locale.WIP)}
|
||||
shadow
|
||||
/>
|
||||
/> */}
|
||||
</div>
|
||||
|
||||
<div
|
||||
|
@ -67,8 +67,8 @@ export const EXPORT_MESSAGE_CLASS_NAME = "export-markdown";
|
||||
|
||||
export enum ServiceProvider {
|
||||
OpenAI = "OpenAI",
|
||||
Azure = "Azure",
|
||||
Google = "Google",
|
||||
// Azure = "Azure",
|
||||
// Google = "Google",
|
||||
Anthropic = "Anthropic",
|
||||
}
|
||||
|
||||
@ -138,29 +138,29 @@ export const KnowledgeCutOffDate: Record<string, string> = {
|
||||
|
||||
const openaiModels = [
|
||||
"gpt-3.5-turbo",
|
||||
"gpt-3.5-turbo-1106",
|
||||
"gpt-3.5-turbo-0125",
|
||||
// "gpt-3.5-turbo-1106",
|
||||
// "gpt-3.5-turbo-0125",
|
||||
"gpt-4",
|
||||
"gpt-4-0613",
|
||||
"gpt-4-32k",
|
||||
"gpt-4-32k-0613",
|
||||
// "gpt-4-0613",
|
||||
// "gpt-4-32k",
|
||||
// "gpt-4-32k-0613",
|
||||
"gpt-4-turbo",
|
||||
"gpt-4-turbo-preview",
|
||||
// "gpt-4-turbo-preview",
|
||||
"gpt-4o",
|
||||
"gpt-4o-2024-05-13",
|
||||
"gpt-4-vision-preview",
|
||||
"gpt-4-turbo-2024-04-09"
|
||||
// "gpt-4o-2024-05-13",
|
||||
// "gpt-4-vision-preview",
|
||||
// "gpt-4-turbo-2024-04-09"
|
||||
];
|
||||
|
||||
const googleModels = [
|
||||
"gemini-1.0-pro",
|
||||
"gemini-1.5-pro-latest",
|
||||
"gemini-1.5-flash-latest",
|
||||
"gemini-pro-vision",
|
||||
];
|
||||
// const googleModels = [
|
||||
// "gemini-1.0-pro",
|
||||
// "gemini-1.5-pro-latest",
|
||||
// "gemini-1.5-flash-latest",
|
||||
// "gemini-pro-vision",
|
||||
// ];
|
||||
|
||||
const anthropicModels = [
|
||||
"claude-instant-1.2",
|
||||
// "claude-instant-1.2",
|
||||
"claude-2.0",
|
||||
"claude-2.1",
|
||||
"claude-3-sonnet-20240229",
|
||||
@ -178,15 +178,15 @@ export const DEFAULT_MODELS = [
|
||||
providerType: "openai",
|
||||
},
|
||||
})),
|
||||
...googleModels.map((name) => ({
|
||||
name,
|
||||
available: true,
|
||||
provider: {
|
||||
id: "google",
|
||||
providerName: "Google",
|
||||
providerType: "google",
|
||||
},
|
||||
})),
|
||||
// ...googleModels.map((name) => ({
|
||||
// name,
|
||||
// available: true,
|
||||
// provider: {
|
||||
// id: "google",
|
||||
// providerName: "Google",
|
||||
// providerType: "google",
|
||||
// },
|
||||
// })),
|
||||
...anthropicModels.map((name) => ({
|
||||
name,
|
||||
available: true,
|
||||
|
@ -128,7 +128,7 @@ const fr: PartialLocaleType = {
|
||||
FoundUpdate: (x: string) => `Nouvelle version disponible : ${x}`,
|
||||
GoToUpdate: "Mise à jour",
|
||||
},
|
||||
SendKey: "Clé d'envoi",
|
||||
SendKey: "Touche pour envoyer le message",
|
||||
Theme: "Thème",
|
||||
TightBorder: "Bordure serrée",
|
||||
SendPreviewBubble: {
|
||||
@ -240,7 +240,7 @@ const fr: PartialLocaleType = {
|
||||
Sysmessage: "Eres un asistente que",
|
||||
},
|
||||
Mask: {
|
||||
Name: "Masque",
|
||||
Name: "Assistants",
|
||||
Page: {
|
||||
Title: "Modèle de prompt",
|
||||
SubTitle: (count: number) => `${count} modèles de prompts`,
|
||||
|
Loading…
Reference in New Issue
Block a user