github charmbracelet/crush v0.13.0

14 hours ago

A smarter, stronger Crush

Hi everyone! 👋

This new release includes a significant refactor on the internals of Crush:

  • Crush is now much more resilient on the provider level and is now powered by a new library we've developed over the past few months.
  • System prompts, tool calls and other important pieces were also tweaked to generally improve Crush’s behavior.

As a result, Crush should now to perform better on the provider-model and system prompt levels for better speeds, lower token usage, and better output across the board.

Config update for OpenAI-compatible providers

If you have any custom providers that use an OpenAI-compatible API, we highgly recommend updating its type on the config from openai to openai-compat. With this, Crush will now behave better with these providers, with extra features that were previously unavailable.

{
  "$schema": "https://charm.land/crush.json",
  "providers": {
    "my-custom-provider": {
      "type": "openai-compat",
      // ...
    }
  }
}

Note

If you have a custom provider that is just a proxy or router through the actual OpenAI API, please keep the type as just openai.

Do not hesitate to reach out on our Discord servers if you have any feedback! ✨

Changelog

New!

Fixed

Docs

Other stuff


Verifying the artifacts

First, download the checksums.txt file, for example, with wget:

wget 'https://github.com/charmbracelet/crush/releases/download/v0.13.0/checksums.txt'

Then, verify it using cosign:

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' \
  --cert 'https://github.com/charmbracelet/crush/releases/download/v0.13.0/checksums.txt.pem' \
  --signature 'https://github.com/charmbracelet/crush/releases/download/v0.13.0/checksums.txt.sig' \
  ./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:

sha256sum --ignore-missing -c checksums.txt

Done! You artifacts are now verified!

The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on X, Discord, Slack, The Fediverse, Bluesky.

Don't miss a new crush release

NewReleases is sending notifications on new releases.