Commit Graph

3 Commits

  • .NET: Update to latest Azure.AI.*, OpenAI, and M.E.AI* (#2850)
    * Update to latest Azure.AI.*, OpenAI, and M.E.AI*
    
    Absorb breaking changes in Responses surface area
    
    * Update dotnet/samples/AgentWebChat/AgentWebChat.AgentHost/Utilities/ChatClientExtensions.cs
    
    * Update dotnet/samples/AgentWebChat/AgentWebChat.AgentHost/Utilities/ChatClientExtensions.cs
    
    * Update dotnet/samples/AgentWebChat/AgentWebChat.AgentHost/Utilities/ChatClientExtensions.cs
    
    * Update dotnet/samples/GettingStarted/AgentWithOpenAI/Agent_OpenAI_Step04_CreateFromOpenAIResponseClient/Program.cs
    
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
    
    * Using patch to remove the model is necessary, updated the response client to actually use the the ForAgent
    
    ---------
    
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
    Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com>
  • .NET: Implement Purview middleware in dotnet (#1949)
    * 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>