# Changelog

## 2026-01-28 - v0.13.0

- Add new subcommands
    - `photo` - Generate photorealistic images
    - `short` - Provide a compact and focused answer
    - `say` - Convert text to speech using OpenAI's TTS model
    - `config` - Show currently applied settings
    - `query` - Query SQLite databases
    - `edit` - Edit prompt with your default editor
    - `commit` - Intelligently commit modified files based on current changes
- Add Google OCR feature powered by Gemini 3 Pro Preview
- Add Google Gemini image generation support
- Use prompt-based descriptive filenames for generated images
- Add configurable base URL support for all providers
- Add support for new models
    - GPT-5.1 models
    - GPT-5 Codex model
    - GPT Image 1.5 (new default for image generation)
    - Claude Opus 4.5
    - Gemini 3 preview models
    - Grok 2 Image
    - Perplexity and its Sonar models
    - Groq Qwen and DeepSeek
- Upgrade Claude default models to latest versions
- Show execution time in seconds instead of ms when > 10 seconds


## 2025-08-15 - v0.12.0

- Add new subcommands
    - `image` - Generate an image using GPT-5
    - `transcribe` - Transcribe text from an audio file using GPT-4o Transcribe
    - `rewrite` - Rewrite text with improved clarity and style
    - `jq` - Get help on using [jq](https://jqlang.org)
    - `svg` - Generate an SVG image from a text prompt
- Add support for new GPT-5 models
- Add support for latest xAI models
- Update default models
- `reply` command: Improve prompt
- `rename` command: Support renaming several files and fix timestamp handling


## 2025-06-02 - v0.11.0

- Add new subcommands
    - `fast` - Shortcut for `groq gemma2-9b-it`
    - `local` - Shortcut for `ollama llama3.2`
    - `value` - Return only the value/answer without explanations
    - `reply` - Generate a reply to a conversation passed via stdin
    - `docker` - Use Docker development as the prompt context
    - `git` - Use Git development as the prompt context
    - `nix` - Use Nix development as the prompt context
- Add support for new OpenAI models
- Use v4 as the default models for Claude
- Add support for Google's Gemini models
    and use Gemma 2 as the default `gemma` model


## 2025-02-18 - v0.10.0

- Add support for [DeepSeek](https://deepseek.com)
- Add support for [Cerebras](https://cerebras.ai)
- Add support for [xAI's Grok](https://x.ai/grok)
- Don't read stdin for commands which don't support it
- Don't move file to current directory when renaming in another directory
- Add subcommands for Typst (`ty`) and LilyPond (`ly`)
- Display used subcommand in status line
- Update Ollama default models
- Add `--json-schema` CLI flag
- `rename`: Always use a lowercase `t` for timestamp and improve prompt


## 2024-12-08 - v0.8.0

- New sub-command `ocr` to extract text from images
- New sub-command `rename` to rename files based on their content
- Sub-commands with a programming language as the prompt context
- New sub-command `changelog` to generate a changelog from git commits
- Always use the latest versions of Anthropic's 3.5 models
- Update default Llama versions


## 2024-07-21 - v0.7.0

- Flag `--json` to activate JSON output mode
- Flag `--raw` to print the raw LLM response without any metadata
- More aliases for Anthropic, use new versions as default models
- CLI output shows resolved model id instead of the used alias
- More aliases for OpenAI models


## 2024-04-30 - v0.6.0

- Support for all Groq and Ollama models
- Groq Llama3 is the new default model
- List aliases in Ollama help text


## 2024-04-14 - v0.5.0

- Support adding text to the prompt via stdin
- Support local Ollama server
- Examples to help output


## 2024-04-13 - v0.4.0

- Support for Anthropic's Claude models
- Support running several models at once with cai all
- Syntax highlight the output as markdown with
    [bat](https://github.com/sharkdp/bat)


## 2024-03-31 - v0.3.0

- Support for sub-commands to specify the API provider
- Set up proper CLI args handling powered by [clap.rs](https://clap.rs/)


## 2024-03-29 - 0.2.0

- Try to load API keys first from `secrets.yaml` and then from env variables


## 2024-03-28 - 0.1.0

* Initial release
