I am getting similar error, MODEL NOT AVAILABLE. I am running XCODE BETA Version 26.0 beta (17A5241e)
Mac Sequoia 15.5 on high performance Mac Pro
Trying running sample code from Video
import FoundationModels
import Playgrounds
#Playground {
if #available(iOS 26.0, *) {
let session = LanguageModelSession()
} else {
// Fallback on earlier versions
}
let response = try await session.respond(to: "Whats a good name for a trip to Japan? Reply only with a title")
}
Cannot find 'session' in scope.
DOES THIS WORK on SIMULATORS with the Beta or is there something I am missing?
Topic:
Machine Learning & AI
SubTopic:
Foundation Models