-
Notifications
You must be signed in to change notification settings - Fork 555
Add configurable default for sampling MaxTokens #923
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: MackinnonBuck <[email protected]>
Co-authored-by: MackinnonBuck <[email protected]>
tests/ModelContextProtocol.Tests/Server/McpServerExtensionsTests.cs
Outdated
Show resolved
Hide resolved
…endRequestAsync Co-authored-by: MackinnonBuck <[email protected]>
|
What is this addressing / what is the impetus for this? |
|
@stephentoub The See also #892 (comment) and #892 (comment) |
c945265
into
mbuck/audit-protocol-types
DefaultSamplingMaxTokensproperty toMcpServerOptionswith a default value of 1000 tokensMcpServer.Methods.csto use the default instead ofint.MaxValueServerOptionspropertyDefaultSamplingMaxTokensis respected bySampleAsyncmethod✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.