Neon-Vision-Editor/Neon Vision Editor.xcodeproj
h3p 94493cb498 Improve AppleFM Foundation Models integration and fix streaming issues
• Add robust availability checks for Apple Intelligence (iOS 18 / macOS 15) before using system language model
• Implement health check via LanguageModelSession to validate model responsiveness (“ping” -> “pong”)
• Provide synchronous completion API appleFMComplete(prompt:) returning model response text
• Implement streaming completion API appleFMStream(prompt:) that yields incremental deltas
• Fix optional handling in streaming: unwrap partial.content.text safely and remove force unwraps
• Correct delta computation using unwrapped current string and maintain last state
• Add graceful fallback to single-shot completion if streaming fails
• Provide stubbed implementations when USE_FOUNDATION_MODELS is disabled to ensure build stability across configs
2026-02-05 22:30:21 +01:00
..
project.xcworkspace Adjustments to tabbar approach and syntax highlighting of text code 2025-08-27 13:34:59 +02:00
xcshareddata/xcschemes UI changes. Fixed Sidebar 2026-01-17 12:25:50 +01:00
xcuserdata/h3p.xcuserdatad/xcschemes UI changes. Fixed Sidebar 2026-01-17 12:25:50 +01:00
project.pbxproj Improve AppleFM Foundation Models integration and fix streaming issues 2026-02-05 22:30:21 +01:00