Skip to content

@langchain/google@0.2.13

Choose a tag to compare

@github-actions github-actions released this 09 Nov 22:43
· 7 commits to main since this release
16092b9

Patch Changes

  • 9ec213b Thanks @afirstenberg! - Adds experimental support for the Google Interactions API on AI Studio and
    Google Cloud (Vertex).

    • Add InteractionsApiHandler (apiHandler: "interactions") supporting .invoke(), .stream(), and .streamEvents() across AI Studio (gai) and Vertex AI (gcp)
    • Add Interactions API converters for messages, tools, parameters, and streaming SSE events
    • Generate Interactions API TypeScript types from the OpenAPI specification (src/chat_models/api_types/interactions.ts)
    • Export GoogleChatApiHandler, GenerateContentApiHandler, InteractionsApiHandler, and Interactions converters
    • Supports backwards compatibility with the current API.
    • Parameters for the Integrations API are exposed, but no specific feature changes are included.
  • #12141 4585842 Thanks @hntrl! - Only route Google chat models through the LangSmith gateway when no credentials are passed. Explicit apiKey, authOptions, credentials, or googleAuthOptions now go straight to Google.