refactor: move isVailedJSON import to utils for better organization
This commit is contained in:
@@ -11,7 +11,7 @@ import {
|
||||
} from "@/types/chatstore";
|
||||
import { models } from "@/types/models";
|
||||
import { tr, Tr, langCodeContext, LANG_OPTIONS } from "@/translate";
|
||||
import { isVailedJSON } from "@/message";
|
||||
import { isVailedJSON } from "@/utils/isVailedJSON";
|
||||
import { SetAPIsTemplate } from "@/setAPIsTemplate";
|
||||
import { autoHeight } from "@/utils/textAreaHelp";
|
||||
import { getDefaultParams } from "@/utils/getDefaultParam";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { ChatStore, ChatStoreMessage } from "@/types/chatstore";
|
||||
import { isVailedJSON } from "@/message";
|
||||
import { isVailedJSON } from "@/utils/isVailedJSON";
|
||||
import { calculate_token_length } from "@/chatgpt";
|
||||
import { Tr } from "@/translate";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user