[GH-ISSUE #6] I may be asking for too much- #5

Open
opened 2026-03-03 16:44:29 +03:00 by kerem · 0 comments
Owner

Originally created by @ThatProgrammerr on GitHub (Jul 6, 2025).
Original GitHub issue: https://github.com/nucleartux/ai-grammar/issues/6

I finally got it working by setting up Windows Ollama with a batch script that did the following, in-specific the SET OLLAMA_ORIGINS="*" wasn't clear it was also required for Windows.

SET OLLAMA_HOST=0.0.0.0:11434
SET OLLAMA_ORIGINS="*"
ollama serve

Now I'm in a position where due to the both the position of my text box where I intend to use this and the fact the AI tends to include 'Here is the corrected version' for example before the replace - it feels quite janky.

I assumed it would be closer to other spell-check extensions where it either adds an underline I can interact with or automatically updates my message once I stop typing. The flashing icon that seems to glitch in and out of existence with a click to replace isn't really what I expected.

I also would have loved to use an external ollama server, which already has an issue for it, but I understand that's not a priority.

A suggestion to get better replies from the AI is to have it reply in JSON and have it put it's personal message in a 'message' section and have it put the corrected message in a 'replace' section - this way the AI can include it's personal touch but you can ignore it and provide the user just the corrected reply.

Originally created by @ThatProgrammerr on GitHub (Jul 6, 2025). Original GitHub issue: https://github.com/nucleartux/ai-grammar/issues/6 I finally got it working by setting up Windows Ollama with a batch script that did the following, in-specific the `SET OLLAMA_ORIGINS="*"` wasn't clear it was also required for Windows. ``` SET OLLAMA_HOST=0.0.0.0:11434 SET OLLAMA_ORIGINS="*" ollama serve ``` Now I'm in a position where due to the both the position of my text box where I intend to use this and the fact the AI tends to include 'Here is the corrected version' for example before the replace - it feels quite janky. I assumed it would be closer to other spell-check extensions where it either adds an underline I can interact with or automatically updates my message once I stop typing. The flashing icon that seems to glitch in and out of existence with a click to replace isn't really what I expected. I also would have loved to use an external ollama server, which already has an issue for it, but I understand that's not a priority. A suggestion to get better replies from the AI is to have it reply in JSON and have it put it's personal message in a 'message' section and have it put the corrected message in a 'replace' section - this way the AI can include it's personal touch but you can ignore it and provide the user just the corrected reply.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ai-grammar#5
No description provided.