You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UUID v7 Integration: Implemented a compatibility shim via OllamaChat::UUIDV7.generate that utilizes native SecureRandom.uuid_v7 for
Ruby 3.3+ and a custom RFC 9562 compliant implementation for older versions.
Document Parsing & Embeddings:
Added EPUB support using pandoc.
Enhanced retrieval precision by prepending source identifiers to document
chunks in embed_source.
Structured Logging: Implemented a JSON formatter in OllamaChat::Logging
with structured context support, including separate capture of backtraces and
tool execution details.
Prompt Management Refactor:
Unified prompt API using a context: keyword argument across management
methods.
Restructured configuration to nest prompts under prompt:, suggest:,
and system: contexts.
Promoted /suggest to a top-level command and simplified the /system
command.
Conversation Grouping: Introduced group_uuid in OllamaChat::Message
to enable conversation grouping, including a repair_group_uuids method for
legacy data migration.
Tool Enhancements:
read_file: Added support for line numbering and range extraction;
now returns total line_count and file mtime.
patch_file: Refactored to support coordinate-based patching via an edits parameter, including overlap detection and freshness checks using mtime.
generate_password: Added base64url alphabet support and critical
security warnings regarding secret generation.
CLI & UX Improvements:
Refactored command help strings with emoji prefixes and a concise
multi-line format.
Added a welcome message upon startup displaying the application version,
connected server version, and URL.
Standardized prompt and persona creation with a source selection menu
([CLIPBOARD], [FILES], [EMPTY/MANUAL]).
Application Flow:
Implemented OllamaChatQuitError for graceful shutdowns via
exception-based control flow.
Added a [QUIT-APP] option to the session chooser after deletion.
Internal Logic & Stability:
Optimized ps_read using IO.copy_stream.
Centralized Ollama chat request logging through a new call_ollama_chat
wrapper.
Added error logging to all tool execution methods.
Fixed defensive handling for JSON.load results in model handling to
prevent nil propagation.
Removed implicit fallbacks to the last assistant response in copy_to_clipboard and paste_into_editor.