There are two ways to set up a provider profile for OpenAI.
When selecting the "OpenAI" provider option, you can select either eu or us as a region. This will set the base url to either eu.api.openai.com or us.api.openai.com. These endpoints are only available to OpenAI users with an Enterprise Account and the Data Residency feature. If your account does not have these features it's likely your Agent Studio requests will return a 500 error.
Error code: 500 - {'error': {'code': 500, 'message': 'The server had an error processing your request. Sorry about that! You can retry your request, or contact support@openai.com if you keep seeing this error.', 'param': None, 'type': 'cr_error'}}If you need to use the standard api.openai.com endpoint, you can configure this manually by selecting the "OpenAI Compatible" Provider option and entering the base url of https://api.openai.com/v1.
When selecting "OpenAI Compatible" - the exact base url can be entered so as to omit the eu or us prefix.