Skip to content

Changes for azure-ai-project relase version 2.1.0#45673

Merged
howieleung merged 95 commits intomainfrom
feature/azure-ai-projects/2.0.2
Apr 17, 2026
Merged

Changes for azure-ai-project relase version 2.1.0#45673
howieleung merged 95 commits intomainfrom
feature/azure-ai-projects/2.0.2

Conversation

@dargilco
Copy link
Copy Markdown
Member

No description provided.

dargilco and others added 14 commits March 6, 2026 10:29
…#45611)

* marking finetuning pause and resume operations as live extended tests

* updating recording

---------

Co-authored-by: Jayesh Tanna <jatanna@microsoft.com>
* rename env vars

* rename env var

* resolved comments

* remove chat completion

* resolved comment
* Add CSV and synthetic data generation evaluation samples

Add two new evaluation samples under sdk/ai/azure-ai-projects/samples/evaluations/:

- sample_evaluations_builtin_with_csv.py: Demonstrates evaluating pre-computed
  responses from a CSV file using the csv data source type. Uploads a CSV file
  via the datasets API, runs coherence/violence/f1 evaluators, and polls results.

- sample_synthetic_data_evaluation.py: Demonstrates synthetic data evaluation
  (preview) that generates test queries from a prompt, sends them to a model
  target, and evaluates responses with coherence/violence evaluators.

Also adds:
- data_folder/sample_data_evaluation.csv: Sample CSV data file with 3 rows
- README.md: Updated sample index with both new samples

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Update synthetic eval sample: agent target + cleaner dataset ID retrieval

- Switch from model target to agent target (azure_ai_agent)
- Create agent version via agents.create_version() before evaluation
- Simplify output_dataset_id retrieval using getattr instead of nested hasattr/isinstance checks
- Add AZURE_AI_AGENT_NAME env var requirement
- Remove input_messages (not needed for agent target)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Add model target synthetic eval sample, cross-reference both

- Add sample_synthetic_data_model_evaluation.py for model target with
  input_messages system prompt
- Update sample_synthetic_data_evaluation.py docstring with cross-reference
- Update README.md with both synthetic samples (agent and model)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Rename synthetic agent sample, clarify README, add prompt/files comments

- Rename sample_synthetic_data_evaluation.py to sample_synthetic_data_agent_evaluation.py
- Clarify README: JSONL dataset vs CSV dataset descriptions
- Remove (preview) from synthetic sample descriptions in README
- Add comments about prompt and reference_files options in both synthetic samples

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Skip new eval samples in recording tests

Add sample_evaluations_builtin_with_csv.py, sample_synthetic_data_agent_evaluation.py,
and sample_synthetic_data_model_evaluation.py to samples_to_skip list since they
require file upload prerequisites or are long-running preview features.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Rename env vars per PR review: FOUNDRY_PROJECT_ENDPOINT, FOUNDRY_MODEL_NAME

Address review comments from howieleung:
- AZURE_AI_PROJECT_ENDPOINT -> FOUNDRY_PROJECT_ENDPOINT
- AZURE_AI_MODEL_DEPLOYMENT_NAME -> FOUNDRY_MODEL_NAME
Updated in all 3 new samples and README.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Rename AZURE_AI_AGENT_NAME to FOUNDRY_AGENT_NAME per review

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Update changelog with new sample entries

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 12, 2026 22:07
Copy link
Copy Markdown
Contributor

Copilot AI left a 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 prepares azure-ai-projects for the 2.0.2 release by updating versioning/assets, aligning samples/tests with the new FOUNDRY_* environment variable names, and incorporating additional generated/patch surface for new preview features and operations.

Changes:

  • Bump package version/assets and add release scaffolding for 2.0.2.
  • Rename sample/test environment variables from AZURE_AI_* to FOUNDRY_* across the package.
  • Add/adjust tests, samples, and patched operation exports for new/updated service capabilities.

Reviewed changes

Copilot reviewed 226 out of 229 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
sdk/ai/azure-ai-projects/tsp-location.yaml Adds TypeSpec source location metadata for code generation.
sdk/ai/azure-ai-projects/tests/telemetry/test_telemetry_async.py Removes unused imports in async telemetry test.
sdk/ai/azure-ai-projects/tests/telemetry/test_telemetry.py Removes unused imports in sync telemetry test.
sdk/ai/azure-ai-projects/tests/samples/test_samples_evaluations.py Updates env var keys to foundry_* and expands sample skip list.
sdk/ai/azure-ai-projects/tests/samples/README.md Updates sample test docs to use foundry_* env var keys.
sdk/ai/azure-ai-projects/tests/responses/test_responses_async.py Updates model kwarg to foundry_model_name and cleans up imports/args.
sdk/ai/azure-ai-projects/tests/responses/test_responses.py Updates model kwarg to foundry_model_name and cleans up args/pylint disables.
sdk/ai/azure-ai-projects/tests/responses/test_openai_client_overrides_async.py Import ordering cleanup.
sdk/ai/azure-ai-projects/tests/responses/test_openai_client_overrides.py Import ordering cleanup.
sdk/ai/azure-ai-projects/tests/redteams/test_redteams_async.py Import ordering cleanup.
sdk/ai/azure-ai-projects/tests/redteams/test_redteams.py Import ordering cleanup.
sdk/ai/azure-ai-projects/tests/indexes/test_indexes_async.py Removes unused client import; keeps model imports.
sdk/ai/azure-ai-projects/tests/indexes/test_indexes.py Removes unused client import; keeps model imports.
sdk/ai/azure-ai-projects/tests/files/test_files_async.py Removes unused imports.
sdk/ai/azure-ai-projects/tests/files/test_files.py Removes unused imports.
sdk/ai/azure-ai-projects/tests/deployments/test_deployments_async.py Switches model kwarg to foundry_model_name; removes unused imports.
sdk/ai/azure-ai-projects/tests/deployments/test_deployments.py Switches model kwarg to foundry_model_name; removes unused imports.
sdk/ai/azure-ai-projects/tests/datasets/test_datasets_async.py Uses foundry_* endpoint, removes unused f-strings, import cleanup, adds pylint suppression.
sdk/ai/azure-ai-projects/tests/datasets/test_datasets.py Uses foundry_* endpoint, removes unused f-strings, import cleanup, adds pylint suppression.
sdk/ai/azure-ai-projects/tests/connections/test_connections_async.py Removes unused imports and keeps required model imports.
sdk/ai/azure-ai-projects/tests/connections/test_connections.py Import ordering cleanup.
sdk/ai/azure-ai-projects/tests/agents/tools/test_agent_web_search_async.py Switches model kwarg to foundry_model_name; removes unused imports.
sdk/ai/azure-ai-projects/tests/agents/tools/test_agent_web_search.py Switches model kwarg to foundry_model_name; removes unused imports.
sdk/ai/azure-ai-projects/tests/agents/tools/test_agent_tools_with_conversations.py Switches model kwarg to foundry_model_name; import ordering; adds pylint suppression for large test.
sdk/ai/azure-ai-projects/tests/agents/tools/test_agent_openapi_async.py Switches model kwarg to foundry_model_name; opens file with utf-8 encoding.
sdk/ai/azure-ai-projects/tests/agents/tools/test_agent_openapi.py Switches model kwarg to foundry_model_name; opens file with utf-8 encoding.
sdk/ai/azure-ai-projects/tests/agents/tools/test_agent_memory_search_async.py Switches model kwarg to foundry_model_name; adjusts pylint disables/import ordering.
sdk/ai/azure-ai-projects/tests/agents/tools/test_agent_memory_search.py Switches model kwarg to foundry_model_name; adjusts pylint disables/import ordering.
sdk/ai/azure-ai-projects/tests/agents/tools/test_agent_mcp_async.py Switches model kwarg to foundry_model_name; import ordering cleanup.
sdk/ai/azure-ai-projects/tests/agents/tools/test_agent_mcp.py Switches model kwarg to foundry_model_name; import ordering cleanup.
sdk/ai/azure-ai-projects/tests/agents/tools/test_agent_image_generation_async.py Switches model kwarg to foundry_model_name; adds pylint broad-exception-caught disable.
sdk/ai/azure-ai-projects/tests/agents/tools/test_agent_image_generation.py Switches model kwarg to foundry_model_name; adds pylint broad-exception-caught disable.
sdk/ai/azure-ai-projects/tests/agents/tools/test_agent_function_tool_async.py Switches model kwarg to foundry_model_name; import ordering; adds pylint suppressions for large tests.
sdk/ai/azure-ai-projects/tests/agents/tools/test_agent_function_tool.py Switches model kwarg to foundry_model_name; import ordering; adds pylint suppression for large test.
sdk/ai/azure-ai-projects/tests/agents/tools/test_agent_file_search_stream_async.py Switches model kwarg to foundry_model_name; removes unused imports.
sdk/ai/azure-ai-projects/tests/agents/tools/test_agent_file_search_stream.py Switches model kwarg to foundry_model_name; removes unused imports.
sdk/ai/azure-ai-projects/tests/agents/tools/test_agent_file_search_async.py Switches model kwarg to foundry_model_name; removes unused imports.
sdk/ai/azure-ai-projects/tests/agents/tools/test_agent_file_search.py Switches model kwarg to foundry_model_name; tightens unused variables and adds broad-exception-caught suppression.
sdk/ai/azure-ai-projects/tests/agents/tools/test_agent_code_interpreter_async.py Switches model kwarg to foundry_model_name; removes unused imports.
sdk/ai/azure-ai-projects/tests/agents/tools/test_agent_code_interpreter.py Switches model kwarg to foundry_model_name; adds pylint suppression for nested blocks.
sdk/ai/azure-ai-projects/tests/agents/tools/test_agent_bing_grounding.py Switches model kwarg to foundry_model_name; removes unnecessary f-strings.
sdk/ai/azure-ai-projects/tests/agents/tools/test_agent_ai_search_async.py Switches model kwarg to foundry_model_name.
sdk/ai/azure-ai-projects/tests/agents/tools/test_agent_ai_search.py Switches model kwarg to foundry_model_name; adds pylint suppression for large test.
sdk/ai/azure-ai-projects/tests/agents/tools/multitool/test_multitool_with_conversations.py Switches model kwarg to foundry_model_name; removes unused imports; adds pylint suppression for large test.
sdk/ai/azure-ai-projects/tests/agents/tools/multitool/test_agent_file_search_code_interpreter_function.py Switches model kwarg to foundry_model_name; removes unused imports.
sdk/ai/azure-ai-projects/tests/agents/tools/multitool/test_agent_file_search_and_function.py Switches model kwarg to foundry_model_name; import ordering; adds pylint suppression for large test.
sdk/ai/azure-ai-projects/tests/agents/tools/multitool/test_agent_file_search_and_code_interpreter.py Switches model kwarg to foundry_model_name; removes unused imports.
sdk/ai/azure-ai-projects/tests/agents/tools/multitool/test_agent_code_interpreter_and_function.py Switches model kwarg to foundry_model_name; removes unused imports.
sdk/ai/azure-ai-projects/tests/agents/test_conversation_items_crud_async.py Removes unused imports and unnecessary f-strings in logs.
sdk/ai/azure-ai-projects/tests/agents/test_conversation_items_crud.py Removes unused imports and unnecessary f-strings in logs.
sdk/ai/azure-ai-projects/tests/agents/test_conversation_crud_async.py Removes unused import and unnecessary f-string.
sdk/ai/azure-ai-projects/tests/agents/test_conversation_crud.py Removes unused import and unnecessary f-string.
sdk/ai/azure-ai-projects/tests/agents/test_agents_crud_async.py Switches model kwarg to foundry_model_name; removes unused import.
sdk/ai/azure-ai-projects/tests/agents/test_agents_crud.py Switches model kwarg to foundry_model_name; removes unused import.
sdk/ai/azure-ai-projects/tests/agents/test_agent_responses_crud_async.py Switches model kwarg to foundry_model_name; removes unused import; cleans up f-strings.
sdk/ai/azure-ai-projects/tests/agents/test_agent_responses_crud.py Switches model kwarg to foundry_model_name; removes unused import; avoids unused assigned value.
sdk/ai/azure-ai-projects/tests/agents/test_agent_create_version_exception_async.py Adds async regression test validating preview opt-in error messaging.
sdk/ai/azure-ai-projects/tests/agents/test_agent_create_version_exception.py Adds sync regression test validating preview opt-in error messaging.
sdk/ai/azure-ai-projects/tests/agents/telemetry/test_trace_function_decorator_async.py Pylint cleanup, import ordering, and minor control-flow cleanup in async trace decorator tests.
sdk/ai/azure-ai-projects/tests/agents/telemetry/test_trace_function_decorator.py Pylint cleanup, import ordering in sync trace decorator tests.
sdk/ai/azure-ai-projects/tests/agents/telemetry/test_responses_instrumentor_metrics.py Switches model kwarg to foundry_model_name; import ordering; pylint disables.
sdk/ai/azure-ai-projects/tests/agents/telemetry/test_ai_instrumentor_base.py Import ordering and pylint suppression for large helper method.
sdk/ai/azure-ai-projects/tests/agents/telemetry/memory_trace_exporter.py Import ordering and returns a list copy for spans.
sdk/ai/azure-ai-projects/tests/agents/telemetry/gen_ai_trace_verifier.py Tightens comparisons/exception handling and removes unused exception variables.
sdk/ai/azure-ai-projects/samples/telemetry/sample_telemetry_async.py Renames endpoint env var to FOUNDRY_PROJECT_ENDPOINT.
sdk/ai/azure-ai-projects/samples/telemetry/sample_telemetry.py Renames endpoint env var to FOUNDRY_PROJECT_ENDPOINT.
sdk/ai/azure-ai-projects/samples/responses/sample_responses_structured_output.py Renames env vars to FOUNDRY_* and adjusts import ordering.
sdk/ai/azure-ai-projects/samples/responses/sample_responses_stream_manager.py Renames env vars to FOUNDRY_* and removes unnecessary f-strings.
sdk/ai/azure-ai-projects/samples/responses/sample_responses_stream_events.py Renames env vars to FOUNDRY_* and removes unnecessary f-strings.
sdk/ai/azure-ai-projects/samples/responses/sample_responses_image_input.py Renames env vars to FOUNDRY_*.
sdk/ai/azure-ai-projects/samples/responses/sample_responses_basic_without_aiprojectclient_async.py Renames env vars to FOUNDRY_*.
sdk/ai/azure-ai-projects/samples/responses/sample_responses_basic_without_aiprojectclient.py Renames env vars to FOUNDRY_*.
sdk/ai/azure-ai-projects/samples/responses/sample_responses_basic_async.py Renames env vars to FOUNDRY_*.
sdk/ai/azure-ai-projects/samples/responses/sample_responses_basic.py Renames env vars to FOUNDRY_*.
sdk/ai/azure-ai-projects/samples/red_team/sample_red_team_async.py Renames env vars to FOUNDRY_* and simplifies client context manager.
sdk/ai/azure-ai-projects/samples/red_team/sample_red_team.py Renames env vars to FOUNDRY_*.
sdk/ai/azure-ai-projects/samples/memories/sample_memory_crud_async.py Renames endpoint env var to FOUNDRY_PROJECT_ENDPOINT.
sdk/ai/azure-ai-projects/samples/memories/sample_memory_crud.py Renames endpoint env var to FOUNDRY_PROJECT_ENDPOINT.
sdk/ai/azure-ai-projects/samples/memories/sample_memory_basic_async.py Renames endpoint env var to FOUNDRY_PROJECT_ENDPOINT.
sdk/ai/azure-ai-projects/samples/memories/sample_memory_basic.py Renames endpoint env var to FOUNDRY_PROJECT_ENDPOINT.
sdk/ai/azure-ai-projects/samples/memories/sample_memory_advanced_async.py Renames endpoint env var and adjusts import ordering.
sdk/ai/azure-ai-projects/samples/memories/sample_memory_advanced.py Renames endpoint env var and adjusts import ordering.
sdk/ai/azure-ai-projects/samples/mcp_client/sample_mcp_tool_async.py Renames env vars and adjusts import ordering/pylint disables.
sdk/ai/azure-ai-projects/samples/indexes/sample_indexes_async.py Renames endpoint env var to FOUNDRY_PROJECT_ENDPOINT.
sdk/ai/azure-ai-projects/samples/indexes/sample_indexes.py Renames endpoint env var to FOUNDRY_PROJECT_ENDPOINT.
sdk/ai/azure-ai-projects/samples/finetuning/sample_finetuning_supervised_job_async.py Renames endpoint env var; import ordering; removes unnecessary f-string.
sdk/ai/azure-ai-projects/samples/finetuning/sample_finetuning_supervised_job.py Renames endpoint env var; import ordering cleanup.
sdk/ai/azure-ai-projects/samples/finetuning/sample_finetuning_reinforcement_job_async.py Renames endpoint env var; import ordering cleanup.
sdk/ai/azure-ai-projects/samples/finetuning/sample_finetuning_reinforcement_job.py Renames endpoint env var; import ordering cleanup.
sdk/ai/azure-ai-projects/samples/finetuning/sample_finetuning_oss_models_supervised_job_async.py Renames endpoint env var; import ordering cleanup.
sdk/ai/azure-ai-projects/samples/finetuning/sample_finetuning_oss_models_supervised_job.py Renames endpoint env var; import ordering cleanup.
sdk/ai/azure-ai-projects/samples/finetuning/sample_finetuning_dpo_job_async.py Renames endpoint env var; import ordering cleanup.
sdk/ai/azure-ai-projects/samples/finetuning/sample_finetuning_dpo_job.py Renames endpoint env var; import ordering cleanup.
sdk/ai/azure-ai-projects/samples/files/sample_files_async.py Renames endpoint env var; import ordering cleanup.
sdk/ai/azure-ai-projects/samples/files/sample_files.py Renames endpoint env var; import ordering cleanup.
sdk/ai/azure-ai-projects/samples/evaluations/sample_model_evaluation.py Renames env vars to FOUNDRY_* and adjusts import ordering.
sdk/ai/azure-ai-projects/samples/evaluations/sample_evaluations_score_model_grader_with_image.py Renames env vars; import ordering; minor control-flow simplification.
sdk/ai/azure-ai-projects/samples/evaluations/sample_evaluations_graders.py Renames env vars; import ordering; minor control-flow simplification.
sdk/ai/azure-ai-projects/samples/evaluations/sample_evaluations_builtin_with_traces.py Renames env vars and refactors query construction for App Insights trace lookup.
sdk/ai/azure-ai-projects/samples/evaluations/sample_evaluations_builtin_with_inline_data_oai.py Renames env vars; import consolidation; removes unnecessary f-strings.
sdk/ai/azure-ai-projects/samples/evaluations/sample_evaluations_builtin_with_dataset_id.py Renames env vars; import ordering; minor control-flow simplification.
sdk/ai/azure-ai-projects/samples/evaluations/sample_evaluations_ai_assisted.py Renames env vars; import ordering; removes unnecessary f-strings.
sdk/ai/azure-ai-projects/samples/evaluations/sample_evaluation_compare_insight.py Renames env vars; import ordering cleanup.
sdk/ai/azure-ai-projects/samples/evaluations/sample_evaluation_cluster_insight.py Renames env vars; import ordering cleanup; updates error message.
sdk/ai/azure-ai-projects/samples/evaluations/sample_eval_catalog_code_based_evaluators.py Renames env vars; import ordering cleanup; minor control-flow simplification.
sdk/ai/azure-ai-projects/samples/evaluations/sample_eval_catalog.py Renames endpoint env var; import ordering; whitespace cleanup in prompt.
sdk/ai/azure-ai-projects/samples/evaluations/sample_continuous_evaluation_rule.py Renames env vars; removes unnecessary f-strings.
sdk/ai/azure-ai-projects/samples/evaluations/sample_agent_response_evaluation_with_function_tool.py Renames env vars; import ordering cleanup; adds pylint disables for docstring rules.
sdk/ai/azure-ai-projects/samples/evaluations/sample_agent_response_evaluation.py Renames env vars; import ordering cleanup.
sdk/ai/azure-ai-projects/samples/evaluations/sample_agent_evaluation.py Renames env vars; import ordering cleanup.
sdk/ai/azure-ai-projects/samples/evaluations/data_folder/sample_data_evaluation.csv Adds sample CSV dataset used by evaluation samples.
sdk/ai/azure-ai-projects/samples/evaluations/agentic_evaluators/sample_task_navigation_efficiency.py Renames endpoint env var; import ordering; removes unnecessary f-strings.
sdk/ai/azure-ai-projects/samples/evaluations/agentic_evaluators/sample_generic_agentic_evaluator/sample_generic_agentic_evaluator.py Renames env vars and simplifies evaluator parameter branching.
sdk/ai/azure-ai-projects/samples/evaluations/agentic_evaluators/sample_generic_agentic_evaluator/agent_utils.py Renames endpoint env var; import ordering; removes unnecessary f-strings.
sdk/ai/azure-ai-projects/samples/deployments/sample_deployments_async.py Renames env vars to FOUNDRY_*.
sdk/ai/azure-ai-projects/samples/deployments/sample_deployments.py Renames env vars to FOUNDRY_*.
sdk/ai/azure-ai-projects/samples/datasets/sample_datasets_download.py Renames endpoint env var to FOUNDRY_PROJECT_ENDPOINT.
sdk/ai/azure-ai-projects/samples/datasets/sample_datasets_async.py Renames endpoint env var to FOUNDRY_PROJECT_ENDPOINT.
sdk/ai/azure-ai-projects/samples/datasets/sample_datasets.py Renames endpoint env var to FOUNDRY_PROJECT_ENDPOINT.
sdk/ai/azure-ai-projects/samples/connections/sample_connections_async.py Renames endpoint env var to FOUNDRY_PROJECT_ENDPOINT.
sdk/ai/azure-ai-projects/samples/connections/sample_connections.py Renames endpoint env var to FOUNDRY_PROJECT_ENDPOINT.
sdk/ai/azure-ai-projects/samples/agents/tools/sample_agent_web_search_with_custom_search.py Renames env vars to FOUNDRY_* and removes unnecessary f-strings.
sdk/ai/azure-ai-projects/samples/agents/tools/sample_agent_web_search_preview.py Renames env vars to FOUNDRY_* and removes unnecessary f-strings.
sdk/ai/azure-ai-projects/samples/agents/tools/sample_agent_web_search.py Renames env vars to FOUNDRY_* and removes unnecessary f-strings.
sdk/ai/azure-ai-projects/samples/agents/tools/sample_agent_to_agent.py Renames env vars to FOUNDRY_* and removes unnecessary f-strings.
sdk/ai/azure-ai-projects/samples/agents/tools/sample_agent_sharepoint.py Renames env vars to FOUNDRY_* and removes unnecessary f-strings/whitespace.
sdk/ai/azure-ai-projects/samples/agents/tools/sample_agent_openapi_with_project_connection.py Renames env vars to FOUNDRY_*; import ordering cleanup.
sdk/ai/azure-ai-projects/samples/agents/tools/sample_agent_openapi.py Renames env vars to FOUNDRY_*; uses utf-8 when reading OpenAPI json.
sdk/ai/azure-ai-projects/samples/agents/tools/sample_agent_memory_search_async.py Renames env vars to FOUNDRY_*.
sdk/ai/azure-ai-projects/samples/agents/tools/sample_agent_memory_search.py Renames env vars to FOUNDRY_*.
sdk/ai/azure-ai-projects/samples/agents/tools/sample_agent_mcp_with_project_connection_async.py Renames env vars to FOUNDRY_*; import ordering cleanup.
sdk/ai/azure-ai-projects/samples/agents/tools/sample_agent_mcp_with_project_connection.py Renames env vars to FOUNDRY_*; trims unused imports.
sdk/ai/azure-ai-projects/samples/agents/tools/sample_agent_mcp_async.py Renames env vars to FOUNDRY_*; import ordering cleanup.
sdk/ai/azure-ai-projects/samples/agents/tools/sample_agent_mcp.py Renames env vars to FOUNDRY_*; trims unused imports.
sdk/ai/azure-ai-projects/samples/agents/tools/sample_agent_image_generation_async.py Renames env vars to FOUNDRY_*.
sdk/ai/azure-ai-projects/samples/agents/tools/sample_agent_image_generation.py Renames env vars to FOUNDRY_*.
sdk/ai/azure-ai-projects/samples/agents/tools/sample_agent_function_tool_async.py Renames env vars to FOUNDRY_*; import ordering; trims unused imports.
sdk/ai/azure-ai-projects/samples/agents/tools/sample_agent_function_tool.py Renames env vars to FOUNDRY_*; import ordering; trims unused imports.
sdk/ai/azure-ai-projects/samples/agents/tools/sample_agent_file_search.py Renames env vars to FOUNDRY_*; ensures file handle is properly managed with with open(...).
sdk/ai/azure-ai-projects/samples/agents/tools/sample_agent_fabric.py Renames env vars to FOUNDRY_*; removes unnecessary f-strings.
sdk/ai/azure-ai-projects/samples/agents/tools/sample_agent_computer_use_async.py Renames endpoint env var; import ordering; adds pylint disables.
sdk/ai/azure-ai-projects/samples/agents/tools/sample_agent_computer_use.py Renames endpoint env var; import ordering; adds pylint disables.
sdk/ai/azure-ai-projects/samples/agents/tools/sample_agent_code_interpreter_with_files_async.py Renames env vars to FOUNDRY_*.
sdk/ai/azure-ai-projects/samples/agents/tools/sample_agent_code_interpreter_with_files.py Renames env vars; ensures uploaded file handle is managed with with open(...).
sdk/ai/azure-ai-projects/samples/agents/tools/sample_agent_code_interpreter_async.py Renames env vars to FOUNDRY_*.
sdk/ai/azure-ai-projects/samples/agents/tools/sample_agent_code_interpreter.py Renames env vars to FOUNDRY_*; removes unnecessary f-string.
sdk/ai/azure-ai-projects/samples/agents/tools/sample_agent_browser_automation.py Renames env vars to FOUNDRY_*; removes unnecessary f-strings/whitespace.
sdk/ai/azure-ai-projects/samples/agents/tools/sample_agent_bing_grounding.py Renames env vars to FOUNDRY_*; removes unnecessary f-strings.
sdk/ai/azure-ai-projects/samples/agents/tools/sample_agent_bing_custom_search.py Renames env vars to FOUNDRY_*; removes unnecessary f-strings/whitespace.
sdk/ai/azure-ai-projects/samples/agents/tools/sample_agent_azure_function.py Renames env vars to FOUNDRY_*.
sdk/ai/azure-ai-projects/samples/agents/tools/sample_agent_ai_search.py Renames env vars to FOUNDRY_*; removes unnecessary f-strings.
sdk/ai/azure-ai-projects/samples/agents/tools/computer_use_util.py Adds pylint disables for docstring/name length rules.
sdk/ai/azure-ai-projects/samples/agents/telemetry/sample_agent_basic_with_console_tracing_custom_attributes.py Renames env vars to FOUNDRY_*; adds pylint disables for import ordering.
sdk/ai/azure-ai-projects/samples/agents/telemetry/sample_agent_basic_with_console_tracing.py Renames env vars to FOUNDRY_*; adds pylint disables and minor rename suppression.
sdk/ai/azure-ai-projects/samples/agents/telemetry/sample_agent_basic_with_azure_monitor_tracing.py Renames env vars to FOUNDRY_*.
sdk/ai/azure-ai-projects/samples/agents/sample_agent_structured_output_async.py Renames env vars to FOUNDRY_*; import ordering cleanup.
sdk/ai/azure-ai-projects/samples/agents/sample_agent_structured_output.py Renames env vars to FOUNDRY_*; import ordering cleanup.
sdk/ai/azure-ai-projects/samples/agents/sample_agent_stream_events.py Renames env vars to FOUNDRY_*; removes unnecessary f-strings.
sdk/ai/azure-ai-projects/samples/agents/sample_agent_retrieve_basic_async.py Renames env vars to FOUNDRY_*; removes unnecessary f-strings.
sdk/ai/azure-ai-projects/samples/agents/sample_agent_retrieve_basic.py Renames env vars to FOUNDRY_*; removes unnecessary f-strings.
sdk/ai/azure-ai-projects/samples/agents/sample_agent_basic_async.py Renames env vars to FOUNDRY_*; removes unnecessary f-strings.
sdk/ai/azure-ai-projects/samples/agents/sample_agent_basic.py Renames env vars to FOUNDRY_*; removes unnecessary f-strings.
sdk/ai/azure-ai-projects/samples/agents/agent_retrieve_helper.py Removes unused identity imports and adds pylint disable for name length.
sdk/ai/azure-ai-projects/pyproject.toml Updates development status classifier.
sdk/ai/azure-ai-projects/post-emitter-fixes.cmd Whitespace cleanup.
sdk/ai/azure-ai-projects/dev_requirements.txt Adds mgmt/query deps for samples; documents Python 3.9 constraints.
sdk/ai/azure-ai-projects/azure/ai/projects/operations/_patch.py Exposes additional patched operation classes via imports and __all__.
sdk/ai/azure-ai-projects/azure/ai/projects/models/_enums.py Adds new enum values/types for toolset/work preview features.
sdk/ai/azure-ai-projects/azure/ai/projects/models/init.py Exports new model types/enums in package __init__.
sdk/ai/azure-ai-projects/azure/ai/projects/aio/operations/_patch.py Mirrors sync patched operation exports for async.
sdk/ai/azure-ai-projects/azure/ai/projects/aio/_patch.py Adds pylint suppression for direct httpx import.
sdk/ai/azure-ai-projects/azure/ai/projects/_version.py Bumps library version to 2.0.2.
sdk/ai/azure-ai-projects/azure/ai/projects/_patch.py Adds pylint suppression for direct httpx import.
sdk/ai/azure-ai-projects/assets.json Updates azure-sdk-assets tag for this release.
sdk/ai/azure-ai-projects/CHANGELOG.md Adds 2.0.2 (Unreleased) section and notes sample env var renames/new samples.
sdk/ai/azure-ai-projects/.env.template Renames template env vars to FOUNDRY_*.
Comments suppressed due to low confidence (1)

sdk/ai/azure-ai-projects/samples/evaluations/sample_evaluations_builtin_with_traces.py:92

  • The Application Insights Kusto query string is no longer an f-string, so {start_time.isoformat()}, {end_time.isoformat()}, and {tracked_agent_id} will not be interpolated. This will send an invalid query to LogsQueryClient and the sample will fail.

Consider restoring an f-string (or using .format(...)) so the timestamps and agent id are substituted before executing the query.


You can also share your feedback on Copilot code review. Take the survey.

Comment thread sdk/ai/azure-ai-projects/CHANGELOG.md Outdated
Comment thread sdk/ai/azure-ai-projects/CHANGELOG.md
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 12, 2026

API Change Check

APIView identified API level changes in this PR and created the following API reviews

azure-ai-projects

w-javed and others added 11 commits April 9, 2026 10:34
Remove the upload functionality from BetaEvaluatorsOperations that was
added in PR #45678 and updated in PR #46063 and PR #46076.

Removed:
- _patch_evaluators.py (sync upload methods)
- _patch_evaluators_async.py (async upload methods)
- Upload sample scripts (simple + advanced)
- Custom evaluator sample code (answer_length, friendly_evaluator)
- Upload unit tests (sync + async)
- README and test_samples references

Restored BetaEvaluatorsOperations import from generated _operations.py
in both sync and async _patch.py files.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* First

* .

* Add sessions CRUD sample

* sessions crud working with fixes

* delete sessions returns 200

* Revert "delete sessions returns 200"

This reverts commit 907d624.

* Revert "sessions crud working with fixes"

This reverts commit c117141.

* refine file upload

* Add file upload to sample

* black

* merge feature/azure-ai-projects/2.0.2

* sessions crud working with fixes

* delete sessions returns 200

* Remove unused file

* Add data files

* Should be 201

* sample showing after query issue

* sample update

* update

* toolbox samples are all good

* update

* clean up readme

* update

* samples

* re-emit code

* update data files

* update all samples and test

* update samples

* remove agent code based

* clean up

* update docs

---------

Co-authored-by: Pranav Pandit <pranavp@microsoft.com>
Co-authored-by: Howie Leung <howieleung@microsoft.com>
@howieleung howieleung force-pushed the feature/azure-ai-projects/2.0.2 branch from eec54c3 to eac227e Compare April 16, 2026 06:24
@howieleung howieleung force-pushed the feature/azure-ai-projects/2.0.2 branch from eac227e to 223cb73 Compare April 16, 2026 06:39
@howieleung
Copy link
Copy Markdown
Member

/azp run net - pullrequest

@azure-pipelines
Copy link
Copy Markdown

No pipelines are associated with this pull request.

@howieleung
Copy link
Copy Markdown
Member

/azp run python - pullrequest

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@howieleung
Copy link
Copy Markdown
Member

/azp run python - pullrequest

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@howieleung howieleung merged commit 1085ea6 into main Apr 17, 2026
20 checks passed
@howieleung howieleung deleted the feature/azure-ai-projects/2.0.2 branch April 17, 2026 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants