Skip to content

Howie/changelog2 - #48625

Closed
Howie Leung (howieleung) wants to merge 43 commits into
mainfrom
howie/changelog2
Closed

Howie/changelog2#48625
Howie Leung (howieleung) wants to merge 43 commits into
mainfrom
howie/changelog2

Conversation

@howieleung

Copy link
Copy Markdown
Member

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:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

Darren Cohen (dargilco) and others added 30 commits July 1, 2026 15:27
…est, add new hosted agent samples for Teams message trigger and reminder preview (#48234)

* Remove sample_agent_toolbox_skill.py per bakcned folks and Linda request, add new hosted agent samples for Teams message trigger and reminder preview

* change log
Howie Leung (howieleung) and others added 13 commits July 28, 2026 15:24
* Refactor agent name retrieval to use a fallback mechanism

- Updated multiple sample scripts to change the way the agent name is retrieved from environment variables.
- Replaced the default value assignment using `os.environ.get("FOUNDRY_AGENT_NAME", "MyAgent")` with a more concise approach using `os.environ.get("FOUNDRY_AGENT_NAME") or "MyAgent"`.
- This change ensures that if the environment variable is not set, the fallback value "MyAgent" is still used, while improving code readability.
- The affected files include various agent tools and hosted agent samples across the project.

* rever dataset generation job polling and update assistant prompt
* Add A2A protocol support and update related models

- Introduced A2ATool and A2AToolboxTool classes for A2A protocol implementation.
- Added A2AProtocolVersion enum to define supported A2A protocol versions.
- Updated DataGenerationJobOptions to include SimulationSeedDataGenerationJobOptions and removed TaskGenerationDataGenerationJobOptions.
- Modified existing models and enums to accommodate new A2A features.
- Updated sample agent to utilize the new A2ATool class.
- Adjusted beta routines API to remove unsupported parameters and enhance pagination handling.
- Updated YAML configuration to reflect repository changes.

* Update tsp-location.yaml with latest commit and repository details

* Update sample_agent_to_agent.py skip reason in test_samples.py
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
9 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates azure-ai-projects to 2.5.0 with regenerated Foundry APIs, custom job pollers, and revised samples.

Changes:

  • Adds stable A2A tools and renames beta optimization/data-generation models.
  • Adds custom sync/async pollers exposing job IDs.
  • Updates routines pagination, samples, tests, and release metadata.

Reviewed changes

Copilot reviewed 38 out of 41 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
sdk/ai/azure-ai-projects/tsp-location.yaml Advances the TypeSpec source revision.
sdk/ai/azure-ai-projects/tests/samples/test_samples.py Updates synchronous sample exclusions.
sdk/ai/azure-ai-projects/tests/samples/test_samples_async.py Updates asynchronous sample exclusions.
sdk/ai/azure-ai-projects/tests/foundry_features_header/foundry_features_header_test_base.py Expects routines V2 preview header.
sdk/ai/azure-ai-projects/tests/evaluators/test_evaluators.py Tests synchronous evaluator job IDs.
sdk/ai/azure-ai-projects/tests/evaluators/test_evaluators_async.py Tests asynchronous evaluator job IDs.
sdk/ai/azure-ai-projects/tests/datasets/test_datasets.py Tests synchronous dataset job IDs.
sdk/ai/azure-ai-projects/tests/datasets/test_datasets_async.py Tests asynchronous dataset job IDs.
sdk/ai/azure-ai-projects/tests/agents/test_agent_optimization_poller.py Tests synchronous optimization job IDs.
sdk/ai/azure-ai-projects/tests/agents/test_agent_optimization_poller_async.py Tests asynchronous optimization job IDs.
sdk/ai/azure-ai-projects/samples/datasets/sample_dataset_generation_job_simpleqna_for_finetuning_with_app_polling.py Adds synchronous application polling sample.
sdk/ai/azure-ai-projects/samples/datasets/sample_dataset_generation_job_simpleqna_for_finetuning_with_app_polling_async.py Adds asynchronous application polling sample.
sdk/ai/azure-ai-projects/samples/agents/tools/sample_agent_to_agent.py Migrates the sample to stable A2A.
sdk/ai/azure-ai-projects/samples/agents/optimization/sample_optimization_job_cancel.py Uses renamed optimization models.
sdk/ai/azure-ai-projects/samples/agents/optimization/sample_optimization_job_basic.py Updates synchronous optimization model names.
sdk/ai/azure-ai-projects/samples/agents/optimization/sample_optimization_job_basic_async.py Updates asynchronous optimization model names.
sdk/ai/azure-ai-projects/samples/agents/optimization/sample_optimization_job_advanced_app_polling.py Uses poller-provided optimization job IDs.
sdk/ai/azure-ai-projects/samples/agents/optimization/sample_optimization_job_advanced_app_polling_async.py Adds asynchronous poller-provided job handling.
sdk/ai/azure-ai-projects/PostEmitter.ps1 Removes an obsolete generation workaround.
sdk/ai/azure-ai-projects/docs/public-methods.md Marks customized LRO methods.
sdk/ai/azure-ai-projects/CHANGELOG.md Documents the 2.5.0 release.
sdk/ai/azure-ai-projects/azure/ai/projects/operations/_patch.py Installs customized beta operations.
sdk/ai/azure-ai-projects/azure/ai/projects/operations/_patch_evaluators.py Adds the synchronous evaluator poller operation.
sdk/ai/azure-ai-projects/azure/ai/projects/operations/_patch_datasets.py Adds the synchronous dataset poller operation.
sdk/ai/azure-ai-projects/azure/ai/projects/operations/_patch_agents.py Adds the synchronous optimization poller operation.
sdk/ai/azure-ai-projects/azure/ai/projects/operations/_operations.py Regenerates synchronous operations and pagination.
sdk/ai/azure-ai-projects/azure/ai/projects/models/_patch.py Defines custom sync/async poller classes.
sdk/ai/azure-ai-projects/azure/ai/projects/models/_enums.py Adds and renames generated enums.
sdk/ai/azure-ai-projects/azure/ai/projects/models/__init__.py Exports the regenerated model API.
sdk/ai/azure-ai-projects/azure/ai/projects/aio/operations/_patch.py Installs customized async beta operations.
sdk/ai/azure-ai-projects/azure/ai/projects/aio/operations/_patch_evaluators_async.py Adds the async evaluator poller operation.
sdk/ai/azure-ai-projects/azure/ai/projects/aio/operations/_patch_datasets_async.py Adds the async dataset poller operation.
sdk/ai/azure-ai-projects/azure/ai/projects/aio/operations/_patch_agents_async.py Adds the async optimization poller operation.
sdk/ai/azure-ai-projects/azure/ai/projects/aio/operations/_operations.py Regenerates async operations and pagination.
sdk/ai/azure-ai-projects/azure/ai/projects/_version.py Bumps the package to 2.5.0.
sdk/ai/azure-ai-projects/apiview-properties.json Updates APIView mappings.
sdk/ai/azure-ai-projects/api.metadata.yml Refreshes API metadata.
sdk/ai/azure-ai-projects/api.md Refreshes the public API surface.
eng/emitter-package.json Normalizes the file ending.
eng/emitter-package-lock.json Normalizes the lockfile ending.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

print(f"Generated samples: {job_result.generated_samples}")

# ------------------------------------------------------------------
# 5. Clean up.
* Renamed class `OptimizationJobProgress` to `AgentOptimizationJobProgress`.
* Renamed class `OptimizationJobResult` to `AgentOptimizationJobResult`.
* Renamed class `OptimizationOptions` to `AgentOptimizationOptions`.
* Renamed class `OptimizationReferenceDatasetInput` to `AgentOptimizationReferenceDatasetInput`.
print(f"Generated samples: {job_result.generated_samples}")

# ------------------------------------------------------------------
# 5. Clean up.
"sample_agent_browser_automation.py", # APITimeoutError: request timed out
"sample_agent_openapi.py", # 400 2/28/2026 validation/tool_user_error; failing weather GET curl call in OpenAPI tool
"sample_agent_memory_search.py", # Skipped until re-enabled and recorded on Foundry endpoint that supports the new versioning schema
"sample_agent_to_agent.py", # Skipped not sample should work, but not able to obtain a project endpoint that work with a2a at this moment
### Sample updates

* Added `sample_dataset_generation_job_simpleqna_for_finetuning_async.py` under `samples/datasets/`, demonstrating asynchronous generation of a SimpleQnA dataset for fine-tuning.
* Added `sample_dataset_generation_job_simpleqna_for_finetuning_with_app_polling.py` under `samples/datasets/`, demonstrating application-managed polling for a SimpleQnA fine-tuning data generation job.
@howieleung
Howie Leung (howieleung) deleted the howie/changelog2 branch August 18, 2026 19:30
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.

3 participants