添加模型

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