[package] name = "jouleclaw-frugalgpt" version.workspace = true edition.workspace = true license.workspace = true repository.workspace = true authors.workspace = true description = "FrugalGPT three-component typed primitives for JouleClaw. Router (selects which backend handles a query) + AnswerScorer (rates a backend's output) + StopJudger (decides whether to accept or escalate to the next tier). Composes any sequence of backends into a cheapest-first cascade with explicit accept/escalate decisions; matches the FrugalGPT (Chen et al., arxiv 2305.05176) architecture as typed Rust primitives so the cascade dispatch is debuggable + auditable end-to-end." [dependencies] serde = { workspace = true } serde_json = { workspace = true } thiserror = { workspace = true }