Skip to main content

dekopon_model/
lib.rs

1#![forbid(unsafe_code)]
2#![cfg_attr(test, allow(clippy::unwrap_used))]
3#![cfg_attr(
4    test,
5    allow(
6        clippy::disallowed_methods,
7        clippy::disallowed_types,
8        reason = "tests spawn, join and drain freely; production sites carry their own expectation"
9    )
10)]
11pub mod asset;
12
13pub mod blocking;
14pub mod body;
15pub mod chatgpt;
16pub mod codex;
17pub mod control;
18mod diagnostic;
19pub mod error;
20mod http;
21pub mod inference;
22mod loopback;
23#[cfg(test)]
24mod mock;
25pub mod model;
26pub mod openai;
27pub mod openrouter;
28pub mod replay;
29mod sse;
30pub mod stream;
31pub mod text;
32#[cfg(test)]
33mod trace_capture;
34pub mod transcript;
35pub mod wire;
36
37pub use stream::{ModelText, TranscriptDialect, TurnEvent, events_from_transcript};