aisdk 0.5.2

An open-source Rust library for building AI-powered applications, inspired by the Vercel AI SDK. It provides a robust, type-safe, and easy-to-use interface for interacting with various Large Language Models (LLMs).
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Google tool-specific metadata for extensions.

/// Metadata specific to Google provider tool functionality.
#[derive(Debug, Clone, Default)]
pub(crate) struct GoogleToolMetadata {
    /// The thought signature returned by Gemini 3 models.
    ///
    /// This must be preserved and sent back in subsequent turns
    /// for tool calls to work correctly.
    pub thought_signature: Option<String>,
}