删除掉没用的模型

This commit is contained in:
sijinhui 2024-05-23 13:38:17 +08:00
parent 700cb5e95f
commit 402d6b9664
3 changed files with 33 additions and 33 deletions

View File

@ -125,7 +125,7 @@ Latex inline: \\(x^2\\)
Latex block: $$e=mc^2$$
`;
export const SUMMARIZE_MODEL = "gpt-35-turbo-0125";
export const SUMMARIZE_MODEL = "gpt-4o";
export const GEMINI_SUMMARIZE_MODEL = "gemini-pro";
export const KnowledgeCutOffDate: Record<string, string> = {
@ -206,7 +206,7 @@ const anthropicModels = [
export const DEFAULT_MODELS = [
{
name: "gpt-3.5-turbo-0125",
name: "gpt-3.5-turbo",
describe: "GPT-3,质量一般,便宜",
available: true,
provider: {
@ -235,16 +235,16 @@ export const DEFAULT_MODELS = [
providerType: "openai",
},
},
{
name: "gpt-35-turbo-0125",
describe: "GPT-3,微软,备用",
available: true,
provider: {
id: "openai",
providerName: "OpenAI",
providerType: "openai",
},
},
// {
// name: "gpt-35-turbo-0125",
// describe: "GPT-3,微软,备用",
// available: true,
// provider: {
// id: "openai",
// providerName: "OpenAI",
// providerType: "openai",
// },
// },
{
name: "claude-3-opus-20240229",
describe: "claude第三代模型最强版",
@ -255,16 +255,16 @@ export const DEFAULT_MODELS = [
providerType: "openai",
},
},
{
name: "gpt-4-vision-preview",
available: true,
describe: "GPT-4多模态,图像识别",
provider: {
id: "openai",
providerName: "OpenAI",
providerType: "openai",
},
},
// {
// name: "gpt-4-vision-preview",
// available: true,
// describe: "GPT-4多模态,图像识别",
// provider: {
// id: "openai",
// providerName: "OpenAI",
// providerType: "openai",
// },
// },
{
name: "gemini-1.5-pro-latest",
available: true,
@ -318,7 +318,7 @@ export const DEFAULT_MODELS = [
] as const;
export const AZURE_MODELS: string[] = [
"gpt-35-turbo-0125",
//"gpt-35-turbo-0125",
"gpt-4-turbo-2024-04-09",
"gpt-4o",
];

View File

@ -33,7 +33,7 @@ export const CN_MASKS: BuiltinMask[] = [
},
],
modelConfig: {
model: "gpt-35-turbo-0125",
model: "gpt-3.5-turbo",
temperature: 1,
max_tokens: 2000,
presence_penalty: 0,
@ -59,7 +59,7 @@ export const CN_MASKS: BuiltinMask[] = [
},
],
modelConfig: {
model: "gpt-35-turbo-0125",
model: "gpt-3.5-turbo",
temperature: 1,
max_tokens: 2000,
presence_penalty: 0,
@ -85,7 +85,7 @@ export const CN_MASKS: BuiltinMask[] = [
},
],
modelConfig: {
model: "gpt-35-turbo-0125",
model: "gpt-3.5-turbo",
temperature: 1,
max_tokens: 2000,
presence_penalty: 0,
@ -111,7 +111,7 @@ export const CN_MASKS: BuiltinMask[] = [
},
],
modelConfig: {
model: "gpt-35-turbo-0125",
model: "gpt-3.5-turbo",
temperature: 1,
max_tokens: 2000,
presence_penalty: 0,
@ -143,7 +143,7 @@ export const CN_MASKS: BuiltinMask[] = [
},
],
modelConfig: {
model: "gpt-35-turbo-0125",
model: "gpt-3.5-turbo",
temperature: 0.5,
max_tokens: 2000,
presence_penalty: 0,
@ -169,7 +169,7 @@ export const CN_MASKS: BuiltinMask[] = [
},
],
modelConfig: {
model: "gpt-35-turbo-0125",
model: "gpt-3.5-turbo",
temperature: 1,
max_tokens: 2000,
presence_penalty: 0,
@ -202,7 +202,7 @@ export const CN_MASKS: BuiltinMask[] = [
},
],
modelConfig: {
model: "gpt-35-turbo-0125",
model: "gpt-3.5-turbo",
temperature: 1,
max_tokens: 2000,
presence_penalty: 0,
@ -235,7 +235,7 @@ export const CN_MASKS: BuiltinMask[] = [
},
],
modelConfig: {
model: "gpt-35-turbo-0125",
model: "gpt-3.5-turbo",
temperature: 1,
max_tokens: 2000,
presence_penalty: 0,

View File

@ -138,7 +138,7 @@ export const useAppConfig = createPersistStore(
}),
{
name: StoreKey.Config,
version: 3.92,
version: 3.93,
migrate(persistedState, version) {
const state = persistedState as ChatConfig;
@ -174,7 +174,7 @@ export const useAppConfig = createPersistStore(
// return { ...DEFAULT_CONFIG };
// }
if (version < 3.92) {
if (version < 3.93) {
state.modelConfig = DEFAULT_CONFIG.modelConfig;
// state.modelConfig.template =
// state.modelConfig.template !== DEFAULT_INPUT_TEMPLATE