I have an app on the App Store that takes user content and creates a Generable struct out of it.
In the last couple weeks I have started getting complains from my users that the part of the app leveraging FoundationModels isn't working properly.
In my testing I noticed that the same request that would've worked a couple weeks ago is now getting errors with guardrails violation.
I'm initializing my model this way
LanguageModelSession(model: SystemLanguageModel(guardrails: .permissiveContentTransformations))
// I'm aware that .permissiveContentTransformations does not apply to Generable, but I'd really really really really love it, if it did!.
This started around the iOS 26.5/macOS 26.5 releases and I wonder if there's a way to fix it.
1
0
19