| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
Four existing Anthropic tests retain assertions that will fail under the new tool-scoping behavior.
Get a fresh assessment by requesting another Copilot review.
Pull request overviewScopes ChatClientAgent tools per agent run, preventing duplication and leakage through shared clients.
Changes:
| File | Description |
|---|---|
| dotnet/tests/Microsoft.Agents.AI.UnitTests/ChatClient/ChatClientExtensionsTests.cs | Tests shared-client tool isolation. |
| dotnet/src/Microsoft.Agents.AI/ChatClient/ChatClientExtensions.cs | Keeps tools in per-agent chat options. |
Sorry, something went wrong.
There was a problem hiding this comment.
Result: Findings reported
Scope: full PR (1 commit(s)): eb91ee35bbd9
Model: gpt-5.6-sol-fast
The PR removes agent-specific tools from shared FunctionInvokingChatClient state and relies on the existing per-run ChatOptions.Tools merge path instead. Constructor cloning, request-level merging, streaming and non-streaming forwarding, and the new shared-client regression test support that runtime contract. However, four tests in the active Anthropic unit-test project still require tools in AdditionalTools, so the current change deterministically breaks that suite.
Reviewed the supplied pull-request change set across correctness, security/reliability, architecture, and failure behavior.
1 verified finding remained after source verification (1 medium) across 1 file. Details are attached to the affected lines below.
Affected areas: dotnet/src/Microsoft.Agents.AI/ChatClient/ChatClientExtensions.cs
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Motivation & Context
Setting tools both on FICC and passing them on ChatOptions duplicates the tools.
Description & Review Guide
Related Issue
Fixes #
Contribution Checklist