Implement an API to validate whether model config (e.g. apiKey, baseURL, provider) from user is available If unavailable, refuse to create chat and throw a error