github charmbracelet/fantasy v0.12.2

9 hours ago

OpenRouter fix

In a recent release we introduced the ability to change the User-Agent string, as well as setting a default User-Agent for Fantasy.

Well... looks like OpenRouter has specific behavior for the OpenAI Go SDK that otherwise break, so need to keep the original SDK User-Agent for OpenRouter specifically so it works correctly.

We also changed the default User-Agent a bit to better follow the convention:

  • Previous: Charm Fantasy/v1.2.3
  • Now: Charm-Fantasy/v1.2.3 (https://charm.land/fantasy)

Changelog

Fixed

Docs

Other stuff


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 fantasy release

NewReleases is sending notifications on new releases.