Skip to content

v0.0.3

Choose a tag to compare

@XanderStrike XanderStrike released this 31 Dec 05:39
· 20 commits to main since this release

Release Notes

Features

  • Added support for Ollama as an alternative AI backend, with dynamic client selection based on environment variables
  • Enhanced error handling with AI-suggested fixes in JSON format
  • Added color formatting to command output and prompt for better readability
  • Enhanced command description detail in AI prompts for more informative explanations
  • Added service and model announcement on startup
  • Added prompt for including command output in conversation context for better context awareness

Improvements

  • Enhanced command generation to use structured JSON response format
  • Improved JSON parsing error handling
  • Updated prompt system to enforce strict response formatting
  • Improved Ollama API response handling with content accumulation
  • Reorganized imports and removed unused code

Bug Fixes

  • Resolved type mismatch errors in command response handling
  • Prevented unintended exit after successful command execution
  • Fixed handling of Ollama streaming response parsing
  • Updated OllamaResponse struct to properly handle created_at as string
  • Corrected the addition of assistant's responses to message history

Technical Updates

  • Enhanced error logging for Ollama API interactions
  • Improved response handling and parsing mechanisms
  • Updated command generation workflow for better reliability