Support local models and enhance personal AI interface#607
Merged
Conversation
Self-hosters can now run Mu with local models (Ollama, llama.cpp, vLLM, LocalAI) by setting OPENAI_BASE_URL to their local endpoint. Uses the same OpenAI-compatible protocol as Atlas Cloud. Example with Ollama: OPENAI_BASE_URL=http://localhost:11434/v1 OPENAI_API_KEY=ollama Falls back to Atlas Cloud (api.atlascloud.ai) when OPENAI_BASE_URL is not set. OPENAI_API_KEY is accepted as an alias for ATLAS_API_KEY.
Three changes toward the AI-first vision:
1. Prompt is now the primary interface:
- Moved above the date header — first thing on screen
- Larger: 16px font, 14px padding, 14px border radius
- Placeholder: "What do you need?" (was "Search or look up...")
- Cards scroll below, prompt stays prominent
2. Agent gets user context:
- UserContextFunc callback wired in main.go
- Injects unread mail count and wallet balance into the synthesis
prompt so the AI knows the user's state
- Agent introduces itself as "Micro, a personal AI assistant"
instead of "a helpful assistant"
- Easily extensible — add market watchlist, reading history,
preferences as the data model grows
3. Framing:
- README: "Your personal AI" not "The everything app"
- "Ask it anything — it checks your mail, looks up prices,
searches the web, reads the news"
- Product is now positioned as an AI that knows you and can
do things for you, not a dashboard with AI bolted on
https://claude.ai/code/session_01GRGLA9yj7BpqKiyi6xFwnm
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.
No description provided.