mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-01 23:56:39 +08:00
添加模型
This commit is contained in:
parent
a6cee12ec1
commit
10cc788a49
@ -247,7 +247,7 @@ export const DEFAULT_MODELS = [
|
||||
// },
|
||||
// },
|
||||
{
|
||||
name: "claude-3-opus-20240229",
|
||||
name: "claude-3-5-sonnet-20240620",
|
||||
describe: "claude第三代模型最强版",
|
||||
available: true,
|
||||
provider: {
|
||||
|
@ -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:
|
||||
|
@ -73,7 +73,7 @@ model LogEntry {
|
||||
id Int @id @default(autoincrement())
|
||||
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())
|
||||
|
Loading…
Reference in New Issue
Block a user