mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-03 00:26:40 +08:00
commit
6181f3ead2
@ -9,6 +9,7 @@ import ConfirmIcon from "../icons/confirm.svg";
|
||||
import CancelIcon from "../icons/cancel.svg";
|
||||
import MaxIcon from "../icons/max.svg";
|
||||
import MinIcon from "../icons/min.svg";
|
||||
import ClaudeInstantIcon from "../icons/Claude-Instant.svg";
|
||||
|
||||
import Locale from "../locales";
|
||||
|
||||
@ -522,6 +523,9 @@ export function ModalSelector<T extends CheckGroupValueType>(props: {
|
||||
if (value.startsWith("gemini")) {
|
||||
return <GoogleOutlined />;
|
||||
}
|
||||
if (value.startsWith("claude")) {
|
||||
return <ClaudeInstantIcon />;
|
||||
}
|
||||
return <></>;
|
||||
};
|
||||
|
||||
|
@ -247,7 +247,7 @@ export const DEFAULT_MODELS = [
|
||||
// },
|
||||
// },
|
||||
{
|
||||
name: "claude-3-opus-20240229",
|
||||
name: "claude-3-5-sonnet-20240620",
|
||||
describe: "claude第三代模型最强版",
|
||||
available: true,
|
||||
provider: {
|
||||
|
1
app/icons/Claude-Instant.svg
Normal file
1
app/icons/Claude-Instant.svg
Normal file
@ -0,0 +1 @@
|
||||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1719242837820" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4271" xmlns:xlink="http://www.w3.org/1999/xlink" width="1em" height="1em"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#EADBBE" p-id="4272"></path><path d="M653.443072 286.424064h-97.913856l178.556928 451.150848H832L653.443072 286.424064z m-282.886144 0L192 737.575936h99.84512l36.514816-94.741504h186.805248l36.514816 94.741504h99.84512L472.968192 286.424064H370.556928z m-9.89696 272.622592l61.103104-158.55104 61.103104 158.55104H360.659968z" fill="#191919" p-id="4273"></path></svg>
|
After Width: | Height: | Size: 766 B |
@ -138,7 +138,7 @@ export const useAppConfig = createPersistStore(
|
||||
}),
|
||||
{
|
||||
name: StoreKey.Config,
|
||||
version: 3.94,
|
||||
version: 3.95,
|
||||
migrate(persistedState, version) {
|
||||
const state = persistedState as ChatConfig;
|
||||
|
||||
@ -174,7 +174,7 @@ export const useAppConfig = createPersistStore(
|
||||
// return { ...DEFAULT_CONFIG };
|
||||
// }
|
||||
|
||||
if (version < 3.94) {
|
||||
if (version < 3.95) {
|
||||
state.modelConfig = DEFAULT_CONFIG.modelConfig;
|
||||
// state.modelConfig.template =
|
||||
// state.modelConfig.template !== DEFAULT_INPUT_TEMPLATE
|
||||
|
@ -22,11 +22,11 @@ services:
|
||||
- /etc/localtime:/etc/localtime
|
||||
# networks:
|
||||
# - chatgpt-ns
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: "10m"
|
||||
max-file: "1"
|
||||
# logging:
|
||||
# driver: json-file
|
||||
# options:
|
||||
# max-size: "10m"
|
||||
# max-file: "1"
|
||||
|
||||
#networks:
|
||||
# chatgpt-ns:
|
||||
|
@ -71,9 +71,9 @@ model Session {
|
||||
|
||||
model LogEntry {
|
||||
id Int @id @default(autoincrement())
|
||||
ip String? @db.VarChar(50) // IPV6 long 39
|
||||
ip String? @db.VarChar(50) // IPV6 long 39
|
||||
path String? @db.Text
|
||||
model String? @db.VarChar(25)
|
||||
model String? @db.VarChar(50)
|
||||
userName String? @db.VarChar(50)
|
||||
userID String?
|
||||
createdAt DateTime @default(now())
|
||||
@ -142,11 +142,11 @@ model VerificationToken {
|
||||
// }
|
||||
|
||||
model Setting {
|
||||
key String @id
|
||||
value String
|
||||
type String
|
||||
createdAt DateTime @default(now()) @map("created_at")
|
||||
updatedAt DateTime @default(now()) @updatedAt @map("updated_at")
|
||||
key String @id
|
||||
value String
|
||||
type String
|
||||
createdAt DateTime @default(now()) @map("created_at")
|
||||
updatedAt DateTime @default(now()) @updatedAt @map("updated_at")
|
||||
|
||||
@@map("settings")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user