[PR #13392] [CLOSED] Add AI Badgr as an Cheaper OpenAI-compatible backend #24731

Closed
opened 2026-04-19 17:46:17 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/13392
Author: @michaelmanly
Created: 12/9/2025
Status: Closed

Base: mainHead: docs/add-ai-badgr-provider


📝 Commits (1)

  • ff7de31 docs: add AI Badgr as OpenAI-compatible backend (base_url override + examples)

📊 Changes

1 file changed (+35 additions, -0 deletions)

View changed files

📝 README.md (+35 -0)

📄 Description

Add AI Badgr as cheaper OpenAI-compatible backend

This PR adds a short documentation section showing how to use AI Badgr as a drop-in replacement for OpenAI's API.

What's Changed

  • Added a new section to the README explaining how to override the base_url parameter
  • Included code examples for:
    • Python (using the openai package)
    • JavaScript/Node.js (using the openai package)
    • cURL (command-line usage)
  • Notes on advanced features (streaming, JSON mode)

Key Points

  • Docs-only change - No code modifications or breaking changes
  • Optional provider - Developers can choose to use it or not
  • OpenAI-compatible - Works with existing OpenAI client libraries
  • Simple integration - Just override base_url and optionally api_key

Technical Details

AI Badgr implements the OpenAI API specification, supporting:

  • Chat completions with streaming
  • JSON mode responses
  • Compatible with standard OpenAI SDKs

This is an optional addition that gives developers another backend choice for their OpenAI-compatible applications.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/13392 **Author:** [@michaelmanly](https://github.com/michaelmanly) **Created:** 12/9/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `docs/add-ai-badgr-provider` --- ### 📝 Commits (1) - [`ff7de31`](https://github.com/ollama/ollama/commit/ff7de31f9470894ca8d003d47003ceb417eae3d4) docs: add AI Badgr as OpenAI-compatible backend (base_url override + examples) ### 📊 Changes **1 file changed** (+35 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+35 -0) </details> ### 📄 Description ## Add AI Badgr as cheaper OpenAI-compatible backend This PR adds a short documentation section showing how to use **AI Badgr** as a drop-in replacement for OpenAI's API. ### What's Changed - Added a new section to the README explaining how to override the `base_url` parameter - Included code examples for: - Python (using the `openai` package) - JavaScript/Node.js (using the `openai` package) - cURL (command-line usage) - Notes on advanced features (streaming, JSON mode) ### Key Points - **Docs-only change** - No code modifications or breaking changes - **Optional provider** - Developers can choose to use it or not - **OpenAI-compatible** - Works with existing OpenAI client libraries - **Simple integration** - Just override `base_url` and optionally `api_key` ### Technical Details AI Badgr implements the OpenAI API specification, supporting: - Chat completions with streaming - JSON mode responses - Compatible with standard OpenAI SDKs This is an optional addition that gives developers another backend choice for their OpenAI-compatible applications. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-19 17:46:17 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#24731