- Issue created by @jhedstrom
- πΊπΈUnited States jhedstrom Portland, OR
Patch for composer files.
- πΊπΈUnited States jhedstrom Portland, OR
Oops, the above patch was malformed.
The current code for AzureProvider::isUsable()
doesn't factor in the $operation_type
argument, and thus always returns FALSE
when it isn't provided.
public function isUsable(?string $operation_type = NULL, array $capabilities = []): bool {
if (in_array($operation_type, $this->getSupportedOperationTypes())) {
return TRUE;
}
return FALSE;
}
Configure an Azure model/provider and then visit the Admin -> Reports -> Status page and note that the AI module reports no configured providers.
Add additional logic to the method.
Active
1.0
Code
Patch for composer files.
Oops, the above patch was malformed.