Python: adr for python client constructors#2300
Closed
eavanvalkenburg wants to merge 15 commits intomicrosoft:mainfrom
Closed
Python: adr for python client constructors#2300eavanvalkenburg wants to merge 15 commits intomicrosoft:mainfrom
eavanvalkenburg wants to merge 15 commits intomicrosoft:mainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR proposes an Architecture Decision Record (ADR) for standardizing how Python client constructors should handle different backends (e.g., OpenAI vs Azure OpenAI, Anthropic vs Anthropic Bedrock) in the Agent Framework. The document explores five different architectural approaches for handling multi-backend client creation, weighing their tradeoffs in terms of maintainability, discoverability, and ease of use. The PR also includes routine dependency updates in the Python lock file.
Reviewed Changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
docs/decisions/001X-python-client-constructors.md |
New ADR document proposing design patterns for Python client constructors with multi-backend support |
python/uv.lock |
Dependency version updates for various packages including openai, anthropic, numpy, and other dependencies |
1881b31 to
1d81d2d
Compare
moonbox3
reviewed
Nov 19, 2025
dmytrostruk
reviewed
Nov 21, 2025
3e4ca7c to
39d4892
Compare
moonbox3
reviewed
Nov 25, 2025
dmytrostruk
reviewed
Dec 2, 2025
e37fa5c to
cf741d3
Compare
Member
2f96939 to
029f22b
Compare
726522c to
40ab028
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation and Context
We need to decide how to handle clients that can have different backends and make it consistent.
Description
Contribution Checklist