This analyzer detects if any Prompt Templates reference deprecated LLMs and updates the model to one that is currently supported with similar capabilities.
What triggers this problem analyzer?
A Prompt Template version being deployed as published and is not already in the target org, references a LLM model that has been deprecated.
What Problem is it solving?
If the Prompt Template is activated in Salesforce, an error is shown indicating the referenced model is deprecated (inactive) and that an active model must be selected. If a Prompt Template version references a deprecated LLM model and is deployed as a draft, the deployment should still succeed; however, the model will need to be updated manually after deployment.
How does it work?
When selected, the problem analyzer updates the referenced model in the Prompt Template.

