mod actor;
mod discovery;
mod host;
mod identity;
mod load;
mod membership_watch;
mod namespace_source;
mod pool_registry;
mod publication;
mod resolution;
mod serving_load;
mod topology;
pub mod wan;
pub use host::{
DEFAULT_EXPECTED_UNIQUE_BLOCKS, PoolRelay, PoolRelayConfig, PoolRelayError, PoolRelayHealth,
PoolRelayProducerConfig, PoolRelaySources,
};
#[cfg(feature = "ckf-diagnostics")]
pub use host::{
PoolRelayActorStats, PoolRelayAggregationStats, PoolRelayCacheDomainStats,
PoolRelayDiagnosticSnapshot, PoolRelayEndpointStats, PoolRelayIdentityStats,
PoolRelayMemberStats, PoolRelayMemoryStats, PoolRelayPublicationStats, PoolRelayRecoveryStats,
PoolRelayStats,
};
pub use identity::{
CanonicalModelId, CanonicalModelIdError, CanonicalModelRegistration, KvQueryHashFormat,
KvQuerySemantics, KvQuerySemanticsError, ModelAlias, ModelAliasError, ModelTarget,
PoolCatalogSnapshot, PoolDescriptor, PoolIdentitySources, PoolRelayIdentity, WorkerRole,
};
pub use load::PoolLoadSnapshot;
pub use namespace_source::discovery::PoolRelayDiscoveryConfig;
pub use namespace_source::{PoolRelaySourcesStatus, file::PoolRelaySourcesFile};
pub use publication::{
PoolPublicationStream, PublicationError, PublicationErrorKind, PublicationFrame,
PublicationFrameKind, RelayPublicationSource,
};
pub use topology::{
AdapterReadiness, TopologyEntry, TopologyMember, TopologyReadinessState, TopologySnapshot,
};
pub(crate) fn serving_load_publishing_enabled() -> bool {
dynamo_runtime::config::env_is_truthy(
dynamo_runtime::config::environment_names::llm::DYN_SERVING_LOAD_PUBLISH,
)
}