Rig 0.16.0 is now live - Rust MCP SDK support, reasoning support and more! #635
joshua-mo-143
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.
-
Rig 0.16.0 is now officially released on Crates.io!
Breaking changes
VectorSearchRequest
, which we will be using as a stable API for the future and building on for the purposes of ergonomics.ToolResultContent
is now serde-taggedAdditions
GROK_4
model constantOneOrMany
PromptResponse
type is now public. Useful if you need token usage info.Fixes
Migration
Client::from_url()
, you will now need to useClient::builder()
and add it in from there. Otherwise if you don't care about changing your inner HTTP client or changing the base URL, you can still useClient::new(<api_key_here>)
orClient::from_env()
to achieve the same result as you normally would.VectorStoreIndex
andVectorStoreIndexDyn
now take arig::vector_search::VectorSearchRequest
, instead of a query and max result size. This has been done to enable much more ergonomic requesting in the future. Please see any of thevector_search
examples for practical usage.mcp-core
integration is now officially deprecated because the official Rust MCP SDK is now supported as it has feature parity. You will need to ensure you have moved to thermcp
integration (rmcp
feature flag) by Rig 0.18.0 at the earliest.#[serde(tag = "type")]
. If you're storing the serialized Rig structs anywhere as JSON, you may need to account for this and write a script to backfill your stored JSON.Beta Was this translation helpful? Give feedback.
All reactions