ποΈ Scribe: Clarify .env file usage for standalone scripts#745
ποΈ Scribe: Clarify .env file usage for standalone scripts#745
Conversation
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
|
π Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a π emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
π‘ What: Added a clarifying note to the
README.mdConfiguration section regarding how.envfiles are loaded.π― Why: While the
imednetCLI automatically usespython-dotenvto load.envfiles, the SDK'sload_config()method only checks existing environment variables (os.getenv). This mismatch creates a confusing onboarding path where a new user might copy an example script, create a.envfile, and still receive an authentication error.π§ Cognitive Impact: Prevents a common "first-run crash" for users writing custom scripts, reducing debugging time and clarifying the boundaries between the CLI's magic behavior and the SDK's explicit requirements.
π Preview:
PR created automatically by Jules for task 10636674436849639645 started by @fderuiter