Repository navigation
Releases
Releases · nicolasambin/lazycontroller
v0.1.0
First release.
lazycontroller is a drop-in replacement for the openai Python client. Structured-output calls that are really decisions go to a fast decision model first; if every field reaches min_confidence, its answer is used, otherwise the call goes to your LLM unchanged.
OpenAI/AsyncOpenAI, configured withfast=FastConfig(...), varied per code path withwith_fast()- Chat Completions and Responses APIs,
createandparse Routereports for every intercepted call, shadow mode andShadowReportto choosemin_confidence
Install: pip install lazycontroller · Docs: https://nicolasambin.github.io/lazycontroller/