Skip to content

Commit f87e8ab

Browse files
docs: add feature flag configuration to README
1 parent 6d3d131 commit f87e8ab

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,17 @@ To run this documentation site locally:
4747
```
4848
*(You can get a free key from [Google AI Studio](https://aistudio.google.com/app/apikey))*
4949

50+
**Feature Flags (Optional):**
51+
- **Enable Chatbot UI:** To see the chatbot in the UI, set `VITE_ENABLE_CHAT=true`.
52+
- **Full Context Mode:** To give the AI access to all documentation (high token usage), set `INCLUDE_DOCS_CONTEXT=true`.
53+
54+
Example `.env` file:
55+
```env
56+
GOOGLE_GENERATIVE_AI_API_KEY=your_key_here
57+
VITE_ENABLE_CHAT=true
58+
INCLUDE_DOCS_CONTEXT=true
59+
```
60+
5061
4. **Start development server:**
5162
```bash
5263
npm run docs:dev

0 commit comments

Comments
 (0)