openclaw/docs/providers/qwen.md
Jon Shapiro 92697edb7c fix(venice): add compat settings to prevent HTTP 400 errors
Venice's API doesn't support certain OpenAI-compatible parameters that
Clawdbot sends by default:

- `store`: Venice returns HTTP 400 with no body when this is present
- `developer` role: Not supported by Venice's API

This adds VENICE_COMPAT settings (supportsStore: false,
supportsDeveloperRole: false) to all Venice model definitions, both
from the static catalog and dynamically discovered models.

Fixes issues reported in PR #1666 where users experienced silent
failures (HTTP 400, no body) when using Venice models.

Co-authored-by: jonisjongithub <jonisjongithub@users.noreply.github.com>
Co-authored-by: Clawdbot <bot@clawd.bot>
2026-01-26 17:56:01 -08:00

1.3 KiB

summary read_when
Use Qwen OAuth (free tier) in Clawdbot
You want to use Qwen with Clawdbot
You want free-tier OAuth access to Qwen Coder

Qwen

Qwen provides a free-tier OAuth flow for Qwen Coder and Qwen Vision models (2,000 requests/day, subject to Qwen rate limits).

Enable the plugin

clawdbot plugins enable qwen-portal-auth

Restart the Gateway after enabling.

Authenticate

clawdbot models auth login --provider qwen-portal --set-default

This runs the Qwen device-code OAuth flow and writes a provider entry to your models.json (plus a qwen alias for quick switching).

Model IDs

  • qwen-portal/coder-model
  • qwen-portal/vision-model

Switch models with:

clawdbot models set qwen-portal/coder-model

Reuse Qwen Code CLI login

If you already logged in with the Qwen Code CLI, Clawdbot will sync credentials from ~/.qwen/oauth_creds.json when it loads the auth store. You still need a models.providers.qwen-portal entry (use the login command above to create one).

Notes

  • Tokens auto-refresh; re-run the login command if refresh fails or access is revoked.
  • Default base URL: https://portal.qwen.ai/v1 (override with models.providers.qwen-portal.baseUrl if Qwen provides a different endpoint).
  • See Model providers for provider-wide rules.