fef4fd2c18
.Net: Update Code Interpreter Sample as a Step. ( #148 )
...
* Updating code interpreter samples
* Small adjustments to ensure it works as expected
* Update dotnet/samples/GettingStarted/Steps/Step03_ChatClientAgent_UsingCodeInterpreterTools.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Address xmldoc
* Addressing PR coment, external implementaions + ChatClients update, removing RawRepresentationFactory requirement
* Address warnings
* Update Fix warnings
* Proposed changes for the OpenAIAssistantChatClient
* Address PR comments
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Mark Wallace <127216156+markwallace-microsoft@users.noreply.github.com >
2025-07-10 15:26:41 +00:00
westey and GitHub
bc6573f475
Remove instructions from base agent type, and ensure description is only required where necessary. ( #154 )
...
* Remove instructions from base agent type, and ensure description is only required where necessary.
* Fix code issue.
* Remove unused import.
* Remove typo
* Make the description parameter optional
* Also use name for handoffs if no description is provided.
2025-07-10 13:06:45 +00:00
Stephen Toub and GitHub
fbf1f10a8a
First round of cleanup of runtime abstractions ( #156 )
2025-07-10 07:57:51 -04:00
Stephen Toub and GitHub
4a0f8dcbe0
Port Agent Runtime abstractions / inprocess runtime ( #149 )
2025-07-09 09:08:45 -04:00
7c8ec5ec19
.NET Port Agent Orchestration ( #107 )
...
* Checkpoint
* Checkpoint
* Namespaces
* Namespace
* Cleanup
* Namespace order
* Fix sync
* Formatting
* Formatting
* Namespace
* Namespace order
* Code convention
* Naming
* Naming
* Text handling
* Text handling
* Namespace
* Namespace order
* Namespace ordering
* Test
* ValueTask
* net472
* Test fix
* Fix namespace (net472)
* Namespace
* Fix conditional namespace
* Fix type expression
* Compatibility and cleanup
* Sample compatibility
* Sample compat
* Test compat
* modifier order
* Simply http-stub
* Formating fix for unit-test
* Fix test
* Real fix
* Test clean-up
* Update dotnet/src/Microsoft.Agents.Orchestration/Handoff/HandoffOrchestration.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Fix build errors after merging
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Stephen Toub <stoub@microsoft.com >
2025-07-08 13:04:34 -04:00
Roger Barreto and GitHub
d6c829cddf
Fix warnings ( #133 )
2025-07-07 15:12:02 +00:00
Mark Wallace and GitHub
95738b0ac2
Renaming to use Microsoft.Extensions prefix ( #120 )
...
* Rename the folders
* Rename the .csproj files
* Some build file updates
* Update namespaces
* Fix order of imports
* Fix order of imports
* Fix order of imports
2025-07-01 08:15:28 +00:00
Roger Barreto and GitHub
b46ee00468
.Net: Agent Samples - Adding AzureAIAgentsPersistent to Steps ( #105 )
...
* Adding Persistent Agent to Steps
* Add comments
* Ensure changes
* Fix format
* Fix formatting
* Adding cancellation token good practice
2025-06-26 22:17:59 +00:00
Roger Barreto and GitHub
06a690685f
.Net: Add Reasoning Model Integration tests ( #100 )
...
* Add reasoning integration tests
* Adding Reasoning Model config
2025-06-25 19:50:29 +00:00
Stephen Toub and GitHub
e7b559fa62
Suggested tweaks to Agent ( #88 )
...
- Id should return a stable ID, not a different value per access
- The RunAsync virtuals needn't be virtuals... a derived type can/should override just the main worker abstract method
- The protected methods should do argument validation
2025-06-24 15:57:40 +00:00
westey and GitHub
5f2af80735
Add function call integration tests ( #90 )
...
* Add function call tests
* Address PR comment
2025-06-23 09:02:17 +00:00
westey and GitHub
578b35723a
Remove AdditionalInstructions from AgentRunOptions since it is not well supported outside of ChatClientAgents ( #87 )
...
* Remove additional instructions from AgentRunOptions since it is not well supported outside of ChatClientAgents
* Fix typos and remove unused test.
* Make further namespace fixes and update AzureAIAgent with new tests.
* Expand tests to increase code coverage
2025-06-20 11:54:37 +00:00
Dmytro Struk and GitHub
47dcad6b49
.Net: Added Azure AI Persistent Agents ( #81 )
...
* Added PersistentAgentsChatClient
* Added integration tests
* Small fixes
* Added sample
* Added TODO for tools
* Small rename
* Removed user-secrets id
* Renamed project
* Fixed warning
* Fixed warning
* More fixes
* More fixes
2025-06-19 14:01:26 +00:00
westey and GitHub
d1d69af482
Add tests for ChatClientAgent with OpenAI responses ( #82 )
...
* Add tests for ChatClientAgent with OpenAI responses
* Address PR comments
* Fix typo
2025-06-19 09:12:24 +00:00
westey and GitHub
e6bfc51367
Add additional integration tests and add OpenAIAssistant integration tests project. ( #79 )
...
* Add additional integration tests and add OpenAIAssistant integration tests project.
* Address PR comments.
* Address PR comments.
2025-06-17 11:43:29 +00:00
16cbc44611
.Net: Adding ChatOptions configuration to the Agent level ( #75 )
...
* Adding ChatOptions configuration to the Agent level
* fix warnings
* Address Copilot Feedback
* Add UT for new AgentExtensions
* Add UnitTests for ChatOptions merging behavior
* Fix warning
* Address PR Feedback
* Update dotnet/src/Microsoft.Agents/ChatCompletion/ChatClientAgent.cs
Co-authored-by: Dmytro Struk <13853051+dmytrostruk@users.noreply.github.com >
---------
Co-authored-by: Dmytro Struk <13853051+dmytrostruk@users.noreply.github.com >
2025-06-17 09:08:11 +00:00
westey and GitHub
293cdb1846
Add test infrastructure for agent conformance tests ( #77 )
...
* Add test infrastructure for agent conformance tests
* Address PR comments.
* Switch TargetFrameworks to have inline condition
2025-06-16 11:32:20 +01:00
westey and GitHub
d6dc360215
Update ChatClientAgentThread to support both in-memory and service storage. ( #70 )
...
* Update ChatClientAgentThread to support both in-memory and service storage.
* Fix typos.
* Address PR comments
* Move code to reusable sections.
* Remove DefaultThreadStorageLocation
* Change thread type naming and make it internal
* Fix bug for streaming case.
* Add additional unit tests
* Add more unit tests to verify agent's thread update behavior.
2025-06-12 13:28:08 +00:00
2c75f13337
.Net: Add ChatClientAgent Samples - OpenAI Model Client ( #72 )
...
* Add Streaming API
* Removing InstructionsRole
* Updating thread notification strategy
* Fix net472 failing
* Small fixes
* Adding Samples for OpenAI
* WIP samples
* default runsettings for unit tests
* Adding first samples with OpenAIModelChatClientAgents
* Removing OpenAI dependency on the sample utility
* Release -> Debug update for GettingStarted project
* Fix GettingStarted.csproj failing to build in Release
* Update dotnet/src/Shared/Samples/BaseSample.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Address PR feedback
* Fix Step 1 samples
* Simplify code
* Address PR feedback
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-06-12 12:22:07 +00:00
Roger Barreto and GitHub
d761c92a52
.Net ChatClientAgent Streaming API Impl. ( #69 )
...
* Add Streaming API
* Removing InstructionsRole
* Updating thread notification strategy
* Fix net472 failing
* Address typo
2025-06-12 06:18:47 +00:00
Roger Barreto and GitHub
89daf173c4
.Net: ChatClientAgent (Non-Streaming initial impl) ( #65 )
...
* Add non-streaming impl
* Add missing UT
* AgentThread UT + ensuring behavior
* Fix warnings
* Increase code coverage
* Add UT
* Updated abstractions fixes
* Adding AgentInvokingChatClient for instruction handling logic
* Moving AsAgentInvokingClient to ChatClientExtensions
* Address PR Feedback
* Address PR feedback
* Address PR feedback
* Signature updates for chat run options
2025-06-11 10:21:30 +00:00
westey and GitHub
46a117d581
Remove create/delete from AgentThread to avoid needing a thread implementation for each service. ( #64 )
...
* Remove create/delete from thread to avoid needing a thread implementation for each service.
* Address pr feedback.
2025-06-10 14:51:37 +00:00
Roger Barreto and GitHub
2a1c8ea1a3
Adding nuget.config + Small Async fix ( #62 )
...
* Async fix
* Fix warnings
2025-06-09 11:33:27 +00:00
af2295f130
.Net: Added Agent abstractions from SK repository ( #56 )
...
* Fixed project build in Visual Studio
* Added Agent abstractions
* Remove features we are not porting over, addressing PR comments and making updates as per agreed design.
* Add create thread method.
* Add unit tests and update invoke response type to async
* Address PR comments and fix formatting.
* Switch to shared null checker to fix build failures.
* Add additional tests to increase code coverage
* Seal mockagent
* Fix line coverage failure
* Improve coverage check formatting
---------
Co-authored-by: westey <164392973+westey-m@users.noreply.github.com >
2025-06-09 11:35:41 +01:00
Dmytro Struk and GitHub
43316ecb50
Fixed project build in Visual Studio ( #55 )
2025-06-03 08:51:13 +00:00
westey and GitHub
d0531bb93b
Add skeleton dotnet project structure ( #49 )
...
* Add skeleton dotnet project structure
* Fix casing in import statement.
* Moving tests folder to be a sibling of src.
* Update tests to use directory.builds.props and only build necessary frameworks.
* Move more test props to directory.build.props
* Add AotCompatible flag and .net 8.0
* Rename Tests to UnitTests
* Add global.json file
* Update publish mapping for unit tests to debug, to reduce build times.
2025-05-29 15:58:57 +00:00