v1.4.0
Anthropic, Ollama, and GPT-4o
mods v1.4 adds support for Anthropic and Ollama, adds ChatGPT's gpt-4o
model to the generated configuration file, and many other improvements! 💫
Installing ’n’ Upgrading
To grab the latest Mods grab a package or binary attached to this release below, or use a package manager:
# macOS or Linux
brew install charmbracelet/tap/mods
# Windows (with Winget)
winget install mods
# Windows (with Scoop)
scoop bucket add charm https://github.com/charmbracelet/scoop-bucket.git
scoop install mods
# Arch Linux (btw)
yay -S mods
Debian/Ubuntu
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://repo.charm.sh/apt/gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/charm.gpg
echo "deb [signed-by=/etc/apt/keyrings/charm.gpg] https://repo.charm.sh/apt/ * *" | sudo tee /etc/apt/sources.list.d/charm.list
sudo apt update && sudo apt install mods
Fedora/RHEL
echo '[charm]
name=Charm
baseurl=https://repo.charm.sh/yum/
enabled=1
gpgcheck=1
gpgkey=https://repo.charm.sh/yum/gpg.key' | sudo tee /etc/yum.repos.d/charm.repo
sudo yum install mods
You can also just install it with go
:
go install github.com/charmbracelet/mods@latest
Changelog
New Features
- 59edaf7: feat: --list-roles (#281) (@caarlos0)
- bf71c2a: feat: --role shell completions (#282) (@caarlos0)
- 76688b2: feat: add support for OpenAI gpt-40 (#262) (@bradyjoslin)
- 0c63172: feat: allow --dirs config|cache (#280) (@caarlos0)
- c256fe5: feat: anthropic and ollama support (#256) (@caarlos0)
- 584d275: feat: update groq models (#258) (@jay-tau)
- 1de46d4: feat: update perplexity models (#260) (@bradyjoslin)
Bug fixes
- 39c30fc: fix(readme): fix inconsistent markdown headings (#268) (@in03)
- c6edf9b: fix: --delete-older-than is weird with interactive list (#277) (@caarlos0)
- a13684e: fix: --dirs help (@caarlos0)
- 6f730ff: fix: do not make api call when --list, --delete, etc (#279) (@caarlos0)
- 6582595: fix: filter out System role messages for Anthropic API requests (#273) (@cloudbridgeuy)
- e64d1d2: fix: gpt-4o max tokens (@caarlos0)
- c74e892: fix: lint issues (@caarlos0)
- 6657059: fix: update modernc (@caarlos0)
Dependency updates
- 9ac0968: feat(deps): update bubbletea, bubbles, lipgloss (#271) (@caarlos0)
- f67535f: feat(deps): update openai (#272) (@caarlos0)
Documentation updates
Other work
Verifying the artifacts
First, download the checksums.txt
file, for example, with wget
:
wget 'https://github.com/charmbracelet/mods/releases/download/v1.4.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/mods/releases/download/v1.4.0/checksums.txt.pem' \
--signature 'https://github.com/charmbracelet/mods/releases/download/v1.4.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!
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.