deeptrust-v2 / .env.example
zimejin's picture
docs: env.example, README and ARCHITECTURE for web search and HITL
a90c515
Raw
History Blame Contribute Delete
1.06 kB
# Model selection (local inference)
HF_MODEL=HuggingFaceTB/SmolLM2-360M-Instruct
HF_CACHE_DIR=./.hf-cache
# Optional: startup behavior (see instrumentation.ts)
# Skip eager model preload on local Node startup (model loads on first use instead)
# DEEPTRUST_LOAD_MODEL_AT_STARTUP=0
# Max wait for background preload before logging timeout (ms, default 600000)
# DEEPTRUST_PRELOAD_TIMEOUT_MS=600000
# Web search (tool_executor) β€” DuckDuckGo HTML is used by default; no API key required.
# Optional: Google Programmable Search Engine (Custom Search JSON API) for alternative results.
# 1. Create a search engine: https://programmablesearchengine.google.com/
# 2. Enable "Custom Search API" and create an API key: https://console.cloud.google.com/apis/library/customsearch.googleapis.com
# GOOGLE_CSE_API_KEY=
# GOOGLE_CSE_CX=
# LangSmith β€” observability and debugging (optional)
# Get an API key at https://smith.langchain.com β†’ Settings β†’ API Keys
# LANGCHAIN_TRACING_V2=true
# LANGCHAIN_API_KEY=your-langsmith-api-key
# LANGCHAIN_PROJECT=deeptrust