MAIT-139: Add Box connector configuration and documentation#39
MAIT-139: Add Box connector configuration and documentation#39
Conversation
Adds Box cloud storage connector config examples, env vars, and README section covering CCG authentication, folder/file_ids modes, and user-level access.
📝 WalkthroughSummary by CodeRabbit
WalkthroughAdded Box connector support documentation and example configuration files. Three files were updated to include Box OAuth/client credential environment variables, configuration examples with folder/file selection options, and usage documentation for the Box cloud storage connector. Changes
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (2)
.env.rag.example (1)
87-87: Use an empty default forBOX1_USER_IDto avoid accidental whitespace values.If someone uncomments this line as-is, they may keep a space-only value. Prefer
#BOX1_USER_ID=and keep the explanation on a separate comment line.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In @.env.rag.example at line 87, The example env line uses a spaced value which can lead to accidental whitespace when uncommented; change the sample to use an empty default like "BOX1_USER_ID=" (no trailing spaces) and move the explanatory text to its own comment line above or below so that the uncommented variable will be blank rather than a space-only value; update the example entry referencing BOX1_USER_ID accordingly.README.md (1)
304-304: PreferBOX1_USER_ID=(no padded spaces) in dotenv example.This avoids users unintentionally keeping whitespace as the value when they copy/paste and uncomment.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@README.md` at line 304, The dotenv example currently shows a padded value for BOX1_USER_ID which can cause accidental whitespace when users copy/paste; update the example to use a clean assignment "BOX1_USER_ID=" (no trailing spaces) so the variable is empty by default and safe to uncomment, ensuring other similar env examples follow the same pattern.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In @.env.rag.example:
- Line 87: The example env line uses a spaced value which can lead to accidental
whitespace when uncommented; change the sample to use an empty default like
"BOX1_USER_ID=" (no trailing spaces) and move the explanatory text to its own
comment line above or below so that the uncommented variable will be blank
rather than a space-only value; update the example entry referencing
BOX1_USER_ID accordingly.
In `@README.md`:
- Line 304: The dotenv example currently shows a padded value for BOX1_USER_ID
which can cause accidental whitespace when users copy/paste; update the example
to use a clean assignment "BOX1_USER_ID=" (no trailing spaces) so the variable
is empty by default and safe to uncomment, ensuring other similar env examples
follow the same pattern.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 9cbe0b64-de73-435e-980c-7ba45d42ed9e
📒 Files selected for processing (3)
.env.rag.exampleREADME.mdconfig.yaml.example
Summary
config.yaml.example(folder mode, file_ids, user-level access)BOX1_*env vars to.env.rag.example### Box Connectorsection toREADME.mdwith config and dotenv examples