Repository navigation
Off Grid v0.0.58
What's Changed
Features
- Tool calling support — Web search, calculator, date/time, and device info tools with automatic tool loop execution
- Configurable KV cache type — Choose between f16, q8_0, and q4_0 with accordion UI in model settings
- Cache type nudge — Suggests optimizing KV cache after first generation
- Clickable web search links — Tool result URLs now open in browser
- Expanded SmolVLM models — More vision model options available
- KV cache type in generation details — Shows current cache config per message
Bug Fixes
- Enforce llama.cpp parameter constraints — Properly enforce GPU/flash attention/KV cache compatibility on Android (prevents SIGSEGV and SIGABRT crashes)
- Fix tool calling bugs — Streaming, search results, and runaway loop prevention
- Gate tool calling on model capability — Only enable tools when model supports them
- Fix cache type nudge navigation — Use in-chat settings panel instead of cross-stack navigation
- Soften dark mode error color — Stop button uses muted dusty red (#C75050) instead of harsh bright red
- Replace vision emoji with icon — Use Feather eye icon instead of emoji in model picker
- Fix web search result layout — Prevent single-character-per-line rendering in tool detail container
- ChatInput UI polish — Smaller icons (32px), center-aligned send/stop button, removed icon glow borders
- Move CPU Threads & Batch Size to Performance section — Correctly categorized in settings modal
Refactoring
- Extract shared helpers to reduce duplication (buildCompletionParams, collectDeviceSection)
- Consolidate test mocks and reduce test duplication
- Extract tool loop and LLM tool generation into dedicated modules
Tests
- Comprehensive tests for tool calling, tool loop, LLM tool generation, message components
- Updated tests for new llama.cpp constraint behavior
- Coverage for tool registry, handlers, and ChatMessage tool rendering
Docs
- Add App Store download link to README
- Store badges side-by-side layout
Chore
- Debug logging for tool calling detection
- Address SonarCloud security hotspots and code smells
- Address Gemini review comments across multiple rounds
Full Changelog: v0.0.57...v0.0.58


