6acab3d1d6
Python: [BREAKING] Standardize model selection on model ( #4999 )
...
* Refactor Anthropic model option and provider clients
Rename the Anthropic client model option from model_id to model, add provider-specific Anthropic wrappers for Foundry, Bedrock, and Vertex, and expose them through the Anthropic, Foundry, Amazon, and Google namespaces. Update core option handling, docs, samples, and tests accordingly.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* Fix Anthropic skills sample typing
Cast the Anthropic beta client to Any in the skills sample so the pre-commit sample pyright check no longer fails on beta skills and files endpoints that are not exposed by the current SDK stubs.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* undo sample mypy
* Retry CI after transient external failures
Retrigger PR validation after an unrelated Copilot review workflow SAML failure and a transient external tau2 git fetch failure in the Windows Python test setup.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* Address review feedback on model option merging
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* Address Anthropic compatibility review feedback
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* moved all to `model`
* fixes for azure ai search
* Python: standardize remaining sample env var names
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* Python: fix foundry-local pyright compatibility
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* updated env vars in cicd
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-04-01 19:00:18 +00:00
3a49b1d6dd
Python: [BREAKING] Remove deprecated Python OpenAI/Azure AI surfaces ( #4990 )
...
* [BREAKING] Remove deprecated Python OpenAI/Azure AI surfaces
Also clean up follow-on docs, environment guidance, package metadata, and lab test stability.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* Fix deleted semantic-kernel sample links
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* Address PR review feedback
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* improve foundry language
* Fix A2A Foundry sample regression
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-03-31 20:36:21 +00:00
Tao Chen and GitHub
016daf3b98
Python: Fix samples ( #4980 )
...
* First samples 1st batch
* Fix sample paths
* Fix workflow samples
* Fix workflow dependency
* Correct env vars
* Increase idle timeout
* Fix workflows HIL sample
* Fix more workflow samples
2026-03-31 15:20:35 +00:00
5e056b672e
Python: [BREAKING] Python: Provider-leading client design & OpenAI package extraction ( #4818 )
...
* Python: Provider-leading client design & OpenAI package extraction
Major refactoring of the Python Agent Framework client architecture:
- Extract OpenAI clients into new `agent-framework-openai` package
- Core package no longer depends on openai, azure-identity, azure-ai-projects
- Rename clients for discoverability: OpenAIResponsesClient → OpenAIChatClient,
OpenAIChatClient → OpenAIChatCompletionClient
- Unify `model_id`/`deployment_name`/`model_deployment_name` → `model` param
- New FoundryChatClient for Azure AI Foundry Responses API
- New FoundryAgent/FoundryAgentClient for connecting to pre-configured Foundry agents
- Remove OpenAIBase/OpenAIConfigMixin from non-deprecated client MRO
- Deprecate AzureOpenAI* clients, AzureAIClient, OpenAIAssistantsClient
- Reorganize samples: azure_openai+azure_ai+azure_ai_agent → azure/
- ADR-0020: Provider-Leading Client Design
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* fix: missing Agent imports in samples, .model_id → .model in foundry_local sample
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* fix: CI failures — mypy errors, coverage targets, sample imports
- azure-ai mypy: add type ignores for TypedDict total=, model arg, forward ref
- Coverage: replace core.azure/openai targets with openai package target
- project_provider: add type annotation for opts dict
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* fix: populate openai .pyi stub, fix broken README links, coverage targets
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* fixes
* updated observabilitty
* reset azure init.pyi
* fix errors
* updated adr number
* fix foundry local
* fixed not renamed docstrings and comments, and added deprecated markers to old classes
* fix tests and pyprojects
* fix test vars
* updated function tests
* update durable
* updated test setup for functions
* Fix Foundry auth in workflow samples
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* Stabilize Python integration workflows
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* Update hosting samples for Foundry
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* Trigger full CI rerun
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* Trigger CI rerun again
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* trigger rerun
* trigger rerun
* fix for litellm
* undo durabletask changes
* Move Foundry APIs into foundry namespace
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* Fix Foundry pyproject formatting
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* Split provider samples by Foundry surface
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* Restore hosting sample requirements
Also fix the Foundry Local sample link after the provider sample move.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* updated tests
* udpated foundry integration tests
* removed dist from azurefunctions tests
* Use separate Foundry clients for concurrent agents
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* fix client setup in azfunc and durable
* disabled two tests
* updated setup for some function and durable tests
* improved azure openai setup with new clients
* ignore deprecated
* fixes
* skip 11
* remove openai assistants int tests
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-03-25 09:56:29 +00:00
Tao Chen and GitHub
4b533608b6
Python: Update sample validation scripts ( #4870 )
...
* Update sample validation scripts
* Adjust prompt
* Update autogen-migration samples
* Add fix suggestion
* Split jobs
* Add .env
* Create trend report
* Add timestamp
* Add more env vars
* Comments
* force node24
* force node24
* force node22
2026-03-25 01:21:32 +00:00
008fe23585
Bump actions/upload-artifact from 4 to 7 ( #4373 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v7 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-17 16:05:55 +00:00
Tao Chen and GitHub
d7abfcd444
Move sample validation script from samples/ to scripts/ ( #4400 )
2026-03-02 23:36:18 +00:00
7d374f00bb
Python: Fix samples discovered by auto validation pipeline ( #4355 )
...
* Fix samples discovered by auto validation pipeline
* Update python/samples/02-agents/devui/in_memory_mode.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-03-02 16:24:20 +00:00
Tao Chen and GitHub
c45d47d4b2
Python: Tuning auto sample validation workflow ( #4218 )
...
* Tuning validate-01-get-started
* Add gh token
* Add model
* enable debug log
* bump up timeout for testing purposes
* Test cli is working
* Fix end quote
* Run gh auth
* Run gh auth trail 2
* Run gh auth trail 3
* Test token
* Add zcure login
* Add zcure login 2
* Add zcure login 3
* Add zcure login 4
* Extract common actions
* Extract common actions 2
* Correct env vars
* Print outputs to action console
* Disable end-to-end samples
* Fix ruff errors
* Fix ruff errors 2
* Revert workflow changes to fix tests
* Revert workflow changes to fix tests 2
* Revert workflow changes to fix tests 3
* Revert workflow changes to fix tests 4
2026-02-27 11:45:10 +09:00
Tao Chen and GitHub
b7efaae709
Python: Automate sample validation ( #4193 )
...
* Automate sample validation: part 1
* Automate sample validation: part 2
* Create GH workflow
* comments
* Fix mypy
2026-02-24 01:08:16 +00:00