Summary
invalid config
models.providers.qwen-portal.models.0.maxTokens: Invalid input: expected number, received string
Root Cause
The backend redacts sensitive fields before returning config to the frontend. The maxTokens field is incorrectly identified as sensitive and its numeric value is replaced with the string OPENCLAW_REDACTED. When the frontend submits the config, validation fails because a string is provided where a number is expected.
Expected behavior
maxTokens should not be redacted and should retain its original numeric value.
Actual behavior
maxTokens value is replaced with "OPENCLAW_REDACTED", causing type validation to fail on config submission.
