Commit Graph
18 Commits
Author SHA1 Message Date
Tyler James Leonhardt 7f5eb1b88f Validate token endpoint payload (#2769)
* First Cut of Validating token endpoint payload

To help us get to the bottom of https://github.com/microsoft/vscode/issues/283560

* Include required properties fallback

* fix chat lib tests

* Fix other tests
2026-01-09 20:34:39 +00:00
Ulugbek Abdullaev 04f265596f completionsFetchService: improve API to prep it for ghost-text use (#2693)
* fetcherService: change `FetchOptions#json` to be `unknown` instead of `any` and document it

* completionsFetchService: don't use `any`

* completionsFetchService: less logic within service

try reducing logic such that the service's easier to evolve

* completionsFetchService: refactor: cleanup

* address comments

* fix ci
2026-01-01 21:39:00 +00:00
Christof Marti 0c382b3574 Catch up with IAuthenticationService change (#2605) 2025-12-16 16:34:07 +00:00
Jeff Hunter c5285fa9f8 allow speculative requests to be initiated using chat-lib (#2591) 2025-12-16 15:52:05 +00:00
Tyler James Leonhardt c90db9ae49 Move to new auth API shape (#2595)
This will be more intentional on when one token is needed than the other.
2025-12-15 23:39:33 +00:00
Jeff Hunter f07bda68c2 remove unnecessary service from test (#2488) 2025-12-08 17:12:30 +00:00
Jeff Hunter eb297311f3 Update completions fallback model id (#2370)
* update fallback model id for completions to gpt-41-copilot

* update test URL
2025-12-04 16:39:18 +00:00
Christof Marti 81d78b83a4 Fix chat-lib: Include models lookup (#2366) 2025-12-03 20:32:35 +00:00
Christof Marti 1904e7246e Fix chat-lib: Propagate exp update through config event (#2351) 2025-12-03 11:01:57 +00:00
Christof Marti d839bec268 Add fetcher to telemetry events (#2271) 2025-11-30 19:38:23 +00:00
Christof Marti 1b0c6c2fa6 Fix experiment lookup (#2239) 2025-11-27 10:28:27 +00:00
Christof Marti 84e2946b3a Fix chat-lib (#2163) 2025-11-24 10:30:32 +00:00
Jeff HunterandChristof Marti 4cbd1042c0 Inline completions in @vscode/chat-lib (#2131)
* Include inline completions in @vscode/chat-lib

* Follow type imports, * exports without "as", and jsxImportSource pragmas for dependency extraction

* update @vscode/chat-lib test configuration

* update chat lib extraction with new path and add context setup for lib

* initial stubs for inline completions test

* round trip test for getInlineCompletions

* remove unused path mappings

* fix type import

* send only original event names for chat-lib telemetry

* fix wasm loading in chat-lib

* have locateFile default to the current dir if the expected parent directory cannot be found

* update to use service injection with completions in chat-lib

* update citation and ExP handling for completions in chat-lib

* hook up enhanced telemetry for chat-lib

* add missing tsx package

* update post-install script to work with pre-built and unbuilt versions of chat-lib and add missing completions dependencies

* remove unneeded try/catch block

* correct typo

* generate package-lock from correct npm version

---------

Co-authored-by: Christof Marti <chrmarti@microsoft.com>
2025-11-21 15:47:14 +00:00
Christof MartiandCopilot 497c81944b Add INESProvider.updateTreatmentVariables() (#1932)
* Add INESProvider.updateTreatmentVariables()

* Update src/lib/node/chatLibMain.ts

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

* Dispose

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-11 22:07:33 +00:00
Christof Marti feb8766822 Fix telemetry (#1191) 2025-09-29 21:06:05 +00:00
Christof Marti 044915f2fe Surface ITelemetrySender (#979) 2025-09-09 15:58:21 +00:00
Christof Marti 0be86a82bf Run without actual token (#843) 2025-08-29 21:10:29 +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