* fix(providers): centralize Google endpoint classification * fix(providers): tighten Google endpoint fallback parsing * fix(security): harden provider endpoint fallback parsing
27 lines
764 B
TypeScript
27 lines
764 B
TypeScript
// Shared provider-facing HTTP helpers. Keep generic transport utilities here so
|
|
// capability SDKs do not depend on each other.
|
|
|
|
export {
|
|
assertOkOrThrowHttpError,
|
|
fetchWithTimeout,
|
|
fetchWithTimeoutGuarded,
|
|
normalizeBaseUrl,
|
|
postJsonRequest,
|
|
postTranscriptionRequest,
|
|
resolveProviderHttpRequestConfig,
|
|
requireTranscriptionText,
|
|
} from "../media-understanding/shared.js";
|
|
export type {
|
|
ProviderAttributionPolicy,
|
|
ProviderEndpointClass,
|
|
ProviderEndpointResolution,
|
|
ProviderRequestCapability,
|
|
ProviderRequestPolicyInput,
|
|
ProviderRequestPolicyResolution,
|
|
ProviderRequestTransport,
|
|
} from "../agents/provider-attribution.js";
|
|
export {
|
|
resolveProviderEndpoint,
|
|
resolveProviderRequestPolicy,
|
|
} from "../agents/provider-attribution.js";
|