make sure errors are recreated when making LM requests (#216807)

* add integration tests for LanguageModelChat#sendRequest

* make sure errors are recreated when making LM requests

* disable test with a note for later

* fix remote integration tests
This commit is contained in:
Johannes Rieken
2024-06-24 09:50:48 +02:00
committed by GitHub
parent 34107733c7
commit feae5bf5d6
9 changed files with 217 additions and 42 deletions

View File

@@ -7,13 +7,14 @@
"enabledApiProposals": [
"activeComment",
"authSession",
"defaultChatParticipant",
"chatParticipantPrivate",
"chatProvider",
"chatVariableResolver",
"contribViewsRemote",
"contribStatusBarItems",
"contribViewsRemote",
"createFileSystemWatcher",
"customEditorMove",
"defaultChatParticipant",
"diffCommand",
"documentFiltersExclusive",
"documentPaste",
@@ -27,6 +28,8 @@
"findTextInFiles",
"fsChunks",
"interactive",
"languageStatusText",
"lmTools",
"mappedEditsProvider",
"notebookCellExecutionState",
"notebookDeprecated",
@@ -35,26 +38,24 @@
"notebookMime",
"portsAttributes",
"quickPickSortByLabel",
"languageStatusText",
"resolvers",
"scmActionButton",
"scmSelectedProvider",
"scmTextDocument",
"scmValidation",
"taskPresentationGroup",
"telemetry",
"terminalDataWriteEvent",
"terminalDimensions",
"terminalShellIntegration",
"tunnels",
"testObserver",
"textSearchProvider",
"timeline",
"tokenInformation",
"treeViewActiveItem",
"treeViewReveal",
"workspaceTrust",
"telemetry",
"lmTools"
"tunnels",
"workspaceTrust"
],
"private": true,
"activationEvents": [],
@@ -64,6 +65,11 @@
},
"icon": "media/icon.png",
"contributes": {
"languageModels": [
{
"vendor": "test-lm-vendor"
}
],
"chatParticipants": [
{
"id": "api-test.participant",