Commit Graph

11 Commits

Author SHA1 Message Date
Matt Bierner
3b7dc50c85 use null 2026-04-29 12:31:51 -07:00
Matt Bierner
d3119d4419 Include the isAvailable check in the codebase timeout 2026-04-29 12:06:32 -07:00
Matt Bierner
83f079c60f Remove more workspace legacy code (#4752)
For https://github.com/microsoft/vscode/issues/292972
2026-03-27 08:59:12 +00:00
Bhavya U
46ab74fb49 feat: formalize deferred vs non-deferred tool status as opt-in on ICopilotTools (#4750)
Move the hardcoded nonDeferredToolNames set from the Anthropic networking
layer to an opt-in `nonDeferred` static property on each tool class.

- Add `nonDeferred?: boolean` to ICopilotToolCtor interface
- Add IToolDeferralService with isNonDeferredTool() for DI-based access
- Mark all 18 frequently-used tools as nonDeferred = true at declaration
- Register IToolDeferralService in prod, unit test, and vscode-node test
- Remove centralized nonDeferredToolNames set from anthropic.ts
- Fix latent bug: old 'ask_questions' entry never matched the real
  'vscode_askQuestions' tool name; now correctly included via
  ToolName.CoreAskQuestions

Fixes microsoft/vscode#303545
2026-03-27 05:40:52 +00:00
Matt Bierner
ae5e654b65 Remove some old code search strategies (#4573)
* Remove some old code search strategies

For https://github.com/microsoft/vscode/issues/292972 and #303593

* Apply suggestion from @Copilot

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-20 21:23:05 +00:00
Rob Lourens
49843b0afe Add timeout to semantic_search (#4567)
* Add timeout to semantic_search

* fix
2026-03-20 19:01:28 +00:00
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