docs: fix .env file path in Python Quickstart#1971
Open
MuhammadHamidRaza wants to merge 1 commit into
Open
Conversation
Updated instructions to specify the correct path for the .env file.
✅ Deploy Preview for adk-docs-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Author
|
Hi @koverholt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fix the
.envfile path in the Python Quickstart.Problem
After running:
the guide instructs users to create the API key file with:
At this point, the user is still in the parent directory, so the command creates
./.env.However, the project structure shown earlier in the guide and the code block title (
Update: my_agent/.env) indicate that the file should be located atmy_agent/.env.Solution
Update the commands for:
to write the file to:
This keeps the commands consistent with the documented project structure while preserving the existing Quickstart workflow.
Verification
The
.envcreation command now matches:Update: my_agent/.envcode block title.