You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Test Plan Item: Remote message orchestration limits #350368
send_remote_message now has the same limit as send_message: 100 messages per hour for each sending session, controlled by chat.agentHost.agentOrchestrationLimits.
Setup
Set "chat.remoteSessions.tools.enabled": true.
In the Agents window, connect to a remote environment (SSH, WSL, Dev Tunnel or Dev Container).
Start a session on the remote and send hi. Open its context menu and choose Copy Link. This is the target.
Start a Copilot session on This Computer. This is the sender.
Try it
Send. In the sender, ask: Use send_remote_message to send "ping" to <target link>. After approval, the target shows a turn marked as sent by another session.
Hit the limit. Ask the sender: Call send_remote_message 101 times, one at a time, sending "ping 1", "ping 2", … to <target link>. Stop at the first error and show it. Use Allow in this Session for the approval. The 101st call should fail with an error that says 100 of 100 messages were sent in the last 60 minutes, gives the seconds to wait, and mentions chat.agentHost.agentOrchestrationLimits.
Other sessions are not affected. Start a second sender session and send one message. It should succeed.
Turn it off. Set "chat.agentHost.agentOrchestrationLimits": "off". The first sender can send again. Set it back to "on" and the limit applies again.
Failures don't count. Send to a link that doesn't exist, or while the remote is disconnected. The call fails, and it shouldn't count toward the 100.
Activity