Rig v0.37.0 now available! #1766
gold-silver-copper
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
This is an absolutely MAJOR release, with a whole slew of awesome additions. Let's get started.
Rig Facade Crate
Rig now has a top level facade crate which reexports rig-core and all integration crates, gated by features. Previously, rig-core was the main crate that users would interact with, and they had to add integration crates manually. No longer is that the case! You can simply do
cargo add rigand it just works! Want to enable a feature? Just runcargo add rig --features="surrealdb"(replace surrealdb with the actual features you need). This should make DX much better, and it's also just plain nice. Awesome! The new rig facade crate should work as a simple drop in replacement for rig-core, so try it out!Repository structure
Parallel to the facade crate, the whole rig repo has had a complete makeover. Inspired by the structure of the
bevyproject, rig now stores ALL crates in a top levelcratesfolder- no more separate rig-integrations folder. Tests and examples have also been moved to the top level, where they will be more visible. Many AI agent specific configurations have been removed from the project, users of affected AI agents are encouraged to build their own configs.Memory Policies and Compaction
Rig now has experimental support for creating custom memory policies and conversation compaction. This is made possible by the new
rig-memorycrate, andmemoryfeature. This sets the groundwork for creating long running agents who can manage their own memory.Provider improvements
Openrouter now supports TTS and STT
Bedrock scheme mapping is improved
Ollama's think parameter now supports low, medium, and high modes, in addition to boolean true/false.
Copilot supports model listing
OpenAI PDF support has been improved
Gemini telemetry accuracy has been greatly improved
Breaking Changes
Chat::chatnow takes&mut Vec<Message>and appends the prompt, tool calls, tool results, and assistant response back into caller-owned history. Callers should not pre-push the user prompt before calling chat. See #1733.The OpenAI chat-completions UserContent enum has a new File variant, and OpenRouter file content now includes file_id. Exhaustive matches or struct literals may need updates. See #1732.
The root facade feature surface was cleaned up, including removal of the old 'all' feature. See #1764.
Final notes
Beyond all the changes mentioned above, as always there have been many smaller improvements and bug fixes. Huge thank you to everyone who has contributed. We build rig, rig builds us!
Full changelog: #1692
All reactions