Skip to content

🚀 CodeFox CLI - Alpha 0.3.5v Latest

Choose a tag to compare

@URLbug URLbug released this 04 Mar 19:23
· 90 commits to main since this release
a739596

🚀 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 Init class.
  • Simplified provider configuration and improved diagnostics during initialization.

Ollama Support

  • Added automatic ollama pull for 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 --command syntax.

  • Clarified command descriptions in main.py.

  • Updated the WIKI with documentation for:

    • embeddings
    • RAG configuration.

⚙️ Configuration

Prompt Configuration

  • Added a new strict_facts option for stricter factual control in model prompts.

Dependencies

  • Updated dependencies in uv.lock.

📦 Installation

pip install codefox

or

uv tool install codefox

Check the installed version:

codefox version

Requirements

  • 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