添加模型

This commit is contained in:
sijinhui 2024-06-24 23:26:14 +08:00
parent a6cee12ec1
commit 10cc788a49
4 changed files with 15 additions and 15 deletions

View File

@ -247,7 +247,7 @@ export const DEFAULT_MODELS = [
// },
// },
{
name: "claude-3-opus-20240229",
name: "claude-3-5-sonnet-20240620",
describe: "claude第三代模型最强版",
available: true,
provider: {

View File

@ -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

View File

@ -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:

View File

@ -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())