.env.example
32 lines 1.5 KB
Raw
sha256:b5f647cb9c409f563d4671fe3fc05ddea01fabfed9b41fc11cb923588e1c1baf mirror: GitHub Phase A durable MCP OAuth (#270) Human minor ⚠ breaking 12 days ago
1 # Knowtation Hub Bridge — local `npm start` (see README "Run locally").
2 # The bridge loads the repo ROOT `.env` first (`../../.env` from this folder).
3 # Copy these lines there, or `export` them in your shell before `npm start`.
4
5 # Required (bridge exits without these):
6 CANISTER_URL=https://YOUR_CANISTER_ID.icp0.io
7 SESSION_SECRET=replace-with-a-long-random-string-min-32-chars
8
9 # Local URLs (adjust if you use different ports):
10 HUB_BASE_URL=http://localhost:3341
11 HUB_UI_ORIGIN=http://localhost:3333
12 HUB_UI_PATH=/hub
13
14 # Optional — GitHub "Connect" from hosted Hub when gateway proxies here:
15 # GITHUB_CLIENT_ID=
16 # GITHUB_CLIENT_SECRET=
17
18 # Optional — embeddings for Re-index / Search (default is Ollama on localhost):
19 # EMBEDDING_PROVIDER=openai|ollama|voyage|deepinfra
20 # OPENAI_API_KEY=
21 # EMBEDDING_MODEL=text-embedding-3-small # or nomic-embed-text, voyage-4-lite, BAAI/bge-large-en-v1.5, etc.
22 # VOYAGE_API_KEY= # when EMBEDDING_PROVIDER=voyage
23 # DEEPINFRA_API_KEY= # when EMBEDDING_PROVIDER=deepinfra (single key also drives chat in lib/llm-complete.mjs)
24 # Switching provider or dimension requires a vault re-index.
25
26 # Optional — hosted memory consolidation (Session 10 / Stream 1).
27 # CONSOLIDATION_LLM_API_KEY falls back to OPENAI_API_KEY when not set.
28 # CONSOLIDATION_LLM_MODEL defaults to gpt-4o-mini.
29 # CONSOLIDATION_COST_CAP_USD caps bridge-side daily LLM spend per user (optional).
30 # CONSOLIDATION_LLM_API_KEY=
31 # CONSOLIDATION_LLM_MODEL=gpt-4o-mini
32 # CONSOLIDATION_COST_CAP_USD=
File History 4 commits
sha256:b5f647cb9c409f563d4671fe3fc05ddea01fabfed9b41fc11cb923588e1c1baf mirror: GitHub Phase A durable MCP OAuth (#270) Human minor 12 days ago
sha256:d8c648b20a4d53b2673c5c082ee7edfa7b2fc9b11080832da1f38807b6bf940b fix(7C-L1b): route hosted delegation proposals through cani… Human minor 32 days ago
sha256:2827ba9e7632a4b141c50caf1e8f7d77abbc3515be20e7465f2bccb0ac4edf91 fix: repair endpoint now sets has_active_subscription when … Human minor 52 days ago