22 lines
922 B
Rust
22 lines
922 B
Rust
//! The whole HTTP API in front of a text-level engine: real axum router, real worker adapter
|
|
//! (`backend_worker`), real HTTP/SSE over loopback, and a scripted in-process engine implementing the
|
|
//! backend contract (`leleka_backend_api::scripted`). No GPU, no model, no child process.
|
|
//!
|
|
//! What the engine says is scripted, so none of this is a statement about any model; it checks that the
|
|
//! adapter and the API above it keep the protocol intact: ordered events, exactly one terminal event, tool
|
|
//! calls and structured output validated, finish reasons, cancellation, and failure completion even when
|
|
//! the engine dies. Fixtures are the repository's sanitized ones (`benchmarks/fixtures/responses`).
|
|
|
|
mod codex;
|
|
#[path = "../common/mod.rs"]
|
|
mod common;
|
|
mod engine_failures;
|
|
mod harness;
|
|
mod monitor;
|
|
mod prompt_limits;
|
|
mod runtime_status;
|
|
mod second_worker;
|
|
mod text_answers;
|
|
mod text_formats;
|
|
mod tool_calls;
|