mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-02 16:16:39 +08:00
0125切换使用微软
This commit is contained in:
parent
8a0f90adc0
commit
84dd704e4d
@ -146,7 +146,7 @@ export const DEFAULT_MODELS = [
|
||||
// },
|
||||
{
|
||||
name: "gpt-4-1106-preview",
|
||||
describe: "GPT-4,又强又快,推荐",
|
||||
describe: "GPT-4",
|
||||
available: true,
|
||||
provider: {
|
||||
id: "openai",
|
||||
@ -156,7 +156,7 @@ export const DEFAULT_MODELS = [
|
||||
},
|
||||
{
|
||||
name: "gpt-4-0125-preview",
|
||||
describe: "GPT-4,修复懒惰,目前挺贵",
|
||||
describe: "GPT-4,最新版,推荐",
|
||||
available: true,
|
||||
provider: {
|
||||
id: "openai",
|
||||
@ -206,7 +206,7 @@ export const DEFAULT_MODELS = [
|
||||
},
|
||||
] as const;
|
||||
|
||||
export const AZURE_MODELS: string[] = ["gpt-4-1106-preview"];
|
||||
export const AZURE_MODELS: string[] = ["gpt-4-0125-preview"];
|
||||
// export const AZURE_PATH = AZURE_MODELS.map((m) => { m: `openai/deployments/${m}/chat/completions`});
|
||||
// export const AZURE_PATH = AZURE_MODELS.map((m) => ({ m: `openai/deployments/${m}/chat/completions`} ));
|
||||
export const AZURE_PATH = AZURE_MODELS.reduce(
|
||||
|
@ -137,7 +137,7 @@ export const useAppConfig = createPersistStore(
|
||||
}),
|
||||
{
|
||||
name: StoreKey.Config,
|
||||
version: 3.894,
|
||||
version: 3.895,
|
||||
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.894) {
|
||||
if (version < 3.895) {
|
||||
state.lastUpdate = Date.now();
|
||||
return { ...DEFAULT_CONFIG };
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user