Skip to content

v0.0.88

Choose a tag to compare

@flori flori released this 03 Jun 10:45
  • Implemented a transition callback system for switches via the
    PerformCallbacks module, enabling triggers on state changes for
    OllamaChat::Switches::Switch and OllamaChat::Switches::DatabaseSwitch.
  • Added conditional inclusion of runtime_info in the system prompt based on
    the @chat.runtime_info.on? state.
  • Automated system prompt resets when toggling runtime information via new
    switch callbacks.
  • Refactored file handling in lib/ollama_chat/input_content.rb to include a
    skip_blank parameter, now utilized by summarize, embed, and import
    commands.
  • Simplified directory exclusion logic in analyze_directory.rb using
    string-based pattern matching with child.basename.fnmatch?.
  • Refactored embed and embed_source in lib/ollama_chat/source_fetching.rb
    using guard clauses and updated the corresponding prompt in
    default_config.yml. You might need to reset the prompt for it to continue
    working.
  • Updated documentation for the suffix parameter in the directory_structure
    tool to clarify file extension filtering.
  • Fixed control flow within the summary writing loop.