From e6bf4597984e06501b29557332fe15098db7463e Mon Sep 17 00:00:00 2001 From: wuzhiqing Date: Wed, 17 Jul 2024 09:58:14 +0800 Subject: [PATCH] chore: remove unused imports and correct typos --- app/config/server.ts | 2 +- app/utils/hooks.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/config/server.ts b/app/config/server.ts index 23557788b08b..d3ff9651d747 100644 --- a/app/config/server.ts +++ b/app/config/server.ts @@ -21,7 +21,7 @@ declare global { ENABLE_BALANCE_QUERY?: string; // allow user to query balance or not DISABLE_FAST_LINK?: string; // disallow parse settings from url or not CUSTOM_MODELS?: string; // to control custom models - DEFAULT_MODEL?: string; // to cnntrol default model in every new chat window + DEFAULT_MODEL?: string; // to control default model in every new chat window // azure only AZURE_URL?: string; // https://{azure-url}/openai/deployments/{deploy-name} diff --git a/app/utils/hooks.ts b/app/utils/hooks.ts index f7f1385e07e9..b3b7269274e4 100644 --- a/app/utils/hooks.ts +++ b/app/utils/hooks.ts @@ -1,6 +1,6 @@ import { useMemo } from "react"; import { useAccessStore, useAppConfig } from "../store"; -import { collectModels, collectModelsWithDefaultModel } from "./model"; +import { collectModelsWithDefaultModel } from "./model"; export function useAllModels() { const accessStore = useAccessStore();