Commit Graph

12 Commits

Author SHA1 Message Date
Bhavya U 6b0c41bc3c Remove Copilot Memory (CAPI) feature (#315813)
Strip Copilot Memory (CAPI) feature entirely

Removes the CAPI-backed Copilot Memory that synced repository-scoped facts
to GitHub. The local file-based MemoryTool with user/session/repo scopes
remains as the sole memory mechanism.

- Delete AgentMemoryService and its test.
- Remove the github.copilot.chat.copilotMemory.enabled setting and its NLS string.
- Remove ConfigKey.CopilotMemoryEnabled.
- Strip all CAPI gating in memoryTool.tsx, memoryContextPrompt.tsx, tools.ts.
- Drop _dispatchRepoCAPI / _repoCreate / _sendRepoTelemetry.
- /memories/repo/ now always routes to local storage.
- Update memoryTool.spec.tsx: remove mock CAPI services and CAPI-only tests.
- Update simulationExtHostToolsService.ts for the new ToolsContribution arity.
2026-05-11 19:57:10 +00:00
Matt Bierner 371c4a0a73 Use root eslint for copilot 2026-04-28 15:20:59 -07:00
Matt Bierner 1a54933643 Revert "Use main eslint config for copilot extension too" 2026-04-23 15:17:22 -07:00
Matt Bierner ad6844f64d Use main eslint config for copilot extension too
- Moves copilot eslint config into top level eslint config
- Adopts some standard rules
- Suppress a few new shared rules
2026-04-20 22:46:02 -07:00
Bhavya U f3e6859c16 Add support for local repository memory and update telemetry events (#3841)
* Add support for local repository memory and update telemetry events

* Update memory command labels for clarity in the UI

* update test

* Add repository memory section to snapshot tests for clarity
2026-02-19 05:51:04 +00:00
Rob Lourens 2307f0294f Custom todo tool description for gpt models (#2274)
Fix #269031
2025-11-30 22:50:43 +00:00
Bryan Chen 764f0d6a63 tool can give alternative definition by model (#1400)
* tool can give alternative definition by model

* Pass IChatEndpoint in getEnabledTools for calling tools' alternativeDefinition

* Introduce a ICopilotToolExtension to support override existing built-in tools and provide alternative definition.

* Fix errors

* add gpt-5-codex

* remove gpt-5
2025-11-07 22:42:45 +00:00
Bhavya U 8208f3bd8a tools: add "Open Memory Folder" command (#1839) 2025-11-06 21:12:53 +00:00
Connor Peet f841f8d820 tools: simplify virtual tool enablement (#396)
Make the virtual tool setting configure the threshold value, and unify
EXP behind it.
2025-07-30 00:42:51 +00:00
Connor Peet d04f262586 tools: trigger tool grouping on 128 limit automatically (#385)
Triggers tool grouping when users hit the 128 limit. Reworks an EXP
setting which allows the limit to be configurable (lowered or raised
arbitrarily high.) Users of the setting keep the existing 64 tool limit.
Will have a corresponding VS Code PR.
2025-07-28 22:30:10 +00:00
Connor Peet 2732a9f48f tools: initial implementation of virtual tools (#310)
This behavior is enabled behind a setting `"github.copilot.chat.virtualTools.enabled": true,`

When enabled, if the tool count is over a threshold value, we'll group
tools into 'virtual tools'. The virtual tools act as directories that
only activate and show the tools they contain when the model calls them.
Grouping is done for an entire extension or MCP server if it presents
a small number of MCP tools, or for a categorization of tools when there
are a large number. Built-in tools are never grouped.

Expanded tool groups are automatically re-collapsed, based on LRU, if
the too limit is exceeded, or optimistically to a lower threshold during
summarization when there's going to be a cache miss anyway.

Todo:
- Better validation of LM categorization (ensure no missing tools)
- General Telemetry
- And logic to ensure that the tool limit can never be hit (heirarchal grouping)
- Explore embeddings as better pre-selection of expanded virtual tools
- Explore subagents as an alternative to expansion
- Success telemetry based on mirrored requests
2025-07-19 01:56:21 +00: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