-
Notifications
You must be signed in to change notification settings - Fork 3.2k
git pushAdd optional user input environment variables #44615
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds support for optional user input environment variables to three agent tool samples (Agent-to-Agent, Fabric, and Bing Custom Search), allowing automated testing without manual user prompts.
Changes:
- Added three new optional user input environment variables for agent samples
- Updated sample documentation to describe the new optional environment variables
- Modified Fabric and Bing Custom Search samples to check environment variables before prompting
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| sdk/ai/azure-ai-projects/tests/test_base.py | Added fabric_user_input, a2a_user_input, and bing_custom_user_input parameters to test configuration |
| sdk/ai/azure-ai-projects/tests/conftest.py | Added blank line (formatting change) |
| sdk/ai/azure-ai-projects/samples/agents/tools/sample_agent_to_agent.py | Added documentation for optional A2A_USER_INPUT environment variable |
| sdk/ai/azure-ai-projects/samples/agents/tools/sample_agent_fabric.py | Added documentation and implementation to use FABRIC_SEARCH_USER_INPUT environment variable |
| sdk/ai/azure-ai-projects/samples/agents/tools/sample_agent_bing_custom_search.py | Added documentation and implementation to use BING_CUSTOM_USER_INPUT environment variable |
| sdk/ai/azure-ai-projects/.env.template | Added FABRIC_SEARCH_USER_INPUT, BING_CUSTOM_USER_INPUT, and A2A_USER_INPUT template entries |
|
@howieleung I've opened a new pull request, #44642, to work on those changes. Once the pull request is ready, I'll request review from you. |
Co-authored-by: Copilot <[email protected]>
|
/azp run python - pullrequest |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run python - pullrequest |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run python - pullrequest |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run python - pullrequest |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new API spec, a link to the pull request containing these API spec changes should be included above.
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines