Skip to content

v2.4 Stability, Polish & UX Fixes

Choose a tag to compare

@fhdmrddev-dotcom fhdmrddev-dotcom released this 30 Apr 03:33
· 12219 commits to master since this release

v2.4 Stability, Polish & UX Fixes

Shipped: 2026-04-30 | 8 days | 278 commits | 72 files changed

What's New

πŸ€– AI & Multi-Provider Reliability

  • Cross-provider tool calling β€” MODEL_CAPABILITIES registry routes models to native or structured tool calling mode; tool_parser.py provides deterministic JSON extraction for non-native models; 32+ tests
  • Anthropic native SDK β€” anthropic_service.py with prompt caching; removed erroneous 20% token reduction
  • PROMPT-01 fix β€” Generation mode now only activates on explicit file-creation verbs (create, generate, build, make); eliminates false-positive execute_code on Q&A queries
  • Multi-provider model routing β€” Full user control over main, sub-agent, title, and follow-up model roles; 404 fallback with fallback_model SSE event and UI toast

⚑ Context Window Management

  • Sub-agent keyword routing escalates generation tasks to capable model tier (32k ceiling)
  • Per-model info cards in the model selector with context size, output tokens, cost tier, and best-use label
  • tiktoken (cl100k_base) for accurate OpenAI token estimation
  • Settings sliders for context history depth and sub-agent output tokens

πŸ”§ Real-Time Agent Feedback

  • tool_preparing SSE event β€” emitted as soon as the tool name is known, eliminating 30–120s silence window during tool argument streaming
  • ElapsedTimer β€” live elapsed counter (250ms tick) for running tool calls
  • Step N counter β€” iteration_start SSE shows which agent loop iteration is active
  • Ingestion step badges on document status indicators

πŸ“„ Document Management

  • Version-aware delete dialog β€” choose "Delete this version" or "Delete all versions" with full chunk/storage cleanup
  • Root-folder documents visible in document list with clear root badge
  • Upload errors show specific reasons (duplicate, unsupported type, empty file, 50 MB size limit)

πŸ’¬ Chat UX

  • Thread delete confirmation dialog (no more accidental deletes)
  • No ghost content after thread delete + new chat
  • Folder selector when creating a new chat

βš™οΈ Settings & Navigation

  • Web search explicit on/off toggle in Settings (independent of API key)
  • Sidebar icon labels properly adjacent to icons; logo visible when sidebar collapsed
  • OpenRouter tool strategy dropdown (quality / native / xml)

πŸ“Š Library Health

  • Server-side pagination for all health dashboard tabs
  • Low confidence panel now explains query-document relevance, not document quality
  • Actionable empty states with guidance

Deferred to v2.5

  • STREAM-02: Tab-switch and F5 reconnect β€” Supabase Realtime INSERT timing unreliable; polling approach planned
  • SKILL-01/02: Smart skill dispatch (relevance-based filtering) β€” deferred to Skills Studio milestone

Known Issues

  • KI-001: In-flight LLM call runs to completion after user-initiated stop (GeneratorExit only fires at yield points)

Full changelog: .planning/milestones/v2.4-ROADMAP.md