-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Python: Add load_dotenv() to samples for .env file support #4043
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+1,654
−479
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
9113334
Initial plan
Copilot c07c1e2
Add load_dotenv() to 303 Python samples for environment variable loading
Copilot abed4ea
Update SAMPLE_GUIDELINES.md to document load_dotenv() requirement
Copilot cd1b8ae
Update samples README.md to document .env file usage
Copilot 17b5890
Run ruff format on all changed sample files
Copilot f4061fb
Clarify load_dotenv() usage in README - local dev vs production
Copilot 4ad989c
Remove deprecated getting_started folder as requested
Copilot 6ff6d7a
Document env_file_path parameter for per-client configuration
Copilot 2b798aa
Merge main branch to resolve conflicts
Copilot c911615
Fix run_evaluation.py file that was empty in merge commit
Copilot d708ea0
Remove dotnet changes from merge - out of scope for this PR
Copilot 48f966c
Remove package and test changes from merge - only sample changes needed
Copilot ec1c527
Remove test_func_utils.py - only sample changes needed
Copilot 923bc14
Revert sample files not in original changeset - keep only load_dotenv…
Copilot 6ca80ed
Move load_dotenv() outside snippet tag in 06_host_your_agent.py
Copilot 95fc230
Fix comment placement - move load_dotenv before code comments
Copilot f973138
Fix load_dotenv() placement across all samples - after docstring, bef…
Copilot cbfe7d7
Merge latest main branch with load_dotenv changes
Copilot ef6a1d9
Remove non-sample changes from merge - keep only load_dotenv additions
Copilot 10942e4
Revert non-load_dotenv sample changes from merge
Copilot 68d7d3f
Fix run_evaluation.py - use main's improved version (file already had…
Copilot cbababe
Merge branch 'main' into copilot/fix-env-variable-loading
TaoChenOSU deec690
Merge branch 'main' into copilot/fix-env-variable-loading
TaoChenOSU 34ac2b2
Manual update
TaoChenOSU 64f33c2
Merge branch 'main' into copilot/fix-env-variable-loading
TaoChenOSU 757c263
Manual update 2
TaoChenOSU 5cede7d
Fix Role usage and load_dotenv placement per PR review feedback
Copilot c5a77b9
Fix Role usage - use string literals not enum attributes
Copilot 17a37fc
Merge branch 'main' into copilot/fix-env-variable-loading
eavanvalkenburg 8d6d986
Fix SAMPLE_GUIDELINES.md example - load_dotenv before docstring per g…
Copilot d9513cc
Move load_dotenv() before docstrings in all samples per SAMPLE_GUIDEL…
Copilot c49ce53
Address PR review: rename files, fix placement, add session usage, re…
Copilot cc12c5b
Update Redis README to reference renamed file redis_history_provider.py
Copilot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
eavanvalkenburg marked this conversation as resolved.
Show resolved
Hide resolved
|
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
eavanvalkenburg marked this conversation as resolved.
Show resolved
Hide resolved
|
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.