An AI-powered search engine with a generative UI
TypeScript generative-aigenerative-uinextjsollamareactsearxngshadcn-uitailwindcsstavilytypescriptupstashvercel-ai-sdk
support openai base url configuration
Li Zhe366b08ac5bde
diff --git a/.env.local.example b/.env.local.exampleindex b1a5dde5..87687f13 100644--- a/.env.local.example+++ b/.env.local.example@@ -1,5 +1,8 @@+# Used to set the base URL path for OpenAI API requests.The default value is https://api.openai.com/v1+OPENAI_API_BASE=# OpenAI API key retrieved here: https://platform.openai.com/api-keysOPENAI_API_KEY=# Tavily API Key retrieved here: https://app.tavily.com/home-TAVILY_API_KEY=\ No newline at end of file+TAVILY_API_KEY=+diff --git a/README.md b/README.mdindex c1cc4602..4cac5010 100644--- a/README.md+++ b/README.md@@ -46,6 +46,8 @@ cp .env.local.example .env.localYour .env.local file should look like this:```+# Used to set the base URL path for OpenAI API requests.The default value is https://api.openai.com/v1+OPENAI_API_BASE=# OpenAI API key retrieved here: https://platform.openai.com/api-keysOPENAI_API_KEY=[YOUR_OPENAI_API_KEY]@@ -65,4 +67,4 @@ You can now visit http://localhost:3000.Host your own live version of Morphic with Vercel.-[](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fmiurla%2Fmorphic&env=OPENAI_API_KEY,TAVILY_API_KEY)+[](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fmiurla%2Fmorphic&env=OPENAI_API_BASE,OPENAI_API_KEY,TAVILY_API_KEY)