refac: export getDefaultParam

This commit is contained in:
2024-10-15 15:01:51 +08:00
parent af2ae82e74
commit 1fbd4ee87b
6 changed files with 8 additions and 12 deletions

View File

@@ -1,6 +1,4 @@
import { Logprobs, Message } from "@/chatgpt";
import { DefaultModel, CHATGPT_API_WEB_VERSION } from "@/const";
import getDefaultParams from "@/utils/getDefaultParam";
/**
* ChatStore is the main object of the chatgpt-api-web,

View File

@@ -3,7 +3,7 @@ import {
DefaultModel,
CHATGPT_API_WEB_VERSION,
} from "@/const";
import getDefaultParams from "@/utils/getDefaultParam";
import { getDefaultParams } from "@/utils/getDefaultParam";
import { ChatStore } from "@/types/chatstore";
import { models } from "@/types/models";