* Validate the aiOptInLevel on the server * Fix another issue when the project and mismatched org. * Fix a type error. --------- Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>