Skip to content

Howie/samples with proj client#41426

Merged
howieleung merged 10 commits intofeature/azure-ai-agents/1.1.0b2from
howie/samples-with-proj-client
Jun 6, 2025
Merged

Howie/samples with proj client#41426
howieleung merged 10 commits intofeature/azure-ai-agents/1.1.0b2from
howie/samples-with-proj-client

Conversation

@howieleung
Copy link
Member

@howieleung howieleung commented Jun 4, 2025

update samples to use AIProjectClient.
According to Johan, I should use DefaultAzureCredential() without parameters but subject to change later.
He also said that I should use with on AIProjectClient but not DefaultAzureCredential or agents_client that is also what my understanding should be.

@jhakulin
Copy link

jhakulin commented Jun 5, 2025

Please update change note to describe that samples have been updated to use project client due to reason it is the recommended approach. I think we shall also add note that AgentsClient can still be used directly in case customer do not want for some reason to have dependency to the project client

@howieleung howieleung force-pushed the howie/samples-with-proj-client branch from 2607316 to 0553702 Compare June 6, 2025 20:58
@howieleung howieleung merged commit 7c76441 into feature/azure-ai-agents/1.1.0b2 Jun 6, 2025
3 of 9 checks passed
@howieleung howieleung deleted the howie/samples-with-proj-client branch June 6, 2025 21:02
howieleung added a commit that referenced this pull request Jun 9, 2025
* [AI] [Agents] add is_valid_connection_id check to connection tool init

* Howie/async func b2 (#41349)

* use as* `asyncio.gather` is used to make function tool calls in paral… (#41311)

* use as* `asyncio.gather` is used to make function tool calls in parallel for `async` scenario.

* Fixed version

* update

* update version

* run black

* fix change_context usages (#41362)

* fixing tracing for streaming when not using event handler (#41424)

* fixing tracing for streaming when not using event handler

* fixing mypy warnings

* fixes

* changelog

* Update CHANGELOG.md

* Howie/samples with proj client (#41426)

* Update samples with project client

* more samples

* update samples

* UPDATE

* update

* change tooling samples

* black and readme update

* update pip install

* Update changelog

* change  is_valid_connection_id to _is_valid_connection_id and run black

* fixed lint

* revert dev req

* Update README.md

* update

* fix readme

* added a new sample

* Update CHANGELOG.md with new release date

---------

Co-authored-by: Howie Leung <howieleung@microsoft.com>
Co-authored-by: Liudmila Molkova <limolkova@microsoft.com>
Co-authored-by: M-Hietala <78813398+M-Hietala@users.noreply.github.com>
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.

2 participants