* adding starting changes for tool selection from default toolset
* update code to have all current default tools in groups (or ungrouped if default) and set exp to true
* update max tools
* small changes
* separate logic for built in tool grouping to new file
* remove unnecessary telemetry sending
* adding intermediate changes
* updated explicit tool set
* only perform grouping for gpt 4.1 and 5
* updated the hard tool limit back to 128, added logic
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* add tool grouping enum
* updating tool groupings
* remove computeAll reliance on IChatEndpoint
* removing non built in tools from enum?:
* creating helper function to do built in toolset check
* set experimental flag to false & remove endpoint reliance in built in tools (since we're doing it for all models)
* add edit_files to core
* debugging changes
* Apply suggestion from @connor4312
Co-authored-by: Connor Peet <connor@peet.io>
* Apply suggestion from @connor4312
Co-authored-by: Connor Peet <connor@peet.io>
* Apply suggestion from @connor4312
Co-authored-by: Connor Peet <connor@peet.io>
* update to remove chat endpoint + clean up categorization code
* removing think tool
* updating to use assertnever
---------
Co-authored-by: Anisha Agarwal <anishaagarwal@Anishas-MacBook-Pro.local>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Connor Peet <connor@peet.io>
Closes https://github.com/microsoft/vscode/issues/271989
We didn't actually parallize calls in general because we need to include
prompt sizing information through our APIs, and so need to render each
'flexGrow' group sequentially. However, we know that MCP's don't consume
any of this information today, so we can do this calls in parallel safely.
Implementation isn't the prettiest but it does the job.
* Update model response guidelines in agent prompts
- Modified the response instructions in `agentPrompt.tsx` to clarify when to state the model name.
- Enhanced the `CopilotIdentityRules` class in `copilotIdentity.tsx` to include model name responses.
| File | Changes |
|----------------------------------|-------------------------------------------------------------------------|
| `agentPrompt.tsx` | Updated guidance on stating model name when asked. |
| `copilotIdentity.tsx` | Added model name response instructions in identity rules. |
* Update guidance on model name disclosure in agent prompts
- Revised instruction to clarify that the model name should not be volunteered unless explicitly asked by the user.
| File | Changes Made |
|----------------------------------------|--------------------------------------------------|
| src/extension/prompts/node/agent/agentPrompt.tsx | Updated reminder text regarding model name disclosure. |
* Update agent prompts to include model disclosure
- Added instruction to state the model being used when asked about it in multiple agent prompt snapshots.
| File Path | Changes Made |
|---------------------------------------------------------------------------|------------------------------------------------------------------------------|
| src/extension/prompts/node/agent/test/__snapshots__/agentPrompt.spec.tsx.snap | Updated responses to include model disclosure when asked about the model. |
* Add SQLite cache file for simulation layer
This commit introduces a new SQLite cache file for the simulation layer to enhance data retrieval efficiency.
| File | Changes |
|----------------------------------------------------------------------|-------------------------------|
| test/simulation/cache/layers/2171978e-88a1-4218-afac-dc1fe7ecc095.sqlite | New file created with versioning info |
* Add SQLite cache file for simulation layer
This commit introduces a new SQLite cache file to enhance the simulation layer's performance.
| File | Changes |
|----------------------------------------------------------------------|------------------------|
| test/simulation/cache/layers/94afd615-5805-4860-a1ba-3f9ebbf7b9a4.sqlite | New file added 📁 |
* remove bad cache layers
* npm run simulate
* update baseline
---------
Co-authored-by: João Moreno <joaomoreno@users.noreply.github.com>