Categories
Tags
Agent Mode Astro Auto Accept Automation Camping changelog Chat clear CLI Code Actions Codex compact Component Design Configuration context Context Copilot copy Ctrl+S CUDA Cursor Day Trip delegate diff Dynamic Routing Editor Error Error Fix Error Handling experimental Gemini git GitHub GitHub Copilot Google Hiking Hot Springs init Installation Iwate Prefecture Kobe Linux Localization Mac Mention Meteor Shower Mode Switching model Nara Prefecture NES NoAdapterInstalled Node.js nvm OpenAI params plan PowerShell Prompt props Public Key Authentication Python Redirect Reference Rename research rewind SEO Settings share Shell Execution Shift+Tab Shortcut SSH SSH config ssh-copy-id Stargazing Static Site streamer-mode Student undo Update usage Visual Studio VS Code VS2026 Windows WSL
119 words
1 minutes
How to Fix Copilot Agent Mode Stopping Mid-Task
The Problem
You asked Copilot Agent Mode to handle a complex task, but it stopped mid-way with a “maximum requests reached” message.
The task was almost done, and having to click “Continue” every time is frustrating.
The Solution
The chat.agent.maxRequests setting lets you change the maximum number of requests Agent Mode can make per session.
How to Configure
- Open Settings with
Ctrl + , - Search for
chat agent maxRequests - Change the number in “Chat > Agent: Max Requests”
Example settings.json
{
"chat.agent.maxRequests": 50
}The default is 25. For complex tasks, increasing it to 50–100 helps Agent Mode complete without interruption.
NOTESetting the limit too high may result in unintended large-scale changes. Start with 50 and adjust as needed.
Summary
Increase chat.agent.maxRequests to let Agent Mode work through complex tasks without stopping prematurely.
How to Fix Copilot Agent Mode Stopping Mid-Task
https://naonao-na.com/en/posts/vscode-copilot-setting-agent-max-requests/
