[model-gateway] add WorkerService abstraction for worker business logic (#15580)

This commit is contained in:
Simo Lin
2025-12-21 14:35:35 -08:00
committed by GitHub
parent 254de6d2fd
commit 1354063a48
5 changed files with 421 additions and 212 deletions
+2
View File
@@ -22,6 +22,7 @@ pub mod worker;
pub mod worker_builder;
pub mod worker_manager;
pub mod worker_registry;
pub mod worker_service;
pub use circuit_breaker::{
CircuitBreaker, CircuitBreakerConfig, CircuitBreakerStats, CircuitState,
@@ -38,3 +39,4 @@ pub use worker::{
pub use worker_builder::{BasicWorkerBuilder, DPAwareWorkerBuilder};
pub use worker_manager::{LoadMonitor, WorkerManager};
pub use worker_registry::{WorkerId, WorkerRegistry, WorkerRegistryStats};
pub use worker_service::{WorkerService, WorkerServiceError};