-
Notifications
You must be signed in to change notification settings - Fork 552
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
base: mbuck/audit-protocol-types
Are you sure you want to change the base?
Conversation
Co-authored-by: MackinnonBuck <10456961+MackinnonBuck@users.noreply.github.com>
Co-authored-by: MackinnonBuck <10456961+MackinnonBuck@users.noreply.github.com>
tests/ModelContextProtocol.Tests/Server/McpServerExtensionsTests.cs
Outdated
Show resolved
Hide resolved
…endRequestAsync Co-authored-by: MackinnonBuck <10456961+MackinnonBuck@users.noreply.github.com>
|
What is this addressing / what is the impetus for this? |
|
@stephentoub The See also #892 (comment) and #892 (comment) |
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.