mirror of
https://github.com/Oathbreaker-AI/api-examples.git
synced 2026-12-01 10:11:55 -10:00
* Add guides for the OpenAI SDK, LangChain, LlamaIndex and CrewAI Each guide gives the settings that point the library at Oathbreaker, a runnable example that makes one billable request, the request that example sends, and what to watch for with that library. - The examples send only the request fields the API lists, set an output budget, and switch off the libraries' automatic retries. Left at their defaults, a failed call was sent 3 times by the OpenAI SDK and LangChain, 9 times by CrewAI and 12 times by LlamaIndex. - Each example has a test that runs it against a local stand-in server. The test fails if the request carries a field the API does not list, or if a failed request is sent more than once. A CI job runs the test for each library from its pinned requirements. - The main README names both public models and lists the base URL, authentication and what the API does not offer. Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_01CfDjYvdXHyHmrgmoTbM2FU * Run the framework tests on Python 3.12 The runner's own Python is 3.14, which CrewAI 1.15.41 does not install on. The framework job now sets Python 3.12, the version the examples were checked with, and the CrewAI guide says which versions work. Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_01CfDjYvdXHyHmrgmoTbM2FU --------- Co-authored-by: Claude <[email protected]>