public static AiModelProviderEnum getByName(final String name) {
        for (AiModelProviderEnum value : AiModelProviderEnum.values()) {
            if (value.getName().equals(name)) {
                return value;
            }
        }
        return null;
    }
get model by name.

@param name name
@return AiModelProviderEnum
shenyu-common/src/main/java/org/apache/shenyu/common/enums/AiModelProviderEnum.java