1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/// Admin inspection routes (runs, events, storage, health, cache, capabilities).
/// OpenAI audio endpoint handlers (transcription and speech surfaces).
/// OpenAI batch endpoint handlers.
/// OpenAI `/v1/chat/completions` endpoint handlers.
/// OpenAI `/v1/embeddings` endpoint handlers.
/// Shared route error type and OpenAI-shaped error responses.
/// OpenAI files endpoint handlers.
/// Health and readiness route handlers.
/// OpenAI images endpoint handlers.
/// OpenAI `/v1/models` discovery endpoint and model catalog.
/// Shared path-id extraction (`strip_prefix` + single-segment filter).
pub
/// SIM replay and fork routes over stored responses.
/// Helpers for parsing JSON request bodies into objects.
pub
/// Internal event-log helpers shared across response handlers.
pub
/// Shared response-execution runtime types (targets, id generators, outcome).
/// Helpers for chunking model output into streamed response text deltas.
pub
/// OpenAI `/v1/responses` endpoint handlers and request execution.
/// Internal run-record helpers.
pub
/// Thread-context normalization for response requests.
pub
/// OpenAI threads endpoint handlers.
/// OpenAI vector-stores endpoint handlers.