Compare commits

...

14 Commits

Author SHA1 Message Date
Sung-Hyun Kang (from Dev Box)
497d82a88c Merge remote-tracking branch 'origin/master' into copilot_publicpreview 2023-11-10 18:43:55 -06:00
Sung-Hyun Kang (from Dev Box)
da09ba671c Updated the endpoint 2023-11-10 18:41:40 -06:00
Sung-Hyun Kang (from Dev Box)
6e1b104b72 don't call ARM when connectionstring login 2023-11-10 15:55:28 -06:00
Sung-Hyun Kang (from Dev Box)
5433d61bd8 fix formatting 2023-11-10 15:31:53 -06:00
Sung-Hyun Kang (from Dev Box)
feba77e2bf fix formatting 2023-11-10 15:27:33 -06:00
Sung-Hyun Kang (from Dev Box)
22ce69d20c fix formatting 2023-11-10 15:23:54 -06:00
Sung-Hyun Kang (from Dev Box)
d862b929ec fix formatting 2023-11-10 15:18:51 -06:00
Sung-Hyun Kang (from Dev Box)
e626f5218d increase test timeout 2023-11-10 15:15:28 -06:00
Sung-Hyun Kang (from Dev Box)
58aff4f07b add timeout for ARM calls 2023-11-10 15:04:27 -06:00
Sung-Hyun Kang (from Dev Box)
e406bf8190 Update branding and AFEC 2023-11-10 12:44:47 -06:00
Sung-Hyun Kang (from Dev Box)
45bd16e17f Update branding and AFEC 2023-11-10 11:47:11 -06:00
Sung-Hyun Kang (from Dev Box)
7d557df4e0 P1 bugs for copilot 2023-11-09 20:43:43 -06:00
Sung-Hyun Kang (from Dev Box)
b4d6ad172b P1 bugs for copilot 2023-11-09 20:38:14 -06:00
Sung-Hyun Kang (from Dev Box)
a12e8b050f P1 bugs for copilot 2023-11-09 20:36:26 -06:00
5 changed files with 6 additions and 6 deletions

View File

@@ -70,7 +70,7 @@ export const WelcomeModal = ({ visible }: { visible: boolean }): JSX.Element =>
<Text>
Ask Copilot to generate a query by describing the query in your words.
<br />
<Link target="_blank" href="https://aka.ms/CopilotInAzureCDBDocs">
<Link target="_blank" href="https://aka.ms/MicrosoftCopilotForAzureInCDBHowTo">
Learn more
</Link>
</Text>

View File

@@ -111,7 +111,7 @@ exports[`Query Copilot Welcome Modal snapshot test should render when isOpen is
Ask Copilot to generate a query by describing the query in your words.
<br />
<StyledLinkBase
href="https://aka.ms/CopilotInAzureCDBDocs"
href="https://aka.ms/MicrosoftCopilotForAzureInCDBHowTo"
target="_blank"
>
Learn more

View File

@@ -201,7 +201,7 @@ export const QueryCopilotPromptbar: React.FC<QueryCopilotPromptProps> = ({
const serverInfo = useQueryCopilot.getState().notebookServerInfo;
const queryUri = userContext.features.disableCopilotPhoenixGateaway
? createUri("https://copilotorchestrater.azurewebsites.net/", "generateSQLQuery")
: createUri(serverInfo.notebookServerEndpoint, "generateSQLQuery");
: createUri(serverInfo.notebookServerEndpoint, "public/generateSQLQuery");
const response = await fetch(queryUri, {
method: "POST",
headers: {

View File

@@ -48,7 +48,7 @@ describe("Query Copilot Client", () => {
const feedbackUri = userContext.features.disableCopilotPhoenixGateaway
? createUri("https://copilotorchestrater.azurewebsites.net/", "feedback")
: createUri(useQueryCopilot.getState().notebookServerInfo.notebookServerEndpoint, "feedback");
: createUri(useQueryCopilot.getState().notebookServerInfo.notebookServerEndpoint, "public/feedback");
it("should call fetch with the payload with like", async () => {
const mockFetch = jest.fn().mockResolvedValueOnce({});

View File

@@ -215,7 +215,7 @@ export const SendQueryRequest = async ({
const queryUri = userContext.features.disableCopilotPhoenixGateaway
? createUri("https://copilotorchestrater.azurewebsites.net/", "generateSQLQuery")
: createUri(serverInfo.notebookServerEndpoint, "generateSQLQuery");
: createUri(serverInfo.notebookServerEndpoint, "public/generateSQLQuery");
const payload = {
containerSchema: userContext.features.enableCopilotFullSchema
@@ -298,7 +298,7 @@ export const SubmitFeedback = async ({
const serverInfo = useQueryCopilot.getState().notebookServerInfo;
const feedbackUri = userContext.features.disableCopilotPhoenixGateaway
? createUri("https://copilotorchestrater.azurewebsites.net/", "feedback")
: createUri(serverInfo.notebookServerEndpoint, "feedback");
: createUri(serverInfo.notebookServerEndpoint, "public/feedback");
await fetch(feedbackUri, {
method: "POST",
headers: {