Post

Replies

Boosts

Views

Activity

Reply to Use of SpotlightSearchTool() returns "Model Catalog error: Error Domain=com.apple.UnifiedAssetFramework Code=5000" , although model is available
Thanks a lot for Your help! The code you suggested works so far, that the SpotlightSearchTool() is invoked with returning a message in the console like: "📍 NativeSpotlightSearchTool: Completed with 82 total results, returning 15 items" However in some instances for reasons yet unclear to me, the execution stops here, not finishing the response still returning the error: "Playground has encountered an error Provided X.XXX tokens, but the maximum allowed is 4.096." , with the number X depending on the prompt. Also the workaround yet works only with the "guide: .focused())" option, not with ".complete" or ".none" .
Aug ’26
Reply to Use of SpotlightSearchTool() returns "Model Catalog error: Error Domain=com.apple.UnifiedAssetFramework Code=5000" , although model is available
Thanks a lot for Your help! The code you suggested works so far, that the SpotlightSearchTool() is invoked with returning a message in the console like: "📍 NativeSpotlightSearchTool: Completed with 82 total results, returning 15 items" However in some instances for reasons yet unclear to me, the execution stops here, not finishing the response still returning the error: "Playground has encountered an error Provided X.XXX tokens, but the maximum allowed is 4.096." , with the number X depending on the prompt. Also the workaround yet works only with the "guide: .focused())" option, not with ".complete" or ".none" .
Replies
Boosts
Views
Activity
Aug ’26
Reply to Foundation Models are broken in iOS 27 Beta
Hello! Have to agree with the OP. The model seems to be tool hungry, simple prompts get a response asking for a tool or spewing JSON code.
Replies
Boosts
Views
Activity
Aug ’26
Reply to Use of SpotlightSearchTool() returns "Model Catalog error: Error Domain=com.apple.UnifiedAssetFramework Code=5000" , although model is available
Thx for your reply! Unfortunately your suggested procedure did not solve the issue. I filed a FB report under the number FB24079629.
Replies
Boosts
Views
Activity
Jul ’26
Reply to Use of SpotlightSearchTool() returns "Model Catalog error: Error Domain=com.apple.UnifiedAssetFramework Code=5000" , although model is available
Thx for filing this bug! This error already occurred during developer beta 3. After upgrading to developer beta 4 nothing changed. On beta 3 i already tried rebooting, changing general and Siri language settings, but nothing helped.
Replies
Boosts
Views
Activity
Jul ’26