change model

This commit is contained in:
sijinhui 2024-05-08 23:39:49 +08:00
parent 582d0aec84
commit 0914682095
2 changed files with 6 additions and 6 deletions

View File

@ -201,8 +201,8 @@ const anthropicModels = [
export const DEFAULT_MODELS = [
{
name: "gpt-35-turbo-0125",
describe: "GPT-3,微软",
name: "gpt-3.5-turbo-0125",
describe: "GPT-3,质量一般,便宜",
available: true,
provider: {
id: "openai",
@ -245,8 +245,8 @@ export const DEFAULT_MODELS = [
// },
// },
{
name: "gpt-3.5-turbo-0125",
describe: "GPT-3,备用",
name: "gpt-35-turbo-0125",
describe: "GPT-3,微软,备用",
available: true,
provider: {
id: "openai",

View File

@ -137,7 +137,7 @@ export const useAppConfig = createPersistStore(
}),
{
name: StoreKey.Config,
version: 3.8995,
version: 3.8996,
migrate(persistedState, version) {
const state = persistedState as ChatConfig;
@ -168,7 +168,7 @@ export const useAppConfig = createPersistStore(
if (version < 3.8) {
state.lastUpdate = Date.now();
}
if (version < 3.8995) {
if (version < 3.8996) {
state.lastUpdate = Date.now();
return { ...DEFAULT_CONFIG };
}