You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Include conversation history context to provideCommands (microsoft#205867)
* Include conversation history context to `provideCommands`
so that chat participant commands can be dynamic to the conversation
microsoft#199908
* Fix tests
* Fix test
constcommands=awaitusedAgent.agent.provideSlashCommands(token);// Refresh the cache here
402
+
constcommands=awaitusedAgent.agent.provideSlashCommands(widget.viewModel.model,getHistoryEntriesFromModel(widget.viewModel.model),token);// Refresh the cache here
402
403
403
404
return<CompletionList>{
404
405
suggestions: commands.map((c,i)=>{
@@ -421,7 +422,8 @@ class AgentCompletions extends Disposable {
0 commit comments