- Use `'auto'` instead of `nil` for the auto-detection mode - Add strict validation and related error message