ai_chat
Send OpenAI-compatible chat completion requests to the Badgr API and receive replies with token usage; max_tokens is capped at 4096 and usage is metered.
Instructions
Call the Badgr AI API (OpenAI-compatible chat completion) and return the reply with token usage. max_tokens is capped at 4096 per call. Usage is metered.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model ID to call | |
| messages | Yes | ||
| max_tokens | No | ||
| temperature | No |