🚀 CodeFox CLI - Alpha 0.3.5v Latest
🚀 Highlights
- Automatic Ollama model pulling - local Ollama models are now automatically downloaded using
ollama pull, removing the need for manual setup. - Markdown-based model I/O - prompts, model responses, and generated code are now processed and displayed in Markdown format, improving model accuracy and response consistency.
- Unified RAG embeddings - all providers now use a unified embedding backend via
fastembed, with improved index handling and expanded configuration options. - Improved code parsing - added a dedicated code parsing library and enhanced repository chunking/parsing logic for better context extraction.
✨ Improvements
Initialization & API Keys
- Improved API key handling and connection error reporting in the
Initclass. - Simplified provider configuration and improved diagnostics during initialization.
Ollama Support
- Added automatic
ollama pullfor local models. - Removed the requirement to provide an API token when using local Ollama models.
RAG System
- Improved index handling.
- Unified embedding models across all providers using
fastembed. - Added more fine-grained configuration options for RAG.
See the WIKI for detailed configuration instructions.
Code Analysis
-
Added a code parsing library.
-
Improved internal utilities for:
- code chunking
- repository parsing
- context extraction.
CLI / UX
- Improved CLI stability.
- Better error handling and user feedback.
🐛 Bug Fixes
Ollama / diff_only
Fixed a bug where setting diff_only: false caused a fatal error in the previous version.
📚 Documentation
-
Simplified CLI usage instructions in
README. -
Removed the redundant
--commandsyntax. -
Clarified command descriptions in
main.py. -
Updated the WIKI with documentation for:
- embeddings
- RAG configuration.
⚙️ Configuration
Prompt Configuration
- Added a new
strict_factsoption for stricter factual control in model prompts.
Dependencies
- Updated dependencies in
uv.lock.
📦 Installation
pip install codefoxor
uv tool install codefoxCheck the installed version:
codefox versionRequirements
- Python 3.11+
Supported providers:
- Gemini
- Ollama
- OpenRouter
Configuration guide is available in the WIKI:
https://github.com/URLbug/CodeFox-CLI/blob/main/WIKI.md