Revert "Add Apple Intelligence provider (Phase 1 — on-device)"

This reverts commit f3a0c45331.
This commit is contained in:
2026-06-16 11:42:51 +02:00
parent f3a0c45331
commit f63226b2cc
7 changed files with 11 additions and 279 deletions
-2
View File
@@ -424,8 +424,6 @@ Don't narrate future actions ("Let me...") - just use the tools.
func inferProviderPublic(from modelId: String) -> Settings.Provider? { inferProvider(from: modelId) }
private func inferProvider(from modelId: String) -> Settings.Provider? {
// Apple Foundation Models
if modelId.hasPrefix("apple-") { return .appleOnDevice }
// OpenRouter models always contain a "/" (e.g. "anthropic/claude-3-5-sonnet")
if modelId.contains("/") { return .openrouter }
// Anthropic direct (e.g. "claude-sonnet-4-5-20250929")