Skip to main content

router

Function router 

Source
pub fn router() -> Router
Expand description

Builds a conservative REST router backed by real codex app-server processes.

The default router exposes only non-executing health and compatibility routes. Use text_turn_router, trusted_bridge_router, or router_with_options when the router is mounted behind a trusted authz boundary and should execute Codex work.