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
1 change: 0 additions & 1 deletion src/core/clients/base44-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ async function handleUnauthorized(
*/
export const base44Client = ky.create({
prefixUrl: getBase44ApiUrl(),
timeout: 180_000,
headers: {
"User-Agent": "Base44 CLI",
},
Expand Down
1 change: 1 addition & 0 deletions src/core/resources/agent/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export async function pushAgents(
try {
response = await appClient.put("agent-configs", {
json: agents,
timeout: 60_000,
});
} catch (error) {
throw await ApiError.fromHttpError(error, "syncing agents");
Expand Down
1 change: 1 addition & 0 deletions src/core/resources/entity/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export async function syncEntities(
json: {
entityNameToSchema: schemaSyncPayload,
},
timeout: 60_000,
});
} catch (error) {
throw await ApiError.fromHttpError(error, "syncing entities");
Expand Down
2 changes: 1 addition & 1 deletion src/core/resources/function/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export async function deployFunctions(
try {
response = await appClient.put("backend-functions", {
json: payload,
timeout: 120_000,
timeout: false,
});
} catch (error) {
throw await ApiError.fromHttpError(error, "deploying functions");
Expand Down
1 change: 1 addition & 0 deletions src/core/site/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export async function uploadSite(archivePath: string): Promise<DeployResponse> {
try {
response = await appClient.post("deploy-dist", {
body: formData,
timeout: 180_000,
});
} catch (error) {
throw await ApiError.fromHttpError(error, "deploying site");
Expand Down
2 changes: 2 additions & 0 deletions tests/core/agents.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ describe("pushAgents", () => {
whatsapp_greeting: "Hello!",
},
],
timeout: 60_000,
});
expect(result.created).toEqual(["test_agent"]);
});
Expand Down Expand Up @@ -113,6 +114,7 @@ describe("pushAgents", () => {
tool_configs: [],
},
],
timeout: 60_000,
});
});

Expand Down
Loading