Move existing downloaded AI model files to new location

I just launched AI-navigator on my Windows 10 box and started download of a specific model: Phi-3-Mini-4K-Instruct_Q4_K_M.gguf.
While, the file was downloading, I updated the download location from C drive to E drive. However, the model files completed downloading to the old location.
I quit Anaconda AI navigator and moved the folder named microsoft under C:\Users<username>.ai-navigator\models to E:\Users<username>.ai-navigator\models

I reopened the AI navigator - however now the downloaded models window is empty.

Here is what I got from the main.log file:

2024-10-05 16:27:25.069] [info]  Database exists C:\Users\saile\AppData\Roaming\ai-navigator\ailauncher.db, loading...
[2024-10-05 16:27:25.072] [info]  models collection exists with count: 1
[2024-10-05 16:27:25.075] [debug] Starting Model Manager...
[2024-10-05 16:27:25.077] [debug] Registering Model IPC Handlers...
[2024-10-05 16:27:25.080] [debug] Starting Model Info Service...
[2024-10-05 16:27:25.082] [debug] Starting System Info Service...
[2024-10-05 16:27:25.085] [debug] Starting API Server Manager...
[2024-10-05 16:27:25.087] [debug] Starting Chat Manager...
[2024-10-05 16:27:25.094] [debug] Chat server port set to 53790
[2024-10-05 16:27:25.097] [debug] Phi-3-Mini-4K-Instruct_Q4_K_M.gguf doesn't exist... removing from registry
[2024-10-05 16:27:26.940] [debug] {
  service_id: 'ai-navigator',
  event: 'SYSTEM_INFO',
  event_params: {
    systemInfo: {
      platform: 'Windows',
      release: '10.0.19045',
      arch: 'x64',
      cpuflags: 'de pse tsc sep mtrr mca cmov psn clfsh ds mmx fxsr sse sse2 ss htt tm ia64 pbe',
      cpucores: 32,
      ram: 68640473088,
      gpucores: [ null ]
    }
  }
}
[2024-10-05 16:27:26.943] [debug] sendEvent recorded
[2024-10-05 16:27:42.305] [debug] Cleaning up Heap analytics
[2024-10-05 16:27:42.306] [debug] Removing 0 heap scripts
[2024-10-05 16:27:42.315] [info]  Initializing Heap analytics
[2024-10-05 16:27:42.315] [debug] loading heap...
[2024-10-05 16:27:59.420] [info]  Chat starting chat session

How do I get AI navigator to populate the downloaded model file from the updated location without having to redownload it?

Thanks in advance for any clues or suggestions.

Figured out the workaround! I browsed to the model page from AI navigator and selected to download the model by clicking the Download button. However, since the model file already exists in the download folder, it simply added the entry under downloaded models. :slight_smile:

[2024-10-05 17:22:58.621] [debug] sendEvent recorded
[2024-10-05 17:32:56.365] [debug] Verifying checksum for file E:\Users\saile\.ai-navigator\microsoft\Phi-3-mini-4k-instruct\Phi-3-Mini-4K-Instruct_Q4_K_M.gguf, expected checksum: 8a83c7fb9049a9b2e92266fa7ad04933bb53aa1e85136b7b30f1b8000ff2edef
[2024-10-05 17:33:08.614] [debug] Calculated checksum: 8a83c7fb9049a9b2e92266fa7ad04933bb53aa1e85136b7b30f1b8000ff2edef, expected checksum: 8a83c7fb9049a9b2e92266fa7ad04933bb53aa1e85136b7b30f1b8000ff2edef
[2024-10-05 17:33:09.151] [debug] {
  service_id: 'ai-navigator',
  event: 'MODEL_DOWNLOAD',
  event_params: {
    modelName: 'Phi-3-Mini-4K-Instruct',
    fileName: 'Phi-3-Mini-4K-Instruct_Q4_K_M.gguf',
    completion: 'success',
    downloadTime: '2024-10-05T07:33:08.619Z'
  }
}
[2024-10-05 17:33:09.154] [debug] sendEvent recorded

Awesome, @sailendrap, thank you for sharing the workaround!

How is your experience with AI Navigator so far?