File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
shell/agents/Microsoft.Azure.Agent Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -56,9 +56,9 @@ internal ChatSession(HttpClient httpClient)
5656 [ "getformstate" ] = true ,
5757 [ "notificationcopilotbuttonallerror" ] = false ,
5858 [ "chitchatprompt" ] = true ,
59+ [ "azurepluginstore" ] = true ,
5960 // TODO: the streaming is slow and not sending chunks, very clumsy for now.
6061 // ["streamresponse"] = true,
61- // ["azurepluginstore"] = true,
6262 } ;
6363 }
6464
@@ -239,6 +239,11 @@ private HttpRequestMessage PrepareForChat(string input)
239239 content = new {
240240 flights = _flights
241241 }
242+ } ,
243+ new {
244+ contentType = Utils . JsonContentType ,
245+ name = "azurecopilot/authorization" ,
246+ content = $ "Bearer { _accessToken . Token } "
242247 }
243248 } ,
244249 } ;
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ internal class CopilotActivity
120120{
121121 public const string ConversationStateName = "azurecopilot/conversationstate" ;
122122 public const string SuggestedResponseName = "azurecopilot/suggesteduserresponses" ;
123- public const string CLIHandlerTopic = "CLIHandler " ;
123+ public const string CLIHandlerTopic = "generate_azure_cli_scripts " ;
124124
125125 public string Type { get ; set ; }
126126 public string Id { get ; set ; }
You can’t perform that action at this time.
0 commit comments