Skip to content

Conversation

@miguelmanlyx
Copy link

@miguelmanlyx miguelmanlyx commented Dec 15, 2025

Why are these changes needed?

Adds AI Badgr as an optional OpenAI-compatible provider following the existing documentation pattern used for Gemini and Llama API. Enables users to access budget-tier models through AutoGen's standard OpenAIChatCompletionClient.

Changes:

  • Added AI Badgr section to models.ipynb tutorial with Budget/Utility labeling
  • Documents tier-based model names (basic, normal, premium) as primary interface
  • Includes power-user model mappings (phi-3-mini, mistral-7b, llama3-8b-instruct)
  • Uses AIBADGR_API_KEY environment variable pattern

Example usage:

from autogen_core.models import UserMessage, ModelInfo
from autogen_ext.models.openai import OpenAIChatCompletionClient

model_client = OpenAIChatCompletionClient(
    model="premium",
    base_url="https://aibadgr.com/api/v1",
    model_info=ModelInfo(
        vision=False,
        function_calling=True,
        json_output=True,
        family="unknown",
        structured_output=False,
    ),
)

Related issue number

N/A

Checks

Copilot AI and others added 5 commits December 15, 2025 05:11
Co-authored-by: miguelmanlyx <220451577+miguelmanlyx@users.noreply.github.com>
Co-authored-by: miguelmanlyx <220451577+miguelmanlyx@users.noreply.github.com>
…ments

Co-authored-by: miguelmanlyx <220451577+miguelmanlyx@users.noreply.github.com>
…-again

Add AI Badgr as OpenAI-compatible provider documentation
@miguelmanlyx
Copy link
Author

@microsoft-github-policy-service agree [company="aibadgr"]

@miguelmanlyx
Copy link
Author

@microsoft-github-policy-service agree company="aibadgr"

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

Labels

None yet

1 participant