evanp
4fdaa0ca9d
Merge pull request 'Abort in-flight requests when the chat is cancelled' ( #1 ) from code/inference-coop-copilot:fix/abort-on-cancel into main
...
Reviewed-on: #1
2026-11-07 04:07:19 +00:00
inference-bot
9798a41745
fix: abort in-flight chat requests on cancellation
...
Cancellation was only checked at POST time; once the SSE stream was
open the reader loop never looked at the token again, so a stopped
chat kept generating server-side (and billing) until the response
ended.
Wire an AbortController to token.onCancellationRequested, pass its
signal to fetch, and check token.isCancellationRequested at the top
of the reader loop so the connection closes as soon as the user
stops the request. AbortError is swallowed (a stop is not a
failure); real HTTP errors still surface, and the cancellation
listener is disposed in a finally.
2026-11-07 00:40:40 +00:00
evanp
46b8d7e888
0.2.2
2026-11-06 14:02:02 -05:00
evanp
0460305327
fix: publisher in package.json
2026-11-06 14:01:56 -05:00
evanp
c4bb02a7a2
0.2.1
v0.2.1
2026-11-06 13:39:18 -05:00
evanp
f295cb8535
doc: update README
2026-11-06 13:39:14 -05:00
evanp
55e2764480
0.2.0
v0.2.0
2026-11-06 13:33:24 -05:00
evanp
cb23c502aa
doc: CHANGELOG v0.2.0
2026-11-06 13:33:16 -05:00
evanp
4eeace6ce3
feat: store API key in SecretStorage, add set/sign-out commands
2026-11-06 13:26:34 -05:00
evanp
713a1c1d75
fix: cache model list and fire change event to avoid startup race
2026-11-06 13:13:46 -05:00
evanp
76da3ac01e
chore: package version 0.1.0
v0.1.0
2026-11-06 13:05:44 -05:00
evanp
ce03d6d902
feat: tool handling
2026-11-06 12:59:34 -05:00
evanp
a50cb30a3e
fix: ignore .env in .vscodeignore
2026-11-06 12:49:17 -05:00
evanp
5be5970514
chore: license, repository, publisher
2026-11-06 12:47:59 -05:00
evanp
120e480b2d
docs: README and CHANGELOG
2026-11-06 12:43:42 -05:00
evanp
52e29529c3
feat: chat message with debug output
2026-11-06 12:16:54 -05:00
evanp
f6c266c96a
feat: add inferenceCoop.apiKey setting
2026-11-06 11:44:10 -05:00
evanp
f0bad116e0
feat: get real models
2026-11-06 11:42:35 -05:00
evanp
0737a09ac2
feat: stub provider
2026-11-06 11:29:18 -05:00
evanp
812f606286
feat: contributes.languageModelChatProviders in package.json
2026-11-06 11:25:35 -05:00
evanp
3ef70a7d0c
feat: initial version from generator
2026-11-06 11:18:09 -05:00