TRAE setup and compatibility
Check the version’s model settings
Section titled “Check the version’s model settings”TRAE settings differ across regions, versions and product variants. Look for Models → Add model. Direct setup requires a field accepting a custom OpenAI-compatible address. A version limited to fixed providers and fixed endpoints cannot be redirected to WuDi by changing only the key.
Settings where a custom endpoint is available
Section titled “Settings where a custom endpoint is available”| Field | Value |
|---|---|
| Provider | Custom / OpenAI compatible |
| Display name, if editable | WuDi API |
| Base URL | https://wudiapi.com/v1 |
| API Key | Your WuDi key |
| Model | Exact ID returned by /v1/models |
If the provider menu has no compatible custom option, check the version’s official help. Do not enter a WuDi key into a fixed endpoint belonging to another service.
Save and verify
Section titled “Save and verify”Save, choose the model in a new conversation and send a short text request. Confirm a request appears in WuDi logs. Enable tools and images only after confirming support. A connection test may not exercise the entire agent workflow.
Troubleshooting
Section titled “Troubleshooting”For a rejected test, inspect the detailed error to distinguish authentication, permissions and protocol issues. If no usage record appears, check the final request address. If chat works but the agent fails, check tools and extra parameters.
If no custom option exists, consider a compatible OpenCode or WorkBuddy setup. Restore the original model before deleting the added provider, and preserve workspace and plugin settings.
Reference: TRAE.
