Skip to content

Commit 775c083

Browse files
committed
update to staging
1 parent 2d0b070 commit 775c083

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/gemini/fdcExperience.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ describe("fdcExperience", () => {
8888
}
8989
};
9090

91-
nock("https://autopush-firebasedataconnect.sandbox.googleapis.com")
91+
nock("https://staging-firebasedataconnect.sandbox.googleapis.com")
9292
.post(`/v1/projects/${project}/locations/${location}/services/-:generateSchema`, {
9393
name: `projects/${project}/locations/${location}/services/-`,
9494
prompt
@@ -124,7 +124,7 @@ describe("fdcExperience", () => {
124124
statusCalledWith = status;
125125
};
126126

127-
nock("https://autopush-firebasedataconnect.sandbox.googleapis.com")
127+
nock("https://staging-firebasedataconnect.sandbox.googleapis.com")
128128
.post(`/v1/projects/${project}/locations/${location}/services/-:generateSchema`, {
129129
name: `projects/${project}/locations/${location}/services/-`,
130130
prompt
@@ -152,7 +152,7 @@ describe("fdcExperience", () => {
152152
}
153153
};
154154

155-
nock("https://autopush-firebasedataconnect.sandbox.googleapis.com")
155+
nock("https://staging-firebasedataconnect.sandbox.googleapis.com")
156156
.post(`/v1/projects/my-project/locations/us-central1/services/my-service:generateQuery`, {
157157
name: `projects/my-project/locations/us-central1/services/my-service`,
158158
prompt
@@ -178,7 +178,7 @@ describe("fdcExperience", () => {
178178
}
179179
};
180180

181-
nock("https://autopush-firebasedataconnect.sandbox.googleapis.com")
181+
nock("https://staging-firebasedataconnect.sandbox.googleapis.com")
182182
.post(`/v1/projects/my-project/locations/us-central1/services/-:generateQuery`, {
183183
name: `projects/my-project/locations/us-central1/services/-`,
184184
prompt,

src/gemini/fdcExperience.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import {
66
} from "./types";
77

88
// Use autopush environment as requested
9-
const AUTOPUSH_ORIGIN = "https://autopush-firebasedataconnect.sandbox.googleapis.com";
10-
const apiClient = new Client({ urlPrefix: AUTOPUSH_ORIGIN, auth: true });
9+
const STAGING_ORIGIN = "https://staging-firebasedataconnect.sandbox.googleapis.com";
10+
const apiClient = new Client({ urlPrefix: STAGING_ORIGIN, auth: true });
1111

1212
export const PROMPT_GENERATE_CONNECTOR =
1313
"Create 4 operations for an app using the instance schema with proper authentication.";

0 commit comments

Comments
 (0)