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