mlx-swift-examples icon indicating copy to clipboard operation
mlx-swift-examples copied to clipboard

Errors while building MLXChatExample

Open valentinptr opened this issue 5 months ago • 7 comments

I use MLX for the first time and I wanted to test MLXChatExample. Here are the steps I have done :

  1. clone the swift example repo and install dependancies
  2. during building the project I had this first issue :
    1. Project/Services/MLXService.swift:32:66 Type 'LLMRegistry' has no member 'acereason_7b_4bit' ==> So I commented this line
    2. Project/ViewModels/ChatViewModel.swift:92:23 Type 'Generation' has no member 'toolCall' ==> I commented the case/brake also
  3. I was finally able to build the code but then this error occurred : ViewBridge to RemoteViewService Terminated: Error Domain=com.apple.ViewBridge Code=18 "(null)" UserInfo={com.apple.ViewBridge.error.hint=this process disconnected remote view controller -- benign unless unexpected, com.apple.ViewBridge.error.description=NSViewBridgeErrorCanceled}

On the app window I have this issue : Image

valentinptr avatar Jul 01 '25 15:07 valentinptr