allow no provider on a resource

This commit is contained in:
miloschwartz
2026-08-05 15:43:42 -04:00
parent bcf6b86b84
commit 790daba796
11 changed files with 25 additions and 86 deletions
@@ -353,7 +353,7 @@ export async function createSiteResource(
const resolved = await resolveProviderAttachments({
orgId,
attachments: aiProviderInputs ?? [],
requireAtLeastOne: true
requireAtLeastOne: false
});
if (isInferenceFieldsError(resolved)) {
return next(