mirror of
https://github.com/whit3rabbit/anyllm-proxy.git
synced 2026-10-12 16:00:35 +00:00
- BatchId, ItemId, BatchJob, BatchItem, RequestCounts, BatchStatus, ExecutionMode - EngineError, QueueError types - JSONL validation migrated from proxy - SQLite schema init with migration from old tables - FileStore for batch file storage - JobQueue trait + SqliteQueue with full job lifecycle - WebhookQueue trait + SqliteWebhookQueue with durable delivery - WebhookDispatcher background loop with HMAC signing - BatchEngine facade: submit, get, list, cancel, get_items - 32 tests passing, clippy clean
19 lines
448 B
Rust
19 lines
448 B
Rust
// crates/batch_engine/src/lib.rs
|
|
//! Batch orchestration engine: job queue, file storage, webhook delivery.
|
|
//!
|
|
//! HTTP-agnostic. The proxy crate wires this into axum routes.
|
|
|
|
pub mod db;
|
|
pub mod engine;
|
|
pub mod error;
|
|
pub mod file_store;
|
|
pub mod job;
|
|
pub mod queue;
|
|
pub mod validation;
|
|
pub mod webhook;
|
|
|
|
pub use engine::BatchEngine;
|
|
pub use error::{EngineError, QueueError};
|
|
pub use job::*;
|
|
pub use validation::{validate_jsonl, ValidatedJsonl};
|