Remove the feature gate for async user messages (#39452)

## What changed

- Expose `send_user_message_async` to root agents whenever the selected model advertises support for it.
- Retain `send_async_message` as a removed compatibility flag so existing configuration is accepted without controlling tool availability.
- Update the async message test to cover model-driven tool exposure without enabling the legacy flag.

GitOrigin-RevId: 558b427c2b203a057dd7c836e0ec702ae6134346
This commit is contained in:
rka-oai
2026-08-19 08:55:01 +00:00
committed by copyberry
parent 3929c99a97
commit f5a3dc5540
3 changed files with 2 additions and 10 deletions

View File

@@ -262,7 +262,7 @@ pub enum Feature {
MentionsV2,
/// Allow request_user_input in Default collaboration mode.
DefaultModeRequestUserInput,
/// Allow sending a user-visible message without ending the current turn.
/// Removed compatibility flag for model-enabled async user messaging.
SendAsyncMessage,
/// Enable automatic review for approval prompts.
GuardianApproval,
@@ -1355,7 +1355,7 @@ pub const FEATURES: &[FeatureSpec] = &[
FeatureSpec {
id: Feature::SendAsyncMessage,
key: "send_async_message",
stage: Stage::UnderDevelopment,
stage: Stage::Removed,
default_enabled: false,
},
FeatureSpec {