mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-03 16:46:40 +08:00
微调,无关紧要
This commit is contained in:
parent
c758cf469b
commit
21d534ea2e
@ -30,7 +30,7 @@ function DateSelectComponent({ currentDate, setCurrentDate }: ComponentProps) {
|
|||||||
case "ArrowRight":
|
case "ArrowRight":
|
||||||
if (currentDate) {
|
if (currentDate) {
|
||||||
const temp_date = addDays(currentDate, 1);
|
const temp_date = addDays(currentDate, 1);
|
||||||
if (temp_date < maxDate) {
|
if (temp_date <= maxDate) {
|
||||||
setCurrentDate(temp_date);
|
setCurrentDate(temp_date);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -157,7 +157,7 @@ export const DEFAULT_MODELS = [
|
|||||||
{
|
{
|
||||||
name: "gpt-4-1106-preview",
|
name: "gpt-4-1106-preview",
|
||||||
describe: "GPT-4,备用",
|
describe: "GPT-4,备用",
|
||||||
available: true,
|
available: false,
|
||||||
provider: {
|
provider: {
|
||||||
id: "openai",
|
id: "openai",
|
||||||
providerName: "OpenAI",
|
providerName: "OpenAI",
|
||||||
|
@ -137,7 +137,7 @@ export const useAppConfig = createPersistStore(
|
|||||||
}),
|
}),
|
||||||
{
|
{
|
||||||
name: StoreKey.Config,
|
name: StoreKey.Config,
|
||||||
version: 3.897,
|
version: 3.898,
|
||||||
migrate(persistedState, version) {
|
migrate(persistedState, version) {
|
||||||
const state = persistedState as ChatConfig;
|
const state = persistedState as ChatConfig;
|
||||||
|
|
||||||
@ -168,7 +168,7 @@ export const useAppConfig = createPersistStore(
|
|||||||
if (version < 3.8) {
|
if (version < 3.8) {
|
||||||
state.lastUpdate = Date.now();
|
state.lastUpdate = Date.now();
|
||||||
}
|
}
|
||||||
if (version < 3.897) {
|
if (version < 3.898) {
|
||||||
state.lastUpdate = Date.now();
|
state.lastUpdate = Date.now();
|
||||||
return { ...DEFAULT_CONFIG };
|
return { ...DEFAULT_CONFIG };
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user