Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion shell/agents/Microsoft.Azure.Agent/ChatSession.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ internal ChatSession(HttpClient httpClient)
["getformstate"] = true,
["notificationcopilotbuttonallerror"] = false,
["chitchatprompt"] = true,
["azurepluginstore"] = true,
// TODO: the streaming is slow and not sending chunks, very clumsy for now.
// ["streamresponse"] = true,
// ["azurepluginstore"] = true,
};
}

Expand Down Expand Up @@ -239,6 +239,11 @@ private HttpRequestMessage PrepareForChat(string input)
content = new {
flights = _flights
}
},
new {
contentType = Utils.JsonContentType,
name = "azurecopilot/authorization",
content = $"Bearer {_accessToken.Token}"
}
},
};
Expand Down
2 changes: 1 addition & 1 deletion shell/agents/Microsoft.Azure.Agent/Schema.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ internal class CopilotActivity
{
public const string ConversationStateName = "azurecopilot/conversationstate";
public const string SuggestedResponseName = "azurecopilot/suggesteduserresponses";
public const string CLIHandlerTopic = "CLIHandler";
public const string CLIHandlerTopic = "generate_azure_cli_scripts";

public string Type { get; set; }
public string Id { get; set; }
Expand Down