v0.51.2

charmbracelet/crushv0.51.2Mar 20, 2026by github-actions[bot]

AI Summary

This is a Friday patch release for Crush (v0.51.2) that fixes two important issues: GitHub Copilot tool calls that were broken when they had no arguments, and Ollama tool calls compatibility which required special handling compared to OpenAI and other OpenAI-compatible providers.

Key Highlights

  • Fixed GitHub Copilot tool calls that were broken when they had no arguments (e.g., listing files in project root)
  • Improved Ollama tool call handling for better compatibility with this OpenAI-compatible provider
  • Both fixes were made in the 'fantasy' module of the codebase

Full Release Notes

# Friday patch

Hello coders. We're bringing you a patch with a couple small but yet meaningful fixes.

## Copilot tool calls

GitHub Copilot tool calls were broken when they had no arguments. An example of a a tool that don't require arguments is listing files when in the project root. This has now been fixed.

## Ollama tool calls

In a similar manner, Ollama tools can differ a bit compared to OpenAI and other OpenAI-compatible providers. We improved how we handle those so tool calls for Ollama are now working!

Enjoy your weekend and keep crushing!
Charm 🌟 

## Changelog
### Fixed
* a2d45378c20e3747b7a0ad73b4f93cc0c2130ff0: fix(fantasy): fix copilot tool calls, fix ollama compatibility (#2444) (@andreynering)

---

<details>
<summary>Verifying the artifacts</summary>

First, download the [`checksums.txt` file](https://github.com/charmbracelet/crush/releases/download/v0.51.2/checksums.txt) and the [`checksums.txt.sigstore.json` file](https://github.com/charmbracelet/crush/releases/download/v0.51.2/checksums.txt.sigstore.json) files, for example, with `wget`:

```bash
wget 'https://github.com/charmbracelet/crush/releases/download/v0.51.2/checksums.txt'
wget 'https://github.com/charmbracelet/crush/releases/download/v0.51.2/checksums.txt.sigstore.json'
```

Then, verify it using [`cosign`](https://github.com/sigstore/cosign):

```bash
cosign verify-blob \
  --certificate-identity 'https://github.com/charmbracelet/meta/.github/workflows/goreleaser.yml@refs/heads/main' \
  --certificate-oidc-issuer 'https://token.actions.githubusercontent.com' \
  --bundle 'checksums.txt.sigstore.json' \
  ./checksums.txt
```

If the output is `Verified OK`, you can safely use it to verify the checksums of other artifacts you downloaded from the release using `sha256sum`:

```bash
sha256sum --ignore-missing -c checksums.txt
```

Done! You artifacts are now verified!

</details>

<a href="https://charm.land/"><img alt="The Charm logo" src="https://stuff.charm.sh/charm-banner-next.jpg" width="400"></a>

Thoughts? Questions? We love hearing from you. Feel free to reach out on [X](https://x.com/charmcli), [Discord](https://charm.land/discord), [Slack](https://charm.land/slack), [The Fediverse](https://mastodon.social/@charmcli), [Bluesky](https://bsky.app/profile/charm.land).