Skip to content

Commit d869a2d

Browse files
chore: remove unused provider pool exports
1 parent 58eec64 commit d869a2d

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎apps/server/src/orchestration-v2/ProviderPoolFailover.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ export type UsageLimitResolution =
3333
/** Fail the run as today. For a pooled run `resetAt` is the pool's earliest reset. */
3434
| { readonly type: "finalize"; readonly resetAt: IsoDateTime | null };
3535

36-
export const DEFAULT_LIMIT_COOLDOWN_MS = 15 * 60_000;
36+
const DEFAULT_LIMIT_COOLDOWN_MS = 15 * 60_000;
3737
// Per-minute burst limits recover quickly and should not park a healthy account.
38-
export const BURST_LIMIT_COOLDOWN_MS = 60_000;
38+
const BURST_LIMIT_COOLDOWN_MS = 60_000;
3939

4040
export function limitCooldownUntilMs(
4141
failure: OrchestrationV2ProviderFailure,

‎packages/contracts/src/providerPool.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export const ServerProviderPool = Schema.Union([
3838
]);
3939
export type ServerProviderPool = typeof ServerProviderPool.Type;
4040

41-
export const PROVIDER_POOL_ID_PREFIX = "pool_";
41+
const PROVIDER_POOL_ID_PREFIX = "pool_";
4242

4343
export const providerPoolInstanceId = (driver: ProviderDriverKind): ProviderInstanceId =>
4444
ProviderInstanceId.make(`${PROVIDER_POOL_ID_PREFIX}${driver}`);
@@ -51,7 +51,7 @@ export const isReservedProviderInstanceId = (instanceId: string): boolean =>
5151
* instances are different agents, and the other drivers' usage-limit and
5252
* handoff behavior has not been checked.
5353
*/
54-
export const POOLABLE_DRIVERS: ReadonlySet<ProviderDriverKind> = new Set([
54+
const POOLABLE_DRIVERS: ReadonlySet<ProviderDriverKind> = new Set([
5555
ProviderDriverKind.make("claudeAgent"),
5656
ProviderDriverKind.make("codex"),
5757
]);

0 commit comments

Comments
 (0)