* .NET: [Durable Agents] Update CHANGELOG with release notes for past releases
Backfills the CHANGELOG.md files with the last several updates.
* Update dotnet/src/Microsoft.Agents.AI.DurableTask/CHANGELOG.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update the Azure Functions changelog and add GHCP changelog instructions for these projects
* Tweak instructions
* Remove the timestamp requirement
* Rename instructions file
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* change namespaces for agents and extension methods of the Microsoft.Agents.AI.OpenAI package
* remove unnecessary namespace
* remove unused namespaces
* fix compilation issues and rrolled back removed run methods
* sort usings
* add extension methods for AIAgent to work with OpenAI Responses primitives
* Move OpenAIChatClientAgent and OpenAIResponseClientAgent to samples
* sort usings
* sort usings
* Fix AG-UI forwardedProps JSON property name
The RunAgentInput.ForwardedProperties property was using the wrong JSON property
name 'forwardedProperties' instead of 'forwardedProps' per the AG-UI protocol
specification.
This fix:
- Changes JsonPropertyName from 'forwardedProperties' to 'forwardedProps'
- Adds comprehensive integration tests for forwarded properties
Fixes#2468
* Fix formatting
Javier Calvarro Nelson
·
2025-12-02 17:00:40 +00:00
* Update the declarative agent samples
* Add the Microsoft.Agents.AI.Declarative project
* Make the package non packable
* Use the RecalcEngine when creating the ChatOptions
* Ignore VSTHRD200
* Add geting started samples
* Address code review feedback
* prevent stremed updates loss when resuming streaming with non-agent managed store or/and context provider
* Update dotnet/src/Microsoft.Agents.AI/ChatClient/ChatClientAgent.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* throw not supported exception instead invalid operation
* Update dotnet/src/Microsoft.Agents.AI/ChatClient/ChatClientAgent.cs
Co-authored-by: westey <164392973+westey-m@users.noreply.github.com>
* Update dotnet/src/Microsoft.Agents.AI/ChatClient/ChatClientAgent.cs
Co-authored-by: westey <164392973+westey-m@users.noreply.github.com>
* use conversation id to check if chat history is managed by agent service or not
* extract background responses tests into a separate file
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: westey <164392973+westey-m@users.noreply.github.com>
* Propagate orchestration ID (if any).
* Add integration test for orchestration ID in entity state.
* Update schema.
* Fixup formatting issues.
* Fix more formatting issues.
* draft commit
* Added Cosmos agent thread and tests
* revert unnecessary changes and fix tests
* add multi-tenant support with hierarchical partition keys (and tests).
* enhance transactional batch
* address review comments
* Address PR review comments from @westey-m
* Merge upstream/main - resolve slnx conflicts
* use param validation helpers
* Replace useManagedIdentity boolean with TokenCredential parameter
* Remove redundant suppressions and fix tests
* Rename project from Microsoft.Agents.AI.Abstractions.CosmosNoSql to Microsoft.Agents.AI.CosmosNoSql
* Refactor constructors to use chaining pattern
* Reorder deserialization constructor parameters for consistency
* Remove database/container IDs from serialized state
* Remove auto-generation of MessageId
* Optimize AddMessagesAsync to avoid enumeration when possible
* Add MaxMessagesToRetrieve to limit context window
* Make Role nullable instead of defaulting
* Fix net472 build without rebasing 19 commits
* Add Cosmos DB emulator to CI workflow
* Fix Cosmos DB emulator tests: use Skip.If instead of Assert.Fail and start emulator before unit tests
* Replace Skip.If() with conditional return to fix compilation
* Use env var to skip Cosmos tests on non-Windows CI
* Add Xunit.SkippableFact package to properly skip Cosmos tests on Linux
* Change [Fact] to [SkippableFact] for proper test skipping behavior
* Remove stale Microsoft.Agents.AI.Abstractions.CosmosNoSql directory
* Fix code formatting: add braces, this. qualifications, and final newlines
* Fix file encoding to UTF-8 with BOM, fix import ordering, and remove unnecessary using directives
* Convert backing fields to auto-properties and remove Azure.Identity using directive
* Fix CosmosChatMessageStore.cs encoding back to UTF-8 with BOM
* Fix test file formatting: indentation, encoding, imports, this. qualifications, naming conventions, and simplify new expressions
* Fix const field naming violations: Remove s_ prefix from const fields and add this. qualification to Dispose call
* Add local .editorconfig for Cosmos DB tests to suppress IDE0005 false positives from multi-targeting
* Fix IDE1006 naming violations: Rename TestDatabaseId to s_testDatabaseId and add final newlines
* Address PR review comments
Address Wesley's review comments:
- Remove Cosmos DB package references from core projects
- Delete duplicate test files from old package structure
- Remove redundant parameter validation from extension methods
Address Kiran's review comments:
- Remove redundant 429 retry logic (SDK handles automatically)
- Add explicit RequestEntityTooLarge error handling
- Remove dead code in GetMessageCountAsync
- Add defensive partition key validation comments
* Fix IDE0001 formatting error in AgentProviderExtensions.cs. Use type alias to resolve namespace conflict between Azure.AI.Agents.Persistent.RunStatus and Microsoft.Agents.AI.Workflows.RunStatus. This eliminates the need for global:: qualifier which triggered the formatter warning.
* Update package versions for Aspire 13.0.0 compatibility
* Fix TargetFrameworks in Cosmos DB projects
- Replace with which is defined in Directory.Build.props
- Fix package reference from System.Linq.Async to System.Linq.AsyncEnumerable to match Directory.Packages.props
* Remove redundant counter, add partition key validation, use factory pattern for deserialization
* WIP
* WIP
* Simple call working
* Update Thinking sample
* Non-Streaming Function calling working
* Update Anthropic Impl
* Public Preps
* UT + IT working
* Update documentation + samples
* Update variable
* Revert nuget.config
* Add IT for BetaService implementation
* Remove polyfill + enable IT to run for netstandard 2.0
* Skipping Anthropic IT's for manual execution and avoid pipeline execution
* Fix compilation error
* Address error in UT
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Fix warning
* Net 10 update
* Update for NET 10, remove Anthropic.Foundry due to vulnerability
* Final missing adjustments for NET 10
* Address PR comments
* Remove unused code
* Address feedback
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Upgrade to .NET 10
- Require .NET 10 SDK
- Include net10.0 assets in all assemblies
- Move net9.0-only targets to net10.0
- Update LangVersion to latest
- Remove complicated distinctions between debug target TFMs and release target TFMs
- Remove unnecessary package dependencies when built into netcoreapp
- Clean up some ifdefs
- Clean up some analyzer warnings
* Fix CI
Update XML documentation to clarify exception behavior.
See `ChatClientAgentThreadTests.SetConversationIdThrowsWhenMessageStoreIsSet` which already verifies this is the actual behavior.
Co-authored-by: Chris <66376200+crickman@users.noreply.github.com>
* Move Purview integration logic into middleware
* Improve error handling and user id management
* Rename purview package
* Handle 402s more explicitly; add Middleware generation methods; don't ignore exceptions
* Use DI container; pass scope id to PC
* Add protection scope caching
* Wrap more exceptions in PurviewClient
* Remove block check dedup; add tests
* Refactor PurviewWrapper intialization; Add unit tests
* Use different .Use method and add IDisposable stub
* Add background job processing for Purview
* Misc comment cleanup
* Apply copilot comments
* Fix formatting
* Formatting other files to fix pipeline
* Small updates to settings and exceptions
* Add README
* Move Purview sample
* Address review comments and update XML comments
* Newline after namespace
* Move public Purview classes to single namespace; Clean up csproj and slnx
* Commit the renames
* Remove unused openAI dependency
---------
Co-authored-by: Dmytro Struk <13853051+dmytrostruk@users.noreply.github.com>
* fix: WorkflowAsAgent Sample
* Also makes ChatForwardingExecutor public
* feat: Expand ChatForwardingExecutor handled types
Make ChatForwardingExecutor match the input types of ChatProtocolExecutor.
* fix: Update for the new AgentRunResponseUpdate merge logic
AIAgent always sends out List<ChatMessage> now.
* DevUI: Add OpenAI Responses API proxy support with enhanced UI features
This commit adds support for proxying requests to OpenAI's Responses API,
allowing DevUI to route conversations to OpenAI models when configured to enable testing.
Backend changes:
- Add OpenAI proxy executor with conversation routing logic
- Enhance event mapper to support OpenAI Responses API format
- Extend server endpoints to handle OpenAI proxy mode
- Update models with OpenAI-specific response types
- Remove emojis from logging and CLI output for cleaner text
Frontend changes:
- Add settings modal with OpenAI proxy configuration UI
- Enhance agent and workflow views with improved state management
- Add new UI components (separator, switch) for settings
- Update debug panel with better event filtering
- Improve message renderers for OpenAI content types
- Update types and API client for OpenAI integration
* update ui, settings modal and workflow input form, add register cleanup hooks.
* add workflow HIL support, user mode, other fixes
* feat(devui): add human-in-the-loop (HIL) support with dynamic response schemas
Implement HIL workflow support allowing workflows to pause for user input
with dynamically generated JSON schemas based on response handler type hints.
Key Features:
- Automatic response schema extraction from @response_handler decorators
- Dynamic form generation in UI based on Pydantic/dataclass response types
- Checkpoint-based conversation storage for HIL requests/responses
- Resume workflow execution after user provides HIL response
Backend Changes:
- Add extract_response_type_from_executor() to introspect response handlers
- Enrich RequestInfoEvent with response_schema via _enrich_request_info_event_with_response_schema()
- Map RequestInfoEvent to response.input.requested OpenAI event format
- Store HIL responses in conversation history and restore checkpoints
Frontend Changes:
- Add HILInputModal component with SchemaFormRenderer for dynamic forms
- Support Pydantic BaseModel and dataclass response types
- Render enum fields as dropdowns, strings as text/textarea, numbers, booleans, arrays, objects
- Display original request context alongside response form
Testing:
- Add tests for checkpoint storage (test_checkpoints.py)
- Add schema generation tests for all input types (test_schema_generation.py)
- Validate end-to-end HIL flow with spam workflow sample
This enables workflows to seamlessly pause execution and request structured user input
with type-safe, validated forms generated automatically from response type annotations.
* improve HIL support, improve workflow execution view
* ui updates
* ui updates
* improve HIL for workflows, add auth and view modes
* update workflow
* security improvements , ui fixes
* fix mypy error
* update loading spinner in ui
* DevUI: Serialize workflow input as string to maintain conformance with OpenAI Responses format
* Phase 1: Add /meta endpoint and fix workflow event naming for .NET DevUI compatibility
* additional fixes for .NET DevUI workflow visualization item ID tracking
**Problem:**
.NET DevUI was generating different item IDs for ExecutorInvokedEvent and
ExecutorCompletedEvent, causing only the first executor to highlight in the
workflow graph. Long executor names and error messages also broke UI layout.
**Changes:**
- Add ExecutorActionItemResource to match Python DevUI implementation
- Track item IDs per executor using dictionary in AgentRunResponseUpdateExtensions
- Reuse same item ID across invoked/completed/failed events for proper pairing
- Add truncateText() utility to workflow-utils.ts
- Truncate executor names to 35 chars in execution timeline
- Truncate error messages to 150 chars in workflow graph nodes
** Details:**
- ExecutorActionItemResource registered with JSON source generation context
- Dictionary cleaned up after executor completion/failure to prevent memory leaks
- Frontend item tracking by unique item.id supports multiple executor runs
- All changes follow existing codebase patterns and conventions
Tested with review-workflow showing correct executor highlighting and state
transitions for sequential and concurrent executors.
* format fixes, remove cors tests
* remove unecessary attributes
---------
Co-authored-by: Mark Wallace <127216156+markwallace-microsoft@users.noreply.github.com>
Co-authored-by: Reuben Bond <reuben.bond@gmail.com>
* Don't add OpenAIResponses as part of Dev UI
You should be able to add and remove Dev UI without impacting your other production endpoints.
* Remove `AddDevUI()` and do not map OpenAI endpoints from `MapDevUI()`
* Fix comment wording
* Revise documentation
---------
Co-authored-by: Daniel Roth <daroth@microsoft.com>