Commit Graph

10 Commits

Author SHA1 Message Date
Federico Brancasi c33e376aa0 Allow invoking simulationMain with alternative action input (#4304)
* Allow invoking simulationMain with alternative action input

* Address review comments: rename CLI opts, extract pipeline, fix correctness issues

- Rename CLI options with --train- prefix (--train-input, --train-strategy,
  --train-out, --train-row-offset, --train-worker) and document all options
- Extract runInputPipeline/runInputPipelineParallel to test/pipeline/trainPipeline.ts
- Preserve original row index through parse/replay/prompt pipeline to fix
  sample numbering drift when rows are filtered out
- Fix parseSuggestedEdit: use JSON.parse for escaped text, handle missing delimiter
- Fix line number regex to accept optional space after | (WithoutSpace format)
- Clamp concurrency to >= 1, type samples as ISample[], wrap dispose in try/finally
- Gate verbose logging in loadAndParseInput behind verbose flag
- Use splitLines from existing utility instead of local duplicate

* move nes-datagen to a subcommand

* more code reuse around setting promptStrategy and model config

* Address review: use ResponseFormat, Limiter, assertNever, and raw messages

* minor refactor runPipeline

* finalize

* use POT instead of custom code

* move files from script/ to test/pipeline/

---------

Co-authored-by: ulugbekna <ulugbekna@gmail.com>
2026-03-30 15:44:46 +00:00
Johannes Rieken fcbff5831a InlineChatIntent (#1549)
* remove references to old setting `github.copilot.chat.advanced.inlineChat2`

* play with `InlineChatIntent`

* wip

* move things, better/simpler prompt

* cleanup, renames, stuff

* more wip

* done after tool call

* edit and generate stest for new InlineChatIntent

* use codebook for diagnostics

* inline chat fixing stests

* stest run

* remove old Inline2 tests

* remove slash commands for v2, remove the editCodeIntent path for v2

* 💄

* 💄

* Don't use `diagnosticsTimeout` when with inline chat because the new diagnostics will never be read but slow down the result

* fix compile error

* stest run

* update baseline

* prevent some JSON errors from empty output

* unfresh baseline.json

* use `MockGithubAvailableEmbeddingTypesService` in stests

* back to hamfisted skipping of stests

* send telemetry from inline chat intent

* tweak some stests
2025-10-29 10:44:00 +00:00
Logan Ramos 84b1a58984 Add resolved model (#1517) 2025-10-22 19:24:13 +00:00
Bhavya U beffd08b38 refactor: split agentInstructions by model and add PromptRegistry (#1362)
* refactor: split monolithic agentInstructions and add PromptRegistry

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

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

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

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

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

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

* Update reference

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-17 18:01:50 +00:00
Matt Bierner 0eae9a92d8 Update fetch tool to use metis (#1192)
* Update fetch tool to use metis

https://github.com/microsoft/vscode/issues/268956

* Add service dep for tests to

* Use mock service for tests

* Fix lazy
2025-10-07 16:31:20 +00:00
Rob Lourens 0ca1016c5e Port ensureNoDisposablesAreLeakedInTestSuite to vitest (#937)
and adopt in one test
2025-09-08 04:39:35 +00:00
Christof Marti 3b795b1e58 Extract @vscode/chat-lib (#807)
* Extract chat lib

* Extract chat lib

* Add test

* Get test working

* Simulate response

* Fix type issue

* Package

* Cleanup

* Tuck away workspace service

* Include package.json

* Ensure shim is used

* Include tiktoken files in package

* Update @vscode/copilot-api

* Ignore chat-lib
2025-08-29 14:41:27 +00:00
João Moreno fcb5c020b2 remove dead code (#200) 2025-08-25 15:38:14 +00:00
João Moreno 0562b55dde propagate test run info to caches (#201)
* propagate test run info to caches

* fix tests
2025-07-11 12:59: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