Magpie setup
Install and prepare
Section titled “Install and prepare”Install from Magpie’s official distribution. Prepare a WuDi key and check its available model list. This setup uses a custom API-key provider, separate from another service’s subscription login.
Add a provider
Section titled “Add a provider”In the provider or model settings, add a custom provider appropriate to the selected protocol:
| Field | OpenAI compatible | Anthropic compatible |
|---|---|---|
| Name | WuDi API | WuDi API Claude |
| Base URL | https://wudiapi.com/v1 |
https://wudiapi.com |
| API key | Your WuDi key | Your WuDi key |
| Model | Available ID for this protocol | Available Messages-compatible Claude ID |
Start by testing plain text in OpenAI-compatible mode. Do not mix protocol addresses within one provider.
Fetch and select models
Section titled “Fetch and select models”Try the fetch action if offered. Otherwise, manually add an exact available ID. Save, choose the provider and model in the agent’s selector, then open a new conversation. After importing a configuration, check for an old endpoint, key or model; importing does not itself connect it to WuDi.
Credentials and verification
Section titled “Credentials and verification”Confirm the request in the platform log. Custom providers may be stored in ~/.config/magpie/providers.json, depending on the version. Redact credentials before sharing configuration and use a separate key for easy revocation.
Troubleshoot and restore
Section titled “Troubleshoot and restore”For missing models, check permissions and IDs. For 401, check the complete key and provider. For protocol errors, verify the selected mode. Switch back to the previous provider before removing the WuDi entry.
