feat: Add Ollama Cloud integration with 20+ free AI models
- Added AI Model Manager to sidebar for quick model switching - Integrated Ollama Cloud API with official models from ollama.com - Added AISettingsModal with searchable model catalog - Models include: GPT-OSS 120B, DeepSeek V3.2, Gemini 3 Pro, Qwen3 Coder, etc. - Added 'Get Key' button linking to ollama.com/settings/keys - Updated README with Ollama Cloud documentation and free API key instructions - Fixed ChatPanel export issue - Added Brain icon for reasoning models
This commit is contained in:
@@ -91,5 +91,11 @@ contextBridge.exposeInMainWorld('electron', {
|
||||
|
||||
// Browser
|
||||
openBrowser: (url) => ipcRenderer.invoke('vi-open-browser', { url })
|
||||
},
|
||||
// Ollama Cloud
|
||||
ollama: {
|
||||
getKeyStatus: () => ipcRenderer.invoke('ollama-get-key-status'),
|
||||
saveKey: (key) => ipcRenderer.invoke('ollama-save-key', { key }),
|
||||
getModels: () => ipcRenderer.invoke('ollama-get-models')
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user