Skip to content

Replace OpenAI with Ollama integration#47

Open
jim2135sn wants to merge 8 commits into
FireCubeStudios:masterfrom
jim2135sn:ollama-integration-14900316664713761024
Open

Replace OpenAI with Ollama integration#47
jim2135sn wants to merge 8 commits into
FireCubeStudios:masterfrom
jim2135sn:ollama-integration-14900316664713761024

Conversation

@jim2135sn

Copy link
Copy Markdown
  • Removed OpenAI ChatService and KeyService.
  • Implemented OllamaService with chat, streaming, and model management.
  • Updated Settings UI to support model selection and Ollama installation.
  • Configured default model to gemma3:1b with auto-pull logic.

- Removed OpenAI ChatService and KeyService.
- Implemented OllamaService with chat, streaming, and model management.
- Updated Settings UI to support model selection and Ollama installation.
- Configured default model to gemma3:1b with auto-pull logic.
@jim2135sn jim2135sn closed this Jan 25, 2026
@jim2135sn

Copy link
Copy Markdown
Author

Clicked the wrong button please ignore this. I am not familiar with GitHub.

- Replaced OpenAI ChatService with OllamaService.
- Removed legacy KeyService and APIBox control.
- Updated Settings UI for model management and Ollama installation.
- Updated README.md with simple installation instructions.
- Deleted orphaned ChatService.cs.
- Replaced OpenAI ChatService with OllamaService (local AI).
- Added Settings UI for model management and Ollama installation.
- Removed legacy KeyService and APIBox.
- Added `build.ps1` and `Run Build.bat` for easy 1-click building.
- Updated README.md with simple installation instructions.
- Replaced OpenAI ChatService with OllamaService.
- Added Settings UI for model management and Ollama installation.
- Removed legacy KeyService and APIBox.
- Added `build.ps1` and `Run Build.bat` for easy 1-click building.
- Updated README.md with simple installation instructions.
- Ensured build script provides helpful error messages if .NET SDK is missing.
- Verified instructions.
- Replaced OpenAI ChatService with OllamaService.
- Added Settings UI for model management and Ollama installation.
- Removed legacy KeyService and APIBox.
- Added `build.ps1` and `Run Build.bat` for easy 1-click building.
- Updated README.md with simple installation instructions.
- Replaced OpenAI ChatService with OllamaService.
- Added Settings UI for model management and Ollama installation.
- Removed legacy KeyService and APIBox.
- Added `build.ps1` and `Run Build.bat` for easy 1-click building.
- Updated README.md with simple installation instructions.
- Replaced OpenAI ChatService with OllamaService.
- Added Settings UI for model management and Ollama installation.
- Removed legacy KeyService and APIBox.
- Added `build.ps1` and `Run Build.bat` for easy 1-click building.
- Updated README.md with simple installation instructions.
@PredestinatoNew

Copy link
Copy Markdown

Great proposal! To get your request accepted, I recommend creating a new pull request and contacting the developers on their Discord channel. Also, try citing your pull request here: #43 to demonstrate that you've added this feature. I sincerely hope your pull request is accepted.

@jim2135sn

Copy link
Copy Markdown
Author

I was only playing around with the source code in Google Jules; I'm an HTML dev, I don't know any of this, I just wanted to see if I could possibly get ollama support for this cool project, and I accidentally clicked pull not knowing what it did at that moment. The code is untested and probably doesn't work.

@FireCubeStudios

Copy link
Copy Markdown
Owner

Looks interesting I will review it

@PredestinatoNew

Copy link
Copy Markdown

I'd like to collaborate on the project. I cloned the project, and when I start building with Visual Studio 2026 and .NET 9, I get the following error: "The CommunityToolkit.Labs.WinUI.Shimmer package was not found. There are no packages with this ID in the sources: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org." I couldn't find this package on Nuget, and I don't know what to do. Could someone help me solve this? It would be very helpful to create a file in the repository explaining how to clone the repository if specific configurations need to be recreated.

@jim2135sn

Copy link
Copy Markdown
Author

Like I said, I don't know what I'm doing. I vibe coded this with Jules and accidentally pulled it.

@FireCubeStudios

Copy link
Copy Markdown
Owner

@PredestinatoNew The nuget issue you are facing comes because the Visual Studio does not have the Community Toolkit Labs nuget as a package source. A guide can be found here in this repo https://github.com/CommunityToolkit/Labs-Windows

Basically you need to add a link to the package source into your visual studio package sources configuration

@PredestinatoNew

Copy link
Copy Markdown

I managed to solve the nuget issue, but I can't compile the code because the ChatService.cs files and the entire "Tray" folder are missing. This attempt to bring Clippy back to Windows is nice, but the most significant flaw in this repository is the lack of support for a Local LLM Model, or the ability to insert your own API keys for the most popular AIs into an .env file (or even with a UI) with a system that also supports non-OpenAI APIs. But this repository doesn't seem to be able to do all of this, and I'm disappointed. I noticed that the project has also been removed from the Microsoft Store (the link in the readme is invalid), I hope things can change.

@FireCubeStudios

Copy link
Copy Markdown
Owner

Microsoft removed the app from the store due to clippy copyright and ever since the I haven't worked on the project

As for missing files let me see I think it may have been gitignored but I have the code somewhere

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants