Commit Graph

955 Commits

Author SHA1 Message Date
Johannes Rieken
ea03089bee fixup ChatRequestNotebookData (#219331)
re https://github.com/microsoft/vscode/issues/218363
2024-07-01 10:29:54 +02:00
Johannes Rieken
dd7d9376fb remove dead types from old proposal versions (#219120) 2024-06-28 17:03:26 +02:00
Johannes Rieken
ecf818849d add location specific data along when making chat request (#219114)
with this PR the implicit variables tricks aren't needed anymore
2024-06-28 16:27:08 +02:00
Tyler James Leonhardt
6e345d4606 Remove getSessions API in favor of getAccounts (#218238)
Azure folks (the only ones using this proposed API) have not depended on getSessions yet so it's safe to delete.
2024-06-26 07:34:31 +02:00
Rob Lourens
125f3581c3 Unleash the chat API (#216850)
* Unleash the chat API

* Fix

* Fix
2024-06-21 16:16:04 -07:00
Rob Lourens
ee173b0e65 Tools API tweaks, merge into lmTools (#216750)
* Tools API tweaks, merge into lmTools

* Rename more id -> name

* Fix

* Add lmTools API version
2024-06-20 18:54:00 -07:00
Rob Lourens
88b4dc75bd Chat Tools API (#213273)
* Implement a chat skills API

* Move around

* Rename to 'tools' and make variables part of it

* Updates

* value

* Differentiate 'tool invocation' and 'reference'

* Just one interface, ChatReference

* dts updates

* Rename "skills" to "tools"

* Fix up

* Add static registration of tools

* string

* Updates

* Fix

* Rename 'chat' in API

* Rename "chatTool"
2024-06-18 16:38:20 -07:00
Tyler James Leonhardt
5d7157cb03 Implement getAccounts API over getSessions (#215874)
And plumb that through to the Microsoft auth provider
2024-06-16 18:12:37 -07:00
Connor Peet
e2bf3453f5 debug: correlate debug sessions to testing, delegate restarts (#214537)
Implements #214486
2024-06-07 06:15:59 +02:00
Johannes Rieken
ab9a1286f2 sketch up lm-extention that allows for function calling (#214334) 2024-06-05 16:32:08 +02:00
Joyce Er
438ea79aa1 refactor: move Add Context... actions to core (#214167) 2024-06-03 20:36:49 +02:00
Rob Lourens
b9d35d9145 Don't register chat participants in stable (#213244)
* Don't register chat participants in stable
And fork some Additions APIs into chatParticipantPrivate

* Remove stale proposals

* Move more API out of Additions
2024-05-22 21:07:40 +02:00
Connor Peet
5250661ed9 Merge pull request #213190 from microsoft/connor4312/testing-followup-actions
testing: exploratory UI for followup actions
2024-05-21 16:40:54 -07:00
Connor Peet
e1dfc911ce testing: exploratory UI for followup actions
This adds an API that extensions can use to contribute 'followup'
actions around test messages. Here just a dummy hello world using
copilot, but extensions could have any action here, such as actions to
update snapshots if a test failed:

![](https://memes.peet.io/img/24-05-c1f3e073-a2da-4f16-a033-c8f7e5cd4864.png)

Implemented using a simple provider API.
2024-05-21 16:09:08 -07:00
Aaron Munger
5328a3f143 Save on EH diagnostics (#213171)
* added trace logs

* another trace message

* fix test ctors
2024-05-21 15:23:34 -07:00
Joyce Er
f2f4adc806 feat: allow extensions to attach chat context (#213172)
* feat: allow extensions to attach chat context

* fix: allow attaching different ranges from same file

* fix: restore accepting files from picker
2024-05-21 12:34:09 -07:00
Joyce Er
5d6671dacb feat: support static chat variables in Attach Context picker (#212993) 2024-05-18 01:06:22 +02:00
Johannes Rieken
88f27ceb0c disable vscode.lm-API for stable (#212890)
https://github.com/microsoft/vscode/issues/206265
2024-05-16 16:18:23 +02:00
Rob Lourens
14ebfdc345 Add variable 'isSlow' (#212657)
* Add variable 'isSlow'
Since 'codebase' doesn't really work as a reference, I'm only making accessible to our agents for now

* fix

* Check for slow variables in parser as well
2024-05-15 17:40:21 -07:00
Rob Lourens
afcb0ebb4e Finalize chatParticipant and languageModels API (#212829)
* Finalize chatParticipants proposal

* Finalize languageModels API
2024-05-15 14:21:47 -07:00
Rob Lourens
6643db734a Add chat variable id and rename to 'references' (#212480)
* Add chat variable id

* Rename 'variables' to 'references'

* Replace other 'variables' usages

* Fix tests
2024-05-13 14:30:14 -07:00
Rob Lourens
3aaf39db08 Keep Copilot Chat compatibility for one more build (#212460) 2024-05-10 20:11:48 +02:00
Rob Lourens
ef54c4eb7b Get rid of bad Copilot Chat warning, add a proper API version (#212453) 2024-05-10 10:24:14 -07:00
Rob Lourens
d1555a7b21 Get rid of "GitHub Copilot" header and add a participant "fullName" 2024-05-09 16:05:08 -07:00
Joyce Er
9cb0df2a02 feat: support concurrent chat progress messages (#212300)
* feat: support concurrent chat progress messages
2024-05-09 00:50:57 +02:00
Connor Peet
269aa6c29b Merge pull request #212212 from microsoft/connor4312/212196-1
testing: initial attributable test coverage API
2024-05-08 09:02:30 -07:00
Connor Peet
6e24e5f2bd fix compile error 2024-05-08 08:10:08 -07:00
Johannes
69a80f9f1d use a composted, semi-random identifier for language model and leave metadata#id for model selection only 2024-05-08 16:48:21 +02:00
Johannes
6990923699 spell-out selector type, allow to select/filter on specific extensions 2024-05-08 12:04:21 +02:00
Johannes
0d55bb645f add LanguageModelChat as explict object and add a select-function as the only way of getting to them 2024-05-08 11:44:47 +02:00
Rob Lourens
60468916e4 Implement chat confirmations (#212140)
* Add API proposal for chat confirmations

* Update

* Fix up chatParticipantAdditions check

* And copy warning content

* Redundant

* Implement chat confirmation widget

* Implement sending chat confirmation data in the request

* Styling

* Fix button titles

* Fix build
2024-05-07 18:14:33 -07:00
Connor Peet
6e009e0537 debug: finalize debugFocus API (#212190)
Closes #63943
2024-05-07 19:30:08 +02:00
Connor Peet
3455bd54fe testing: finalize TestRunRequest.preserveFocus API (#212177)
Closes #209491
2024-05-07 09:45:43 -07:00
Johannes Rieken
f8d3bd3909 remove old chat message types (#212148) 2024-05-07 10:31:23 +02:00
Johannes Rieken
252c964087 Merge pull request #212082 from microsoft/joh/lmAPi
Language model API tweaks
2024-05-06 16:58:40 +02:00
Johannes Rieken
6874fc7394 Joh/ministerial-swan (#212096)
* first cut of embeddings API

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

* add event

* fix tests
2024-05-06 16:50:13 +02:00
Johannes
1ca4972d82 make token and options optional when calling sendChatRequest 2024-05-06 11:21:00 +02:00
Johannes
22efbdf96c * return LanguageModelChatMessageRole and the simple chat message LanguageModelChatMessage2 because all types became same, same
* deprecate the other types and prepare deletion
* move System-role into its own proposal because of API and RAI concerns
* more API notes
2024-05-06 11:00:17 +02:00
Rob Lourens
aed4230a89 Fix chat agent hover for dynamic agents (#211990)
* Fix chat agent hover for dynamic agents

* Fix tests
2024-05-03 15:51:42 -07:00
Johannes Rieken
3982027f02 debt - remove old inline chat API (#211902) 2024-05-03 08:20:00 +02:00
Joyce Er
9a1b9a7498 feat: support warnings in chat response stream (#211793)
* feat: support warnings in chat response stream

* Fix leak, rename CSS
2024-05-01 19:44:53 +02:00
Benjamin Pasero
c1f470ad5a voice - allow for text to speech (#211006) 2024-04-26 09:33:23 +02:00
Ulugbek Abdullaev
abc8279c11 rename suggestions: add trigger-kind to proposed API 2024-04-22 20:29:53 +02:00
Connor Peet
5ae5a741bd testing: implement testPreserveFocus API (#210796)
* testing: implement testPreserveFocus API

* fix tests
2024-04-21 07:44:00 +02:00
Connor Peet
f09f068bc5 debug: update debugFocus class names (#210788) 2024-04-19 23:03:55 +02:00
Aiday Marlen Kyzy
b8eba5da20 Adding the possibility to enrich hovers with additional data (#210472)
Adding the possibility to enrich hovers with additional data
2024-04-19 19:17:21 +02:00
Connor Peet
97df4dad38 api: finalize windowActivity (#210491)
Closes #181569
2024-04-16 11:03:14 -07:00
Johannes Rieken
e700ece8e3 Joh/languageModelInformation (#210490)
* add `LanguageModelInformation` interface

* tweaks to the language models metadata API

* update docs

* 💄

* add removal comments
2024-04-16 19:22:06 +02:00
Rob Lourens
50a6f4f200 Delete deprecated chat API (#210199)
* Add Chat content 'vulnerabilities' to chat response stream

* Remove 'report' chat progress API and more cleanup

* Remove ChatProgress entirely

* Get participant detection into the new stream as well
2024-04-11 18:53:15 -07:00
Rob Lourens
ea3d0c410f Clean up InteractiveSessionProvider stub
now that vscode-copilot has adopted it
2024-04-09 18:49:35 -07:00