Restrict legacy incremental tools to Amazon Bedrock providers (#60040)

## What changed

Gate `incremental_tools_legacy` on the `amazon-bedrock` and
`amazon-bedrock-runtime` provider IDs instead of the OpenAI provider for regular
Responses requests. Responses Lite continues to use `incremental_tools`.

## Testing

Expand the tool catalog update scenarios to cover both Bedrock provider IDs with
legacy incremental tools enabled and disabled. Update the regular Responses tool
removal scenario to use the Bedrock provider.

GitOrigin-RevId: ad0ff31975166a2a7fdcee6fefc272ecc79dd448
This commit is contained in:
Alex Kira
2026-11-07 02:37:50 +00:00
committed by copyberry
parent af9a98b074
commit 762f87d5bb
3 changed files with 23 additions and 8 deletions
+1 -1
View File
@@ -308,7 +308,7 @@ pub enum Feature {
CommandSessionsWorldState,
/// Track top-level tool definitions in world state and emit incremental context updates.
IncrementalTools,
/// Publish incremental tool declarations on regular OpenAI Responses.
/// Publish incremental tool declarations on regular Amazon Bedrock Responses.
IncrementalToolsLegacy,
/// Suppress the model ID announcement in incremental context after a model switch.
SuppressModelChangeAnnouncements,