Skip to content

Commit f5ea5ae

Browse files
authored
Merge pull request #1073 from org2AI/chore/market-residue-followup
chore(market): remove leftover marketplace HTTP client and segments
2 parents b712dda + b236ee5 commit f5ea5ae

19 files changed

Lines changed: 9 additions & 396 deletions

src/api/http/client/config.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ export const API_BASE_URLS: Record<import("./types").ApiTarget, string> = {
1313
main: process.env.REACT_APP_LOCALURL || "",
1414
agent:
1515
process.env.REACT_APP_AGENT_URL || process.env.REACT_APP_LOCALURL || "",
16-
hostedService:
17-
process.env.REACT_APP_MARKETPLACE_URL || "http://127.0.0.1:8001",
1816
};
1917

2018
// ============================================
@@ -24,9 +22,6 @@ export const API_BASE_URLS: Record<import("./types").ApiTarget, string> = {
2422
/** Default timeout for most APIs (30 seconds) */
2523
export const DEFAULT_TIMEOUT = 30000;
2624

27-
/** Extended timeout for hosted-service APIs (5 minutes) - needed for LLM extraction operations */
28-
export const HOSTED_SERVICE_TIMEOUT = 300000;
29-
3025
/** Duration for error notifications */
3126
export const NOTIFICATION_DURATION = 10000;
3227

src/api/http/client/hostedServiceApi.ts

Lines changed: 0 additions & 297 deletions
This file was deleted.

src/api/http/client/index.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ export {
2525
API_BASE_URLS,
2626
DEFAULT_TIMEOUT,
2727
ERROR_CONFIG,
28-
HOSTED_SERVICE_TIMEOUT,
2928
NOTIFICATION_DURATION,
3029
SERVER_ERROR_NOTIFICATION_DURATION,
3130
} from "./config";
@@ -60,15 +59,3 @@ export { deleteApi, getApi, patchApi, postApi, putApi } from "./mainApi";
6059
// ============================================
6160

6261
export { deleteAgentApi, getAgentApi, postAgentApi } from "./agentApi";
63-
64-
// ============================================
65-
// HTTP Client Methods — Hosted Service Backend
66-
// ============================================
67-
68-
export {
69-
deleteHostedServiceApi,
70-
getHostedServiceApi,
71-
patchHostedServiceApi,
72-
postHostedServiceApi,
73-
putHostedServiceApi,
74-
} from "./hostedServiceApi";

0 commit comments

Comments
 (0)