Files
oai-swift/oAI/Models
rune f3a0c45331 Add Apple Intelligence provider (Phase 1 — on-device)
- New AppleFoundationProvider using FoundationModels framework (macOS 27+)
- Streaming via streamResponse(to:) → ResponseStream<String> snapshot deltas
- Session built with system prompt + conversation history injected as instructions text
- Full error mapping: context exceeded, guardrail violation, rate limit, availability states
- Settings.Provider.appleOnDevice case wired through ProviderRegistry, Color+Extensions, CreditsView
- inferProvider() detects "apple-" prefix model IDs
- Settings → General: Apple Intelligence section with live availability badge and deep link to System Settings

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-16 11:36:55 +02:00
..
2026-02-18 12:43:47 +01:00
2026-02-18 12:43:47 +01:00
2026-05-12 11:05:47 +02:00
2026-03-04 10:19:16 +01:00
2026-02-18 12:43:47 +01:00
2026-05-12 11:05:47 +02:00
2026-05-12 11:05:47 +02:00
2026-02-19 16:39:23 +01:00
2026-02-18 12:43:47 +01:00
2026-02-18 12:43:47 +01:00