diff --git a/.env.template b/.env.template index b2a0438d9d12..18986958ec10 100644 --- a/.env.template +++ b/.env.template @@ -10,12 +10,12 @@ PROXY_URL=http://localhost:7890 # (optional) # Default: Empty -# Googel Gemini Pro API key, set if you want to use Google Gemini Pro API. +# Google Gemini Pro API key, set if you want to use Google Gemini Pro API. GOOGLE_API_KEY= # (optional) # Default: https://generativelanguage.googleapis.com/ -# Googel Gemini Pro API url without pathname, set if you want to customize Google Gemini Pro API url. +# Google Gemini Pro API url without pathname, set if you want to customize Google Gemini Pro API url. GOOGLE_URL= # Override openai api request base url. (optional) 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();