feat(LocalLLM): Add local LLM support using Ollama and LM Studio#17
Open
rabbive wants to merge 1 commit intoInvisibilityInc:masterfrom
Open
Conversation
Add comprehensive local LLM integration with support for: - Ollama provider (localhost:11434) - LM Studio provider (localhost:1234, OpenAI-compatible) Features: - Streaming chat completions with Combine publishers - Automatic model discovery from connected servers - Connection status monitoring and auto-reconnect - Settings persistence using UserDefaults - SwiftUI settings view and model picker - Example chat view with streaming UI - Unified LocalLLMManager for both providers Components added: - LocalLLMModels.swift: Data models, enums, error types - LocalLLMProvider.swift: Base protocol and abstract class - OllamaProvider.swift: Full Ollama API implementation - LMStudioProvider.swift: OpenAI-compatible implementation - LocalLLMManager.swift: Central manager singleton - LocalLLMSettingsView.swift: Settings UI components - LocalLLMChatView.swift: Example chat implementation - README.md: Integration documentation Also updates OllamaKit submodule to djmango fork.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add comprehensive local LLM integration with support for:
Features:
Components added:
Also updates OllamaKit submodule to djmango fork.