Skip to content

Conversation

@miguelmanlyx
Copy link

Relevant issues

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have Added testing in the tests/litellm/ directory, Adding at least 1 test is a hard requirement - see details
  • My PR passes all unit tests on make test-unit
  • My PR's scope is as isolated as possible, it only solves 1 specific problem

CI (LiteLLM team)

CI status guideline:

  • 50-55 passing tests: main is stable with minor issues.
  • 45-49 passing tests: acceptable but needs attention
  • <= 40 passing tests: unstable; be careful with your merges and assess the risk.
  • Branch creation CI run
    Link:
  • CI run for the last commit
    Link:
  • Merge / cherry-pick CI run
    Links:

Type

🆕 New Feature
📖 Documentation
✅ Test

Changes

  • Add aibadgr as an OpenAI-compatible JSON provider:
    • Entry in litellm/llms/openai_like/providers.json with base_url = "https://aibadgr.com/api/v1", api_key_env = "AIBADGR_API_KEY", api_base_env = "AIBADGR_BASE_URL"
    • Register aibadgr in constants, LlmProviders, the OpenAI-compatible embeddings path, and provider_endpoints_support.json
  • Ensure get_llm_provider("aibadgr/<tier>") resolves correctly for budget, basic, normal, premium using the JSON provider registry and env overrides
  • Add unit tests in tests/test_litellm/llms/openai_like/test_json_providers.py for:
    • JSON provider loading for aibadgr
    • Provider resolution (including tier models)
    • ProviderConfigManager returning a JSON-based config with custom_llm_provider == "aibadgr"
  • Add docs/providers/aibadgr.md and sidebar entry with:
    • Overview and required env vars
    • Python SDK, proxy, and cURL examples for chat and streaming
    • Embeddings usage and custom api_base / AIBADGR_BASE_URL configuration

@vercel
Copy link

vercel bot commented Dec 17, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
litellm Ready Ready Preview, Comment Dec 17, 2025 10:40pm

@CLAassistant
Copy link

CLAassistant commented Dec 17, 2025

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
2 out of 3 committers have signed the CLA.

✅ miguelmanlyx
✅ michaelbrinkworth
❌ Copilot
You have signed the CLA already but the status is still pending? Let us recheck it.

@miguelmanlyx
Copy link
Author

Weird i dont think tests have to do with me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants