spec(M2): LLM Chat — Ollama-backed streaming chat with migration context #6
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Circuit-Forge/robin#6
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What M2 built
Robin's chat panel is now wired to a real local LLM via Ollama. Type a question and get a streaming response, character by character, with your migration context baked in.
How it works
/api/chat, streaming)System prompt shape
Robin tells the LLM: "You are Robin, a friendly Linux migration companion. The user migrated from {source_os} and is currently using {distro}. Help them with Linux questions. When concepts differ from their previous OS, explain the Linux equivalent clearly. Be concise, practical, and warm."
Error handling
If Ollama is not running, the chat panel shows a friendly error message instead of a spinner that never resolves.
Configuration
~/.config/robin/config.toml:ollama.base_url— defaulthttp://localhost:11434ollama.model— defaultllama3.2Limitations in M2
Questions for Xander
llama3.2the right default model for CachyOS users, or is there a better local option?Implementation: PR #3