From 4b3562d75c069805f3e4e206bf6cf67b02576b7e Mon Sep 17 00:00:00 2001 From: bracesproul Date: Thu, 10 Apr 2025 13:56:44 -0700 Subject: [PATCH] feat: Add .env.example files to web templates --- templates/nextjs/.env.example | 13 +++++++++++++ templates/vite/.env.example | 3 +++ 2 files changed, 16 insertions(+) create mode 100644 templates/nextjs/.env.example create mode 100644 templates/vite/.env.example diff --git a/templates/nextjs/.env.example b/templates/nextjs/.env.example new file mode 100644 index 0000000..a38138d --- /dev/null +++ b/templates/nextjs/.env.example @@ -0,0 +1,13 @@ +# LangGraph Configuration +NEXT_PUBLIC_API_URL=http://localhost:2024 +NEXT_PUBLIC_ASSISTANT_ID=agent +# Do NOT prefix this with "NEXT_PUBLIC_" as we do not want this exposed in the client. +LANGSMITH_API_KEY= + +# Production LangGraph Configuration (quickstart) - Uncomment to use +# NEXT_PUBLIC_ASSISTANT_ID="agent" +# This should be the deployment URL of your LangGraph server +# LANGGRAPH_API_URL="https://my-agent.default.us.langgraph.app" +# This should be the URL of your website + "/api". This is how you connect to the API proxy +# NEXT_PUBLIC_API_URL="https://my-website.com/api" +# LANGSMITH_API_KEY="lsv2_..." diff --git a/templates/vite/.env.example b/templates/vite/.env.example new file mode 100644 index 0000000..38a5107 --- /dev/null +++ b/templates/vite/.env.example @@ -0,0 +1,3 @@ +# LangGraph Configuration +VITE_API_URL=http://localhost:2024 +VITE_ASSISTANT_ID=agent