Description
When using the API Design Assistant, an internal server error (500) occurs. The assistant fails to process API creation requests, displaying an error message:

Steps to Reproduce
- Update the [apim.ai] config in the deployment.toml file by providing the on-premise token obtained from the AI Subscription Portal.
- Restart the API Manager.
- Login to the Publisher Portal.
- Navigate to API Design Assistant.
- Enter a prompt to create an API.
Version
APIM 4.5.0-beta
Environment Details (with versions)
No response