github langchain-ai/langchainjs @langchain/google@0.2.13

latest releases: @langchain/google-vertexai-web@2.3.6, @langchain/google-vertexai@2.3.6, @langchain/google-webauth@2.3.6...
one hour ago

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.

Don't miss a new langchainjs release

NewReleases is sending notifications on new releases.