Skip to content

Releases: charmbracelet/fantasy

v0.3.2

19 Nov 11:46

Choose a tag to compare

Changelog

Fixed

Other stuff


The Charm logo

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

v0.3.1

13 Nov 19:38

Choose a tag to compare

Changelog

Other stuff


The Charm logo

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

v0.3.0

13 Nov 10:25

Choose a tag to compare

Structured Output

Fantasy now supports structured output.

You can now specify what the output of the model should be using a struct and fantasy will use different methods to enforce this based on the provider, for OpenAI & Google it uses JSON response (by default) and for others it uses a tool to do this behind the scene.

You can check the structured-output example for more.


The Charm logo

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

v0.2.1

12 Nov 14:03

Choose a tag to compare

Better OpenAI compat

This release makes further enhancements and fixes to OpenAI compatible providers.

Thanks @Amolith and @casidiablo for contributing!

Changelog

Fixed


The Charm logo

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

v0.2.0

07 Nov 19:42

Choose a tag to compare

Better error & retries

In this release we rethinked how we return errors to fix some bugs and allow them be more useful on the Crush side.

In the process, we also fixed an issue with retries running more time than it should, due to Fantasy having it's retry mechanism on top of the SDKs retry. We disabled the SDK retries and kept ours.

All this is an ongoing work, and you should expect more improvements in this area soon.

Changelog

Fixed

Other stuff


The Charm logo

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

v0.1.6

04 Nov 17:20

Choose a tag to compare

Small dep update

We were importing our own fork of Google's SDK for a fix, but this was addresses upstream, so we're now using the official repo again.

Changelog

Other stuff


The Charm logo

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

v0.1.5

31 Oct 15:58

Choose a tag to compare

Better Azure

Ensuring that OpenAI models via Azure have access to advanced features like reasoning.

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.

v0.1.4

28 Oct 19:31

Choose a tag to compare

Fix for llama.cpp

This release fixes a bug for llama.cpp that was causing a JSON Schema validation error for some tool configuration. This fixes llama.cpp provider on Crush.

Changelog

Other stuff


The Charm logo

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

v0.1.3

28 Oct 14:37
1eef3d0

Choose a tag to compare

Fixed multi-tool calls

Ensure that muitiple tool calls run in sequence instead of in parallel. This is important to ensure the right behavior.

Changelog

Fixed


The Charm logo

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

v0.1.2

28 Oct 07:47

Choose a tag to compare

Don't panic!

This is just a quick hotfix to fix a nil pointer error.

Changelog

Fixed


The Charm logo

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