Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Build
Microsoft.SourceLink.GitHubGenerateDocumentationFileAgentGuard.Localpackage, 26 MB of unreferenced model binaries andtwo unused package references (artfiacts from last migration)
Fixes
StripUnicodeControlremoved the characters its own hidden-contentpatterns look for and discarded the stripped text.
response. It now rewrites the buffer and continues
GuardrailResult.Errorgoverned byErrorBehavior. Patterns are compiled once and warmedat construction
System:,USER:) blocked ordinary log pastesas Critical at every sensitivity - moved to High
Wiring
IChatClientand workflow adapters (resolvedfrom DI in the MAF path, as documented)
UseProgressiveStreaming()works on theIChatClientdecoratorLifecycle
GuardrailPolicyisIDisposableand releases rules holding ONNX sessions or HTTP clientsHashChainLedgertakes an in-memory cap and holds one file handle open instead ofreopening per entry; truncation limits documented
Breaking
RuleConfigurationmoved toAgentGuard.Core.ConfigurationAgentGuard.Hostingno longer referencesAgentGuard.Azure/AgentGuard.RemotePii.Rules outside the core engine plug in via the new
IGuardrailRuleFactory; registerservices.AddSingleton<IGuardrailRuleFactory, AzurePiiRuleFactory>(). DropsAzure.AI.ContentSafety,Azure.Identity,TasmanianDevil.AzureandTasmanianDevil.Remotefrom every hosting consumerPiiRuleOptionsownsRedactOutputinstead of the engineDE_ID_CARD/DE_PASSPORT→DE_ID_DOCUMENT, newnlpack