Skip to content

v0.0.101

Choose a tag to compare

@flori flori released this 26 Jul 16:29
  • Introduced a clean subcommand to /conversation to remove tool content,
    images, and thinking from messages in place, including a confirmation prompt
    for the destructive operation.
  • Implemented OllamaChat::Utils::LogViewer and the bin/ollama_chat_log
    utility for real-time, colorized JSON log tailing with regex filtering.
  • Enhanced file patching integrity by replacing mtime and line_count checks
    with a CRC32 checksum to prevent stale context errors.
  • Updated read_file to conditionally return the checksum only when
    full-file line numbers are requested, optimizing token usage.
  • Refactored OllamaChat::Logging#log to use deep_transform for payload
    sanitization, handling circular references and non-serializable objects.
  • Standardized the tool: name variable across tool classes to ensure
    consistent audit trails.
  • Expanded logging coverage for file operations, grep, tests, RAG handling,
    session management, and clipboard operations.
  • Added estimate_tokens and count_messages helper methods to
    OllamaChat::Database::Models::Session.
  • Updated /conversation command to support the -c flag for save and added
    path validation for save and load subcommands.
  • Modified lib/ollama_chat/tools/patch_file.rb to validate that edits is an
    Array and handle checksum mismatches.
  • Split OllamaChat::FollowChat#eval_stats into a data extraction method
    stats_hash and a separate formatting method.