Commit Graph
171 Commits
Author SHA1 Message Date
Eduard van ValkenburgandGitHub 376e8d7bfc foundry endpoint as secret (#254) 2025-07-28 13:28:59 +02:00
Eduard van ValkenburgandGitHub 1011b8bd2e Python: Merge tests (#253)
* updated var and secret names

* updated ptyhon with conditional logic
2025-07-28 13:25:38 +02:00
Eduard van ValkenburgandGitHub f36cc40080 different secret for python tests (#248) 2025-07-28 11:37:26 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Roger Barreto
62ea290066 Bump danielpalme/ReportGenerator-GitHub-Action from 5.4.9 to 5.4.10 (#244)
Bumps [danielpalme/ReportGenerator-GitHub-Action](https://github.com/danielpalme/reportgenerator-github-action) from 5.4.9 to 5.4.10.
- [Release notes](https://github.com/danielpalme/reportgenerator-github-action/releases)
- [Commits](https://github.com/danielpalme/reportgenerator-github-action/compare/5.4.9...5.4.10)

---
updated-dependencies:
- dependency-name: danielpalme/ReportGenerator-GitHub-Action
  dependency-version: 5.4.10
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com>
2025-07-28 09:28:31 +00:00
Eduard van ValkenburgandGitHub 08a1b714b4 Python: updated python design and dev setup (#171)
* updated python design and dev setup

* updated dev setup

* updated dev setup
2025-07-28 11:28:58 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
eafb333a3c Bump actions/github-script from 6 to 7 (#245)
Bumps [actions/github-script](https://github.com/actions/github-script) from 6 to 7.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/github-script
  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>
2025-07-28 11:28:08 +02:00
Eduard van ValkenburgandGitHub ba008cf4c0 Merge tests (#247)
* removed hardcoded model names from tests

* add debug line
2025-07-28 11:12:28 +02:00
Eduard van ValkenburgandGitHub f47d0a1e0b fixed permissions (#246) 2025-07-28 10:42:27 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Roger Barreto
92c6e26054 .Net: Bump Azure.AI.Agents.Persistent and 6 others (#243)
* Bump Azure.AI.Agents.Persistent and 6 others

Bumps Azure.AI.Agents.Persistent from 1.1.0-beta.4 to 1.1.0
Bumps Microsoft.Agents.CopilotStudio.Client from 1.1.125-beta to 1.1.151
Bumps Roslynator.Analyzers from 4.12.10 to 4.14.0
Bumps Roslynator.CodeAnalysis.Analyzers from 4.12.4 to 4.14.0
Bumps Roslynator.Formatting.Analyzers from 4.12.11 to 4.14.0
Bumps xunit from 2.9.2 to 2.9.3
Bumps xunit.runner.visualstudio from 3.0.2 to 3.1.3

---
updated-dependencies:
- dependency-name: Azure.AI.Agents.Persistent
  dependency-version: 1.1.0
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.Agents.CopilotStudio.Client
  dependency-version: 1.1.151
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Roslynator.Analyzers
  dependency-version: 4.14.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: Roslynator.CodeAnalysis.Analyzers
  dependency-version: 4.14.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: Roslynator.Formatting.Analyzers
  dependency-version: 4.14.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: xunit
  dependency-version: 2.9.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: xunit.runner.visualstudio
  dependency-version: 3.1.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Missing extra bump

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com>
2025-07-28 08:37:36 +00:00
Eduard van ValkenburgandGitHub 0d465d3f3d test with extra echo (#226) 2025-07-28 10:19:15 +02:00
Eduard van ValkenburgandGitHub 0ce8eb1e2f Python telemetry (#223)
* initial work on telemetry

* moved tool operation const

* missing quotes

* working otel with samples

* updated readme and other assets

* added tests

* added tests

* small updates

* updated genaiattributes docs

* updated tests

* additional warning

* cleanup of tests
2025-07-28 07:33:42 +00:00
3ee9dddfa2 Python: OpenAI responses client (#239)
* Responses client WIP

* add responses class

* fix typing errors

* move test

* streaming responses, structured outputs

* tests

* Update python/packages/main/tests/openai/test_openai_responses_client.py

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

* pr comments

* fix override import

* fix mypy

* add missing function override

* PR comments

* add docstrings

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-25 17:56:22 +00:00
Stephen ToubandGitHub 233c557173 Clean up handoff orchestration creation (#235)
- Remove Dictionary-derived types
- Add an optional name to orchestrations
- Make Handoffs based purely on AIAgent instances rather than separately provided names
2025-07-24 16:38:23 +00:00
Dmytro StrukandGitHub a72245287f Python: Added fixes and more examples for OpenAI and Azure chat client agents (#232)
* Added non-streaming and streaming examples

* Updated resource management

* Added examples with thread management

* Added function tools examples

* Small rename

* Added code interpreter example

* Updated example

* Addressed PR feedback

* Added more OpenAI and Azure chat completion examples

* File renaming

* Small fix in tests

* Small revert

* More renaming

* Small fix
2025-07-24 15:31:05 +00:00
Dmytro StrukandGitHub 14efb626ab Python: Added fixes and more examples for Foundry agent (#217)
* Added non-streaming and streaming examples

* Updated resource management

* Added examples with thread management

* Added function tools examples

* Small rename

* Added code interpreter example

* Updated example

* Addressed PR feedback

* Addressed PR feedback
2025-07-24 14:47:45 +00:00
Roger BarretoandGitHub 62be887947 .Net: Add missing providers to tool samples (#211)
* Add missing providers to tool samples

* Add Options ctor and simplify samples a bit

* Remove basic
2025-07-24 09:31:24 +00:00
Eduard van ValkenburgandGitHub 517955ce66 updated builds and release pipeline setup (without pypi publish) (#219)
* updated builds and release pipeline setup (without pypi publish)

* add label prefix action

* updated uv versions

* final uv updates

* moved uv version semver into variable
2025-07-24 07:15:00 +00:00
Reuben BondandGitHub 5e9b24e532 Clean up usage of JsonSerializerContext (#229)
* Clean up usage of JsonSerializerContext

* review feedback
2025-07-23 19:34:54 +00:00
Reuben BondandGitHub e6aeb9a5db Fix and simplify build (#218) 2025-07-23 17:45:50 +00:00
Stephen ToubandGitHub 5472d6e996 Overhaul orchestration library with new approach (#199) 2025-07-23 16:29:37 +00:00
Eduard van ValkenburgandGitHub 27f7af2160 Python: moved prepare tools into class (#215)
* moved prepare tools into class

* moved test

* changed tool handling

* fix test

* second fix
2025-07-22 21:37:18 +00:00
Eduard van ValkenburgandGitHub 84e5ee97b9 fixed name in labeler (#216) 2025-07-22 22:07:13 +02:00
Reuben BondandGitHub 41d441420e Initial draft of actor runtime abstractions (#197)
* Initial draft of actor runtime abstractions
2025-07-22 16:05:58 -04:00
Eduard van ValkenburgandGitHub 8f2d3da80d add merge gatekeeper (#214)
* add merge gatekeeper

* updated labeler
2025-07-22 21:24:43 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
b83581b1a6 Bump danielpalme/ReportGenerator-GitHub-Action from 5.4.8 to 5.4.9 (#205)
Bumps [danielpalme/ReportGenerator-GitHub-Action](https://github.com/danielpalme/reportgenerator-github-action) from 5.4.8 to 5.4.9.
- [Release notes](https://github.com/danielpalme/reportgenerator-github-action/releases)
- [Commits](https://github.com/danielpalme/reportgenerator-github-action/compare/5.4.8...5.4.9)

---
updated-dependencies:
- dependency-name: danielpalme/ReportGenerator-GitHub-Action
  dependency-version: 5.4.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-22 19:07:24 +00:00
Eduard van ValkenburgandGitHub 6508f48efb Add Labeler.yaml to Actions (#213)
* move all tests under tests and initial work on int tests

* added updated tests setup and merge tests

* without failing step

* fixed upload

* updated file names for coverage

* reenable surface tests

* removed package matrix

* simplified variables

* correct path

* removed mistake

* fix mistake in path

* fix path

* windows specific env set

* updated merge tests

* slight update in marker

* added run integration tests settings

* updated setup, moved foundry int tests and updated merge test

* add labeler
2025-07-22 21:04:21 +02:00
Eduard van ValkenburgandGitHub 5c992eb7ae Python: move all tests under tests and initial work on int tests (#206)
* move all tests under tests and initial work on int tests

* added updated tests setup and merge tests

* without failing step

* fixed upload

* updated file names for coverage

* reenable surface tests

* removed package matrix

* simplified variables

* correct path

* removed mistake

* fix mistake in path

* fix path

* windows specific env set

* updated merge tests

* slight update in marker

* added run integration tests settings

* updated setup, moved foundry int tests and updated merge test
2025-07-22 15:26:00 +00:00
Dmytro StrukandGitHub f89c0be0ea Python: Added integration tests for FoundryChatClient (#207)
* Initial version of tests

* Updated the tests
2025-07-22 14:11:54 +00:00
Dmytro StrukandGitHub 160c846b39 Python: Added more examples (#208)
* Small cleanup

* Added Azure and Foundry chat client samples

* Added Azure chat client agent example
2025-07-22 14:07:12 +00:00
d964b05ae7 Add an AgentRunResponse ctor accepting a ChatResponse (#204)
* Add an AgentRunResponse ctor accepting a ChatResponse

* Update dotnet/src/Microsoft.Extensions.AI.Agents.Abstractions/AgentRunResponseUpdate.cs

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-21 14:49:47 +00:00
westeyandGitHub a8fadbc49c Add a minimum console demo app (#198)
* Add a minimum console demo app

* Remove hardcoded values from sample.

* Make console project .net 9.0 only.

* Move minimum console demo to demo folder.

* Fix framework issue with demo project.

* Undo unintended commit.

* Address PR comments

* Fix build issue.

* Address PR Comments

* Rename Agent to AIAgent in new console app.
2025-07-21 09:49:47 +00:00
Stephen ToubandGitHub 6c12b2c0f8 Round 3 of cleanup (#186)
- Enable warnings as errors
- Make the remaining src projects NativeAOT compatible
- Use Throw helpers
2025-07-20 23:07:50 -04:00
Dmytro StrukandGitHub ccd7a44ec7 Python: Implemented FoundryChatClient (#193)
* Initial version of FoundryChatClient

* Updates to the tool call streaming wrapper

* Small fixes

* Small updates and addressed PR feedback

* Handle automatic client creation

* Small improvement

* Added credential parameter

* Small improvements

* Made FoundryChatClient disposable

* Small fixes

* Added unit tests

* Refactored samples

* Small improvements

* Small fix

* Addressed PR feedback

* Small fixes

* Small updates

* Small fix

* Addressed PR feedback
2025-07-18 20:10:14 +00:00
Eduard van ValkenburgandGitHub 9287572b0d Python: improved loading (#202)
* improved loading

* updated openai folder imports

* fixed import
2025-07-18 19:17:30 +00:00
westeyandGitHub fc999e2be8 Rename Agent to AIAgent and instroduce DisplayName (#201) 2025-07-18 15:43:38 +00:00
6e57489a44 .Net: Add OpenTelemetry Support and Samples (#182)
* Adding sample and implementation similar to MEAI approach

* Add Telemetry UnitTests

* Fix Async suffix

* Add ADR with the proposal

* Address merge changes

* Fixing const visibility + coverage

* Increase test coverage, add metrics collection code paths

* Fix warnings

* WIp

* Convention adeherence

* Add gen-ai.system logic + UT

* Add convetion reference

* Address PR comments

* Addressing PR comments, Agent name optional

* Remove constant

* Update dotnet/src/Microsoft.Extensions.AI.Agents/ChatCompletion/ChatClientAgent.cs

Co-authored-by: westey <164392973+westey-m@users.noreply.github.com>

* GetLoggingName

---------

Co-authored-by: westey <164392973+westey-m@users.noreply.github.com>
2025-07-16 17:00:24 +00:00
westeyandGitHub dd32a6d399 Add extension methods to get an AF agent from a Foundry Client (#191)
* Add helpers to go from foundry client to agent more easily.

* Fix xml docs.
2025-07-16 14:45:31 +00:00
westeyandGitHub 95a3264c8b Add ChatClientAgent constructor overload (#188)
* Add ChatClientAgent constructor overload

* Add unit tests for new constructor

* Up code coverage with extra tests

* Address PR comments.

* Address PR comment

* Add additional test to increase code coverage.
2025-07-16 13:36:17 +00:00
ChrisandGitHub e6d611abe4 Display thread type name in error message (#192) 2025-07-15 21:11:31 +00:00
f0dc661c3e Python: Azure chat client (#185)
* updated openai, fcc works, with sample

* reduced files in openai

* Add azure chat client

* fix tests

* Update python/packages/main/tests/unit/test_openai_chat_completion_base.py

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

* Update python/packages/azure/agent_framework/azure/__init__.py

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

* Update python/packages/azure/agent_framework/azure/_azure_openai_settings.py

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

* PR comments

* fix bad merge

* disable tests for now

* actually disable tests for azure

* fix tests, align test files with merge changes

* update code for new project structure

* PR comments

* add streaming integration tests. Fix flakiness

---------

Co-authored-by: eavanvalkenburg <github@vanvalkenburg.eu>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-15 18:38:09 +00:00
Dmytro StrukandGitHub fa96f74ee9 Removed Persistent SDK IChatClient implementation (#190) 2025-07-15 17:37:42 +00:00
Eduard van ValkenburgandGitHub 2e6f6a4008 small update in init (#189) 2025-07-15 15:09:32 +00:00
Mark WallaceandGitHub c30d726914 Disable some experimental features for dependabot (#170) 2025-07-15 14:08:32 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7f08c0b8ad Bump danielpalme/ReportGenerator-GitHub-Action from 5.4.4 to 5.4.8 (#168)
Bumps [danielpalme/ReportGenerator-GitHub-Action](https://github.com/danielpalme/reportgenerator-github-action) from 5.4.4 to 5.4.8.
- [Release notes](https://github.com/danielpalme/reportgenerator-github-action/releases)
- [Commits](https://github.com/danielpalme/reportgenerator-github-action/compare/5.4.4...5.4.8)

---
updated-dependencies:
- dependency-name: danielpalme/ReportGenerator-GitHub-Action
  dependency-version: 5.4.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-15 14:08:10 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4ab1f3aa9c Bump actions/github-script from 6 to 7 (#167)
Bumps [actions/github-script](https://github.com/actions/github-script) from 6 to 7.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/github-script
  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>
2025-07-15 14:07:44 +00:00
Eduard van ValkenburgandGitHub 62917ee5e5 Python: simple Agent sample (#180)
* tweaks to agents and sample

* updated clients and agents

* single line run and print

* improved tool handling

* added note on setting max iterations

* fixed streaming param name

* updated tools test

* made kwargs alphabetical

* added params to run methods

* tweak to ensure right overload
2025-07-15 14:01:21 +00:00
Stephen ToubandGitHub 59bf7343af Update {Azure.AI.}OpenAI package versions (#187) 2025-07-14 18:04:52 -04:00
westeyandGitHub 55045b5c1e Basic agent invocation sample (#175)
* Basic agent invocation sample

* Simplify sample further.

* Add additional comment.

* Address code review comments.

* Suppress CA2000 and remove using from most basic sample, since the IChatClient instances involved do not do any disposal.
2025-07-14 15:15:46 +00:00
Eduard van ValkenburgandGitHub 407ed6de70 Python: follow on work on OpenAI (#169)
* updated openai, fcc works, with sample

* reduced files in openai
2025-07-12 05:15:51 +00:00
Stephen ToubandGitHub 80c1e2ee0a Allow InProcessRuntime subscriptions to be processed concurrently (#179)
* Allow InProcessRuntime subscriptions to be processed concurrently

* Fix tests
2025-07-11 21:50:51 -04:00