-
Notifications
You must be signed in to change notification settings - Fork 1.6k
expose advanced configuration for Anthropic context editing in Messages API #2967
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: main
Are you sure you want to change the base?
Conversation
89fbfc1 to
133375c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR exposes advanced configuration for Anthropic context editing in the Messages API, allowing users to customize context management behavior. The change migrates from experimentation service-based configuration to user-configurable settings.
Changes:
- Moved context editing configuration from experimentation service to user configuration service
- Added new configuration schema in
package.jsonwith detailed property definitions - Defined default values for all context editing parameters
- Temporarily disabled Sonnet model tool search support
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
src/platform/networking/common/anthropic.ts |
Replaced experimentation service with configuration service, added default constants, and temporarily disabled Sonnet tool search |
src/platform/endpoint/node/messagesApi.ts |
Updated function call to use configuration service instead of experimentation service |
src/platform/configuration/common/configurationService.ts |
Added new configuration key for Anthropic context editing with type definitions |
src/extension/byok/vscode-node/anthropicProvider.ts |
Updated function call to use configuration service instead of experimentation service |
package.nls.json |
Added localized description for the new configuration setting |
package.json |
Added comprehensive configuration schema with property definitions and descriptions |
daf51ef to
a937527
Compare
I need a way to run evals with various configs.