Commit Graph

5 Commits

Author SHA1 Message Date
Anisha Agarwal 0af20a790c Search Subagent support (#2736)
* search subagent tool added

* cleaning up description of search subagent

* additional changes

* update linting issue

* Exit early on search subagent call

* search subagent tool added

* cleaning up description of search subagent

* additional changes

* update linting issue

* Add fixes for subagent

* describe read file tool in its prompt

* fixing copilot cli issues?

* resolve merge conflicts with main

* explicit any pt 2

* update explicit any to unknown

* demo

* updating prompt to include description

* fixing newline bug

* added correct input params for subagent

* update to add final turn warning injection

* code snippet hydration

* adding details to toolMetadata (untested)

* commented out until testing

* remove exit from main PR

* actuallly terminate loop

* end loop after round is added and run

* remove early exit handling

* add experiment flags

* update code to check for exp + auto mode

* update to only use gpt 5 mini for search subagent

* Update src/extension/prompts/node/agent/searchSubagentPrompt.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update docs/tools.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update package.nls.json

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* update tests to handle new prompts

* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* deleting vestigial file

* fix merge conflict

* update to default to using the main agent model as fallback for subagent, rather than hardcoding gpt4.1

* remove extra whitespace

* remove runSubagent from package.json and update prompt for final snippet clarity

* reset default to false

* add clearer injection prompt

* updating to work with main branch changes

* rewrite search subagent to have its own tool calling loop file + ensure no nested loops with codebase

* remove copilot-added search subagent doc

* update toolResultMessage

* handle exp configuration for search subagent in the right place

* use searchSubagentLoop instead of subagentLoop

* update to be in line with main

* remove CCA agents

* Some minor cleanup

* Update import for ChatToolInvocationPart in SearchSubagentTool

* Replace inSubAgent flag with subAgentInvocationId for tool calling loop checks

---------

Co-authored-by: Anisha Agarwal <anishaagarwal@Anishas-MacBook-Pro.local>
Co-authored-by: Vritant Bhardwaj <vrtoku@gmail.com>
Co-authored-by: root <root@perflens-vm7.e4rbrboag42enkzhvodo1frcqh.xx.internal.cloudapp.net>
Co-authored-by: Anisha Agarwal <anishaagarwal@MacBookPro.hsd1.ma.comcast.net>
Co-authored-by: Zhichao Li <zhichli@microsoft.com>
Co-authored-by: vritant24 <vritoku@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: bhavyaus <bhavyau@microsoft.com>
2026-01-15 05:59:57 +00:00
SteVen Batten 9d5b718f7b small fixes for no auth (#1097) 2025-09-23 15:16:54 +00:00
Rob Lourens 53e21e77bb Try a lower maxResults for semantic chunks (#210) 2025-07-10 23:57:24 +00:00
Rob Lourens b5041c2eac Reduce semantic_search maxChunks 2025-06-28 12:20:58 -07:00
kieferrm 333d9a4053 Hello Copilot
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2025-06-27 11:35:20 +02:00