-
Notifications
You must be signed in to change notification settings - Fork 3.2k
azure-ai-projects v2.0.0b1 #43704
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
base: main
Are you sure you want to change the base?
azure-ai-projects v2.0.0b1 #43704
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 introduces significant changes to the Azure AI Projects SDK test infrastructure and samples, including:
- Removal of agent and evaluation-specific tests from the main test suite
- Addition of new test infrastructure for responses, conversations, files, and agents operations
- Migration from
get_openai_clienttoget_openai_client_legacyfor backward compatibility - Addition of helper methods in test base class for client creation
- Update of sample installation instructions to use version constraint "azure-ai-projects>=2.0.0"
- Commenting out several SDK packages in CI configuration
- Addition of comprehensive new sample files demonstrating responses, conversations, file operations, and various agent tools
Reviewed Changes
Copilot reviewed 148 out of 155 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| sdk/ai/ci.yml | Comments out azure-ai-inference, azure-ai-agents, and azure-ai-voicelive from CI artifacts |
| sdk/ai/azure-ai-projects/tsp-location.yaml | Updates commit hash and switches repo to azure-rest-api-specs-pr |
| sdk/ai/azure-ai-projects/tests/test_base.py | Adds helper methods for client creation, validation functions, and new test parameters |
| sdk/ai/azure-ai-projects/tests/test_agents*.py | Removes legacy agent tests |
| sdk/ai/azure-ai-projects/tests//test_.py | Migrates to use helper methods and get_openai_client_legacy |
| sdk/ai/azure-ai-projects/samples/**/*.py | Updates installation instructions and adds numerous new sample files |
| sdk/ai/azure-ai-projects/tests/test_data/files/test_file.jsonl | Adds test data file for file operations |
Files not reviewed (1)
- eng/emitter-package-lock.json: Language not supported
sdk/ai/azure-ai-projects/tests/agents/test_agent_responses_crud.py
Outdated
Show resolved
Hide resolved
sdk/ai/azure-ai-projects/tests/agents/test_conversation_crud.py
Outdated
Show resolved
Hide resolved
sdk/ai/azure-ai-projects/tests/agents/test_conversation_crud.py
Outdated
Show resolved
Hide resolved
sdk/ai/azure-ai-projects/tests/agents/test_conversation_crud_async.py
Outdated
Show resolved
Hide resolved
sdk/ai/azure-ai-projects/samples/agents/sample_container_app_agent_basic_async.py
Outdated
Show resolved
Hide resolved
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
* Re-emit, and update post-emitter-fixes.cmd to restore deleted files * Remove constants related to old Evaluations
…es to fix doc generation (#43761)
* adding responses instrumentor * couple of pylint fixes * pylint and cspell fixes * adding pylint disable
…m/Azure/azure-sdk-for-python into feature/azure-ai-projects/2.0.0b1
* minor change to get a ci build * pylint fix
…m/Azure/azure-sdk-for-python into feature/azure-ai-projects/2.0.0b1
* workflow samples * Resolved comment * Resolve misconfigured `dpkg` (#43777) * image has a new issue from update. some player is leaving apt-get unconfigured, so we need to add a dpkg configure before apt-get installing anything --------- Co-authored-by: Scott Beddall <[email protected]>
…m/Azure/azure-sdk-for-python into feature/azure-ai-projects/2.0.0b1
* Samples update * Resolved comments * Resolved comments * rename files * resolved comment * Remove TODO comment regarding 'input' parameter in response creation * update * resolved build * fix install * Resolve misconfigured `dpkg` (#43777) * image has a new issue from update. some player is leaving apt-get unconfigured, so we need to add a dpkg configure before apt-get installing anything * Remove aiofiles dependency and update installation instructions in sample agent code --------- Co-authored-by: Scott Beddall <[email protected]>
* Migrate samples from agentsv2-preview repo * run black * update * fix * comment out some samples
* adding tool call instrumentation * fixing code checker issues * moving import into test functions
* adding tracing for more conversation item types * code format checker changes * code checker fixes
No description provided.