Add AI Badgr as an OpenAI-compatible backend example#1
Open
michaelmanly wants to merge 1 commit intoJohnnie88:mainfrom
Open
Add AI Badgr as an OpenAI-compatible backend example#1michaelmanly wants to merge 1 commit intoJohnnie88:mainfrom
michaelmanly wants to merge 1 commit intoJohnnie88:mainfrom
Conversation
|
Keep this PR in a mergeable state → Learn moreAll Green is an AI agent that automatically: ✅ Addresses code review comments ✅ Fixes failing CI checks ✅ Resolves merge conflicts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add documentation for using AI Badgr as an OpenAI-compatible backend
This PR adds a small documentation section showing how to point existing OpenAI client code at AI Badgr, which follows the same API surface (chat completions, streaming, JSON mode).
AI Badgr uses optimized open-source models to provide more affordable inference and also supports optional private/self-hosted modes for teams that need additional data control.
What's Included
base_urlandapi_keyWhy This May Be Useful
Some users of this project work with OpenAI-compatible backends (self-hosted or third-party).
This example gives them a straightforward way to use AI Badgr as another compatible option while keeping their existing client code and request format.
Technical Notes
AI Badgr supports:
/v1/chat/completionswith streamingresponse_format)openaiclients for Python and JS)This PR only adds optional documentation and does not modify any existing functionality.
Contributor License Agreement: I agree to the contributor license agreement terms for this repository.