mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-17 22:43:42 +08:00
添加模型
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user