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

latest releases: @langchain/neo4j@0.1.15, @langchain/together-ai@0.2.8
3 hours ago

Patch Changes

  • #11342 3b0e4c4 Thanks @thushanth-bengre-langchain! - feat(google): mark Google provider errors as retryable or not

    Builds on stampRetryable in @langchain/core so the retry middleware can tell a transient failure from a deterministic one. Timeouts, rate limits, and server errors are marked retryable; bad credentials, blocked prompts, invalid tools, and invalid input non-retryable. Errors that may succeed on a regeneration stay unmarked and retry as before.

    Also forwards a per-call maxRetries to the retry loop, so a surrounding retry loop such as modelRetryMiddleware can take over instead of the two multiplying against each other.

    The @langchain/core peer range moves from ^1.0.0 to workspace:^, since this release depends on stampRetryable.

Don't miss a new langchainjs release

NewReleases is sending notifications on new releases.