← Back to PRs

#16032: Local first

by bczaicki open 2026-02-14 06:00 View on GitHub →
docs scripts commands agents stale size: XL
<!-- greptile_comment --> <h2>Greptile Overview</h2> <h3>Greptile Summary</h3> This PR transforms OpenClaw into a local-first fork (`openclaw-local`) that defaults to Ollama for zero-setup local AI inference. The changes preserve all cloud provider functionality while making local operation the default path. **Key changes:** - Default provider switched from Anthropic → Ollama (`llama3.3`) - Onboarding wizard reordered to present local/Ollama first - Ollama provider auto-enabled without requiring API keys - Added native thinking support via Ollama's `think` API with incremental streaming events (`thinking_start`, `thinking_delta`, `thinking_end`, `text_start`, `text_delta`, `text_end`) - New setup script and example config for streamlined local deployment - Comprehensive test coverage for new streaming behavior - Updated documentation with local-first focus, including architecture guide and model recommendations - Simplified CI workflow (removed heavy platform-specific jobs) - Added open source scaffolding (CoC, PR template, CONTRIBUTING guide) **Implementation quality:** - Streaming implementation properly handles thinking/text block transitions with correct index management - Tests verify both thinking-enabled and thinking-disabled modes - Error handling preserved for Ollama API failures - Backward compatible — all cloud providers still functional <h3>Confidence Score: 5/5</h3> - This PR is safe to merge with minimal risk - The implementation is well-tested with comprehensive coverage of the new thinking/streaming features. The changes are primarily configuration defaults and new features rather than risky refactors. Ollama integration has proper error handling, and all existing cloud provider functionality is preserved. The only minor concerns are style-related (curl piping patterns in docs), which don't affect runtime safety. - No files require special attention — the implementation is solid with good test coverage <sub>Last reviewed commit: ae5f5b9</sub> <!-- greptile_other_comments_section --> <sub>(2/5) Greptile learns from your feedback when you react with thumbs up/down!</sub> <!-- /greptile_comment -->

Most Similar PRs